-
-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
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
pip-sync ignores options in requirements.txt #638
Comments
Thanks for the issue. We will welcome any PR that can fix this problem that you are having, in the pure open-source fashion :-) |
Hey, this looks interesting in adding one handy feature of pip into pip-tools. How can we go further with this? I think #674 is a good start. |
There's also my earlier PR #464 which addresses this same issue, I think. |
This adds support in pip-sync for --no-index -i, --index-url <url> --extra-index-url <url> -f, --find-links <url> --process-dependency-links --no-binary <format_control> --only-binary <format_control> --pre --trusted-host <hostname> in the input requirements.txt files. Closes jazzband#637 Closes jazzband#638
I've prepared a pull request (#824), which adds support of |
Same issue as #367, just re-opening because it seems discussion there isn't getting noticed.
Options like
--index-url
and--extra-index-url
are honored when passed explicitly topip-sync
, but ignored when they're included inrequirements.txt
. So something like this:will compile successfully (via
pip-compile requirements.in
) to:but then
pip-sync requirements.txt
will throwCould not find a version that satisfies the requirement private-package==1.0.0
.This can obviously be worked around with
pip-sync --extra-index-url https://my.private.index/ requirements.txt
, butpip-sync
should be able to recognize the option automatically.The text was updated successfully, but these errors were encountered: