how to temp to switch the repo url when using pdm #2406
-
I am using pdm 2.10.1 to manage the python project, now I want to change the download repo url to official when download some new packages. is it possible to specify the download url? what I am doing is add configuration in the pyproject.toml file like this:
this works. But I found a issue that the download seems did not use the local proxy. it always use the extra source url. Because when I add new packages the local proxy nexus did not download the not exists package. when I remove the config the nexus download works. so what is the correct way to switch to the official repo when downlaod some new packages? becuase the china mainlan mirror sync the package may take some while. BTW, I have already read the other similiar issue and tried, and facing the issue. is it possible that when download from mirror failed, then try the extra repo url? this is how I configure the source in
and this is the pdm config look like:
I am using the macOS 13.4. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Can you show the full content of all indexes being used, including |
Beta Was this translation helpful? Give feedback.
try this: