bored-soccer-37961
10/26/2023, 4:37 PM--use-pip-config
flag which was added in PEX 2.1.147 to get around issues related to a constantly changing AWS CodeArtifact auth token and caching.
I'm not familiar with the code, but if it's not possible, it looks like it may be fairly straight forward to expose this option as a config in either PythonSetup
or PythonRepos
and pull it into ResolvePexConfig
?
https://github.com/pantsbuild/pants/blob/130b13e35f253e333233f05b76e6b68e9d930e97/src/python/pants/backend/python/util_rules/pex_requirements.py#L338happy-kitchen-89482
10/26/2023, 5:31 PMhappy-kitchen-89482
10/26/2023, 5:34 PMPexSubsystem
?bored-soccer-37961
10/27/2023, 4:13 PMPythonRepos
? I don't know how pex handles the flag under the hood but if you are using pip config, I would imagine that the pip config would override any values the user would provide for [python-repos].find_links
and [python-repos].indexes