Is there a way to pass the `PIP_EXTRA_INDEX_URL` a...
# plugins
p
Is there a way to pass the
PIP_EXTRA_INDEX_URL
args when installing plugin deps in pants.toml’s
[GLOBAL].plugins
section? We have a package in our Artifactory that Pants can’t install since it doesn’t know where the package is.
h
Have you looked at the
python-repos
subsystem? That is how you configure custom package repos for general use, I'm AFK and not sure if it is consulted during plugin resolution though.
👀 1
p
Looks like
python-repos
doesn’t apply to plugin resolution, we already had this in
pants.toml
Copy code
[python-repos]
indexes.add = ["%(env.PIP_EXTRA_INDEX_URL)s"]
The issue must be something else. For the tip though!
h
Dammit, that seems like a bug in plugin resolution then!