fast-megabyte-33579
03/15/2016, 2:40 PMfast-megabyte-33579
03/15/2016, 2:40 PMfast-megabyte-33579
03/15/2016, 2:40 PMfast-megabyte-33579
03/15/2016, 2:40 PMfast-megabyte-33579
03/15/2016, 2:43 PMfast-megabyte-33579
03/15/2016, 2:43 PMfast-megabyte-33579
03/15/2016, 2:46 PMrealm
so Iām guessing thatās correct nowlimited-country-20626
03/15/2016, 2:47 PMjolly-chef-92794
03/15/2016, 3:22 PMprovided_dependencies
jolly-chef-92794
03/15/2016, 3:22 PMself.context.targets()
jolly-chef-92794
03/15/2016, 3:23 PMjolly-chef-92794
03/15/2016, 3:24 PMjolly-chef-92794
03/15/2016, 3:25 PMwith_provided=...
or scope=ā¦
kwarg to targets()
, or if I should wrap targets šjolly-chef-92794
03/15/2016, 3:26 PMruntime
or codegen
or test
maybe in the futurefast-megabyte-33579
03/15/2016, 3:36 PMfast-megabyte-33579
03/15/2016, 3:36 PMpassword=
in my <credentials>
block when it should have been passwd
fast-megabyte-33579
03/15/2016, 3:37 PMfast-megabyte-33579
03/15/2016, 4:11 PMfast-megabyte-33579
03/15/2016, 4:11 PMlimited-country-20626
03/15/2016, 4:12 PMbored-art-40741
03/15/2016, 4:17 PMjolly-chef-92794
03/15/2016, 5:24 PMprovided_dependencies
parameter. Iām beginning to think it may be preferable to use syntax that looks more like:
target(
scoped_dependencies=[
scoped(āprovidedā, āpath/to/target:specā),
scoped(āprovidedā, āpath/to/target:specā),
scoped(āprovidedā, āpath/to/target:specā),
],
)
Which could also support things like āruntimeā dependencies without being ad-hoc.
I donāt want to add slightly different versions of all existing build graph-related methods, (eg, closure_with_provided), and I donāt want to dramatically upheave the build graph API by adding kwargs like with_provided=True
to all the method parameters.
I think I will instead inject the scoped dependencies as normal dependencies, but filter them after the fact as needed in the tasks that care about them.jolly-chef-92794
03/15/2016, 5:35 PMbrainy-midnight-63014
03/15/2016, 5:50 PMbrainy-midnight-63014
03/15/2016, 5:51 PM/usr/lib/python2.7/site-packages
and /usr/lib64/python2.7/site-packages
from the search pathsbrainy-midnight-63014
03/15/2016, 5:51 PM/usr/lib/python2.7/site-packages
to sys.path
but not /usr/lib64/python2.7/site-packages
rough-minister-58256
03/15/2016, 6:03 PMpex
the tool, thereās this option:rough-minister-58256
03/15/2016, 6:03 PM--inherit-path Inherit the contents of sys.path (including site-
packages) running the pex. [Default: False]
brainy-midnight-63014
03/15/2016, 6:07 PM--inherit-path
but it didn't change anything šbrainy-midnight-63014
03/15/2016, 6:08 PM