damp-evening-18623
03/05/2018, 9:21 PMpip install tensorflow, that just works.happy-kitchen-89482
03/05/2018, 9:23 PMrequirements.txt wrapped by a BUILD file somewhere?damp-evening-18623
03/05/2018, 9:23 PMhappy-kitchen-89482
03/05/2018, 9:24 PMrequirements.txt contain wrt tensorflow?damp-evening-18623
03/05/2018, 9:24 PM> cat 3rdparty/python/deeplearning/requirements.txt
# [...]
tensorflow
> cat 3rdparty/python/deeplearning/BUILD
python_requirements('requirements.txt')damp-evening-18623
03/05/2018, 9:25 PMrequirements.txt has other packages, are those of interest?happy-kitchen-89482
03/05/2018, 9:25 PMhappy-kitchen-89482
03/05/2018, 9:25 PMhappy-kitchen-89482
03/05/2018, 9:26 PM3rdparty/python/deeplearning:tensorflow ?damp-evening-18623
03/05/2018, 9:26 PMdamp-evening-18623
03/05/2018, 9:26 PMhappy-kitchen-89482
03/05/2018, 9:26 PMhappy-kitchen-89482
03/05/2018, 9:35 PMdamp-evening-18623
03/05/2018, 9:36 PMhappy-kitchen-89482
03/05/2018, 9:36 PMhappy-kitchen-89482
03/05/2018, 9:36 PMpython-setup or python-repos ?damp-evening-18623
03/05/2018, 9:37 PM> cat pants.ini
[GLOBAL]
pants_version: 1.4.0rc2damp-evening-18623
03/05/2018, 9:38 PMdamp-evening-18623
03/05/2018, 9:38 PMdamp-evening-18623
03/05/2018, 9:38 PMsrc/, and by me it's definitely not. Maybe that's the issue?happy-kitchen-89482
03/05/2018, 9:49 PMpants.inihappy-kitchen-89482
03/05/2018, 9:49 PMsrc/happy-kitchen-89482
03/05/2018, 9:49 PMhappy-kitchen-89482
03/05/2018, 9:50 PMsrc/python, src/java etc., pants can infer from the naming convention that those are package roots.happy-kitchen-89482
03/05/2018, 9:50 PMpants.inihappy-kitchen-89482
03/05/2018, 9:50 PMhappy-kitchen-89482
03/05/2018, 9:51 PMpython_requirements('requirements.txt') in your BUILD file with python_requirements()damp-evening-18623
03/05/2018, 9:54 PMpants.ini source root? In the docs I saw it says to check ./pants help-advanced source which I did, and I guess I should change this: --source-source-root-patterns=<list> (--source-source-root-patterns=<list>) ..., --source-source-root-patterns="[<list>, <list>, ...]", --source-source-root-patterns="+[<list>, <list>, ...]" (default: ['src/*','src/main/*'], but I'm not sure in what format it should go into the pants.ini file. Is there a README on that?damp-evening-18623
03/05/2018, 9:55 PMdamp-evening-18623
03/05/2018, 9:57 PMdamp-evening-18623
03/05/2018, 9:59 PM> cat pants.ini
[GLOBAL]
pants_version: 1.4.0rc2
python_source_paths: ['.']
> ./pants binary mybinary
ERROR] Invalid option 'python_source_paths' under [GLOBAL] in /repo/pants.ini
Exception caught: (<class 'pants.option.config.ConfigValidationError'>)
Exception message: Invalid config entries detected. See log for details on which entries to update or remove.
(Specify --no-verify-config to disable this check.)happy-kitchen-89482
03/05/2018, 10:00 PM[source] in pants.inihappy-kitchen-89482
03/05/2018, 10:00 PM[source]
source_root_patterns=...happy-kitchen-89482
03/05/2018, 10:00 PMsource is the “scope” of the option, and source_root_patterns is its name.happy-kitchen-89482
03/05/2018, 10:01 PM--source-source-root-patterns.happy-kitchen-89482
03/05/2018, 10:01 PMdamp-evening-18623
03/05/2018, 10:02 PMdamp-evening-18623
03/05/2018, 10:03 PMtensorflow problem still exists.damp-evening-18623
03/05/2018, 10:04 PMdamp-evening-18623
03/05/2018, 10:05 PMmanylinux wheel which pip picked up on, but maybe I need to feed some hints to pantsdamp-evening-18623
03/05/2018, 10:07 PMhappy-kitchen-89482
03/05/2018, 10:28 PMhappy-kitchen-89482
03/05/2018, 10:28 PMdamp-evening-18623
03/06/2018, 10:25 AMhappy-kitchen-89482
03/08/2018, 10:37 PM