-
Notifications
You must be signed in to change notification settings - Fork 3.1k
'pip install' without '--pre' option should not install pre-release versions if possible #1545
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
Comments
I'm going to say that this is going to be wontfix. The problem is this is going to be a special case for one particular time, however lots of other times it won't make any sense. Because of that IMO this should be a wonfix. |
I don't think that it is a special case. But, If Python 3.5b1 is released, "Python>=3.4rc1" installs 3.5b1 and then you will be in trouble. |
Do you mean to use an example of the enum package? It's already at a stable 0.4.4 |
No, of course I know Python isn't a module, but I can not think of a better example module. |
Dies pip install prerelease versions by default "latest"? That seems really dangerous. |
It only installs prerelease versions if you asked for >= (a prerelease version). >= (a normal version) will do what was expected. |
Currently,
pip install "logya>=2.1beta1"
installs logya-3.0beta1 instead of logya-2.3.I think
pip install
without--pre
option should not install pre-release versions if possible.$ pip install "logya>=3.0beta0" # installs logya-3.0beta1 and It's OK because logya-3.0 is not released yet.
$ pip uninstall logya
$ pip install "logya>=2.1" # installs logya-2.3 and It's OK.
$ pip uninstall logya
$ pip install "logya>=2.1.beta1" # installs logya-3.0beta1 instead of logya-2.3
OS: Ubuntu 12.04 (64-bit)
python: 2.7.6
setuptools: 2.1.2
pip: HEAD of develop branch
The text was updated successfully, but these errors were encountered: