[Python-ideas] Support 1.x notation in version specifiers

Andrew Barnert abarnert at yahoo.com
Tue May 5 11:56:34 CEST 2015


On May 2, 2015, at 00:48, anatoly techtonik <techtonik at gmail.com> wrote:
> 
> pip team said they won't support setting limit for major version
> of package being installed in the way below until it is supported
> by PEP 440.

I think that's misrepresenting them. They explained why it isn't needed, and threw in an "anyway, it's not up to us"; they didn't say "sounds like a good idea, but you have to fix the PEP first".

Also, if you can't use pip 6.0 or later to take advantage of the already-working syntax that they recommended you use, how would you be able to use your new syntax even if it did get added?

>     pip install patch==1.x
> 
> The current way ==1.* conflicts with system shell expansion
> and the other way is not known / not intuitive.
> 
> https://github.com/pypa/pip/issues/2737#issuecomment-97621684
> -- 
> anatoly t.
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150505/9cb5b64d/attachment.html>


More information about the Python-ideas mailing list