Skip to content

Add "don't care" syntax for versions. #3022

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

Closed
skorokithakis opened this issue Aug 11, 2015 · 3 comments
Closed

Add "don't care" syntax for versions. #3022

skorokithakis opened this issue Aug 11, 2015 · 3 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@skorokithakis
Copy link
Contributor

Would it be possible to add something like package==1.9.X as an alias for package>=1.9.0,<1.9.99? It would make requirements files much easier to write and much clearer.

@xavfernandez
Copy link
Member

I think what you should have a look to https://www.python.org/dev/peps/pep-0440/#version-specifiers
You will need at least pip >= 6 and setuptool >= 8 to be able to use them.
This could be package==1.9.*

@skorokithakis
Copy link
Contributor Author

That's exactly what I want. Is this in the latest pip?

@skorokithakis
Copy link
Contributor Author

It is, thanks!

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

2 participants