pex-tool / pex

A tool for generating .pex (Python EXecutable) files, lock files and venvs.
https://docs.pex-tool.org/
Apache License 2.0
2.83k stars 266 forks source link

[WIP] add `--keyring-provider` flag #2592

Open tdyas opened 1 week ago

tdyas commented 1 week ago

Add a --keyring-provider flag to allow Pex callers to configure Pip to use a keyring provider without the need to loosen the Pip isolated mode entirely as would be done if --use-pip-config were passed.

jsirois commented 1 week ago

The "./dtox.sh -e py38-pip22_3_1-integration --shard 2/2" shard failure is bitrot from 11/11 addressed here: https://github.com/pex-tool/pex/pull/2595

tdyas commented 1 week ago

The "./dtox.sh -e py38-pip22_3_1-integration --shard 2/2" shard failure is bitrot from 11/11 addressed here: #2595

With dtox.sh, my unit test appears to pass. I'll leave this PR in WIP state though while I work on the Pants-side of the ultimate change.