|
I'd like to be able to test projects with an alternative Python index (https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/). It seems to me that I would need a dedicated lock file and I see the However, I didn't find how to lock with an alternative Python index just for one lock file. (Since I don't want to add https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/ for the main lockfile.) |
Answered by
frostming
Oct 13, 2025
Replies: 1 comment 2 replies
|
By default, the lockfile is not bound to the index. This is to allow users the flexibility to choose their Python index during installation. Or, record index info into lockfile by: |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can configure
[[tool.pdm.source]]in that way and generate lockfile with-S static_urls, and you can then remove the source config afterwards. Sounds awkward but it works.