wonderful-iron-54019
04/09/2020, 3:10 PMpants test
my [python-repos] indexes;
settings as it cant seem to find a privately published dependency i cannot find anything related to this in the release notes. Any advice?witty-crayon-22786
04/09/2020, 3:22 PMwitty-crayon-22786
04/09/2020, 3:23 PMwitty-crayon-22786
04/09/2020, 3:23 PMwonderful-iron-54019
04/09/2020, 3:34 PMwonderful-iron-54019
04/09/2020, 3:46 PMwitty-crayon-22786
04/09/2020, 4:06 PMwitty-crayon-22786
04/09/2020, 4:07 PMwonderful-iron-54019
04/09/2020, 4:09 PMhundreds-father-404
04/09/2020, 4:11 PMpip install pex
(I use the tool pipx
for this)
2. pex --index=my_custom_url req1==1.84 req2>20.1
wonderful-iron-54019
04/09/2020, 4:11 PMwonderful-iron-54019
04/09/2020, 4:15 PMwonderful-iron-54019
04/09/2020, 4:16 PMhundreds-father-404
04/09/2020, 4:18 PMinstall thanos
, it will read in the metadata from thanos
to install all transitive dependencies. This might mean that `thanos`’s metadata is off
But, okay, good, glad the index is working with Pex. Likely this is a Pants issue, then. I’ll dig right now.wonderful-iron-54019
04/09/2020, 4:23 PMwonderful-iron-54019
04/09/2020, 4:25 PMself._<http://log.info|log.info>(python_repos_subsystem.indexes)
in line 178 of
~/.cache/pants/setup/bootstrap-Darwin-x86_64/1.27.0.dev2_py37/lib/python3.7/site-packages/pants/python/pex_build_<http://util.py|util.py>
but i don't see that output anywherehundreds-father-404
04/09/2020, 4:26 PMpants.backend.python
in backend_packages2
and you have --v2
enabled, which became the default in 1.26.0.dev1)
--python-repo-indexes
isn’t respected with the V2 implementation yet due to an oversight, but I’m putting up a fix today to wire it up.
For now, the solution would be to remove pants.backend.python
from backend_packages2
until we come out with 1.27.0.dev3 tomorrow to fix this.wonderful-iron-54019
04/09/2020, 4:26 PMwonderful-iron-54019
04/09/2020, 4:27 PMwonderful-iron-54019
04/09/2020, 4:27 PMblack
hundreds-father-404
04/09/2020, 4:28 PMpants.backend.python
enabled at the same timewonderful-iron-54019
04/09/2020, 4:28 PMhundreds-father-404
04/09/2020, 4:28 PMtest
, run
, etchundreds-father-404
04/09/2020, 4:29 PM--v2
because you’ll need it for ./pants fmt
and ./pants lint
to know that it should run Black, but for now remove pants.backend.python
from your config filewonderful-iron-54019
04/09/2020, 4:29 PMwonderful-iron-54019
04/09/2020, 4:30 PMhundreds-father-404
04/09/2020, 4:33 PM