Skip to content
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-compile ignores deps with --pre in the input #818

Closed
blueyed opened this issue May 13, 2019 · 3 comments
Closed

pip-compile ignores deps with --pre in the input #818

blueyed opened this issue May 13, 2019 · 3 comments
Labels
bug Something is not working

Comments

@blueyed
Copy link
Contributor

blueyed commented May 13, 2019

Using --pre in a requirements line results in the dependency to be ignored:

% echo '--pre channels' | pip-compile -q - -o -
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --output-file=- -
#
--index-url http://localhost:3141/root/pypi/+simple/

(Noticed this when coming up with #817)
pip-compile, version 3.6.2.dev2+ga3ac5ca

@blueyed blueyed added the bug Something is not working label May 13, 2019
@atugushev
Copy link
Member

atugushev commented May 16, 2019

@blueyed

Do we really need --pre options in compiled requirements.txt? Since a package's pinned with a prerelease version it would be installed on pip-sync anyways.

BTW, I've noticed that --pre doesn't work in requirements.in at all. See #819.

@blueyed
Copy link
Contributor Author

blueyed commented May 16, 2019

@atugushev
It is not needed, but I think it is a bug.
#819 is basically a duplicate of this one here.. :)

@blueyed
Copy link
Contributor Author

blueyed commented May 16, 2019

But since #819 has more details, I'm closing this one here.

@blueyed blueyed closed this as completed May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

2 participants