Stephan Richter wrote:
On Friday 09 November 2007, Philipp von Weitershausen wrote:
--- zope.app.securitypolicy/trunk/setup.py 2007-11-09 13:08:59 UTC
(rev 81634) +++ zope.app.securitypolicy/trunk/setup.py 2007-11-09
14:52:52 UTC (rev 81635) @@ -58,7 +58,7 @@
+ 'zope.i18nmessageid >= 3.4.2',
Please let's stop putting versions into setup.py. This is a really bad idea,
since it will make it very hard to work with in different project with
different version requirements.
Only the '==' qualifier in setup.py is a bad idea because it locks you
down. Other qualifiers are actually quite necessary sometimes.
In this case, for instance, we *need* the >= qualifier because
zope.app.securitypolicy won't work with just any version of
zope.i18nmessageid. It needs at least version 3.4.2 because that one
introduced the ZopeMessageFactory object which zope.app.securitypolicy
wants to import.
Such considerations must always be made when you add a feature to
package A, and then use that new feature in package B. Package B must
then require at least that new version of package A.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -