acceptable-guitar-79854
09/13/2020, 12:25 PMhundreds-father-404
09/13/2020, 4:28 PM[subprocess-environment]
acceptable-guitar-79854
09/13/2020, 4:38 PM[subprocess-environment]
env_vars = ['LANG', 'LC_ALL', 'http_proxy', 'https_proxy']
hundreds-father-404
09/13/2020, 4:56 PM--dest
issue. That’s a Pip flag, not a Pex flag, so he’s seeing why it’s being set to a tmpdir and how to wire things up
Benjy or I can take a look tomorrow into what’s going on with internal packages.
One thing to double check. You mentioned “that command works if not run through pants.“. Is that running via Pip directly? Could you please try running via Pex?
You can install pex a couple ways. Personally, I like pipx install pex
, but pip install pex
works too. Then, run something like pex --repo http://... req1 req2 req3
This will help us to isolate if the issue is with Pex and the python-repos string, or if it’s with Pants and the proxy.acceptable-guitar-79854
09/13/2020, 5:02 PMacceptable-guitar-79854
09/14/2020, 5:35 PMpex --index=<my-artifactory> <internal-pkg>
works: it opens an interpreter with the package in it (taken from /tmp/...)acceptable-guitar-79854
10/09/2020, 9:00 PMhundreds-father-404
10/09/2020, 9:01 PMacceptable-guitar-79854
10/09/2020, 9:02 PM