cubicweb #3649120 __depends__ should support < [open]
__depends__ in __pkginfo__.py currently supports >= or > but not <= or <. And yet this can be useful when maintaining old versions of a cube.
Example:
# cubicweb-ctl list | |
priority | normal |
---|---|
type | bug |
done in | <not specified> |
load | 1.000 |
load left | 1.000 |
closed by | <not specified> |
Comments
-
2014/03/13 22:59, written by dimitri
-
2014/05/23 11:54, written by dlaxalde
-
2014/03/13 23:05, written by dimitri
add commentAlso support operator == please.
This is the function to fix as far as I can see:
ConfigurationProblem.solve() in migration.py
Not sure you really want ==. But perhaps, an & operator that'll let you write: 'cubicweb': '>= 3.17 & < 3.18'.
This feature will be useful if you break compatibility in CubicWeb 4...