I had wanted some confirmation about a interaction...
# general
n
I had wanted some confirmation about a interaction between lockfiles and
PANTS_PYTHON_REPOS_INDEXES
or the
python-repos.index
setting. I assume that custom indexes have to be set during the
pants generate-lockfiles
step to be used. If a custom index is set by
PANTS_PYTHON_REPOS_INDEXES
env var or a
pants.ci.toml
only during the
pants package
step, it will not be used for retrieving the locked dependencies. Is that a correct understanding?
1
r
Hey I do set-up extra index during lockfile generation. I do think that’s how it’s supposed to work. But again I would leave it to some core maintainers to answer it.
h
That is correct - the lockfile generator needs to see the custom indexes
n
Thank you both for the confirmation!