On Sat, May 02, 2015 at 09:48:42AM +0200, anatoly techtonik email@example.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.
pip install patch==1.x
This syntax (1.x) is even less intuitive for me.
The current way ==1.* conflicts with system shell expansion
Other comparison operators (< and >) conflict with shell redirection. And nobody cares because one can always quote shell metacharacters.
pip install patch==1.\* pip install patch=='1.*' pip install 'patch==1.*' pip install 'patch>=1,<2'
and the other way is not known / not intuitive.
Oleg Broytman http://phdru.name/ firstname.lastname@example.org Programmers don't die, they just GOSUB without RETURN.