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
--- 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: