[Zope3-dev] Re: A thought on backward compatibility and minimum versions

Philipp von Weitershausen philipp at weitershausen.de
Thu May 31 15:40:16 EDT 2007


Philipp von Weitershausen wrote:
> Jim Fulton wrote:
>> Combined with the fact that that great majority of packages don't 
>> change very much after they have become stable, I think most package 
>> dependencies could be expressed very simply if there was a simple 
>> syntax to specify *just* the major version.  In the context of 
>> setuptools, I think "*" could be used, as has been suggested, but 
>> without leading =s.  So, to specify foo version 2, I think the 
>> following syntax would be very reasonable:
>>
>>   foo 2*
> 
> Why can't this be foo >2 ?

Nevermind, I shot too fast. I realize that "foo 2*" *only* wants foo 2.x 
and not 3.x... So, in my suggested spelling, I would write it as

   foo 2.>=0

I wouldn't mind shorting that to

   foo 2.*

though


-- 
http://worldcookery.com -- Professional Zope documentation and training


More information about the Zope3-dev mailing list