We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--index-url
--extra-index-url
pip install -r requirement.lock
Here are a open issue for pypi --extra-index-url ignored if before --index-url in requirements.txt show why order of extra-index-url and index-url matters now.
extra-index-url
index-url
[[tool.rye.sources]] name = "pypi" url = "https://mirrors.ustc.edu.cn/pypi/web/simple"
will cause requirement.lock
--extra-index-url https://mirrors.ustc.edu.cn/pypi/web/simple --index-url https://pypi.org/pypi
and a temporay solution is declare default on the top of toml
[[tool.rye.sources]] name = "default" url = "https://pypi.org/pypi" [[tool.rye.sources]] name = "pypi" url = "https://mirrors.ustc.edu.cn/pypi/web/simple"
--index-url https://pypi.org/pypi --extra-index-url https://mirrors.ustc.edu.cn/pypi/web/simple
For compatiable should always put --index-url line before --extra-index-url in generated requirement.lock and requirement-dev.lock
requirement.lock
requirement-dev.lock
--index-url line after --extra-index-url line if not declare top default source override
default
0.32.0
not necessary
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to Reproduce
Here are a open issue for pypi --extra-index-url ignored if before --index-url in requirements.txt show why order of
extra-index-url
andindex-url
matters now.will cause requirement.lock
and a temporay solution is declare default on the top of toml
will cause requirement.lock
Expected Result
For compatiable should always put
--index-url
line before--extra-index-url
in generatedrequirement.lock
andrequirement-dev.lock
Actual Result
--index-url
line after--extra-index-url
line if not declare topdefault
source overrideVersion Info
0.32.0
Stacktrace
not necessary
The text was updated successfully, but these errors were encountered: