# HG changeset patch # User Christophe de Vienne # Date 1411124906 -7200 # Node ID 08dc10ef9ab1d06002b53df584b8aab7976e686b # Parent dab538127d72cf7a38e5f357c3b235b698c6ab68 Accept '==' operator in cubes dependencies '==' is the operator used in the python dependencies specifications. See PEP 440 http://legacy.python.org/dev/peps/pep-0440/#version-specifiers Using the same operator in cubes dependencies allow to make setuptools handle the cubes dependencies while keeping cubicweb happy about the dependencies. Closes #4375144 diff -r dab538127d72 -r 08dc10ef9ab1 migration.py --- a/migration.py Tue Sep 23 13:51:12 2014 +0200 +++ b/migration.py Fri Sep 19 13:08:26 2014 +0200 @@ -524,7 +524,7 @@ self.errors.append( ('add', cube, version, source) ) elif versions: lower_strict = version_strictly_lower(self.cubes[cube], version) - if oper in ('>=','='): + if oper in ('>=','=','=='): if lower_strict: self.errors.append( ('update', cube, version, source) ) elif oper is None: