[pkg] Restrict yams version to be less than 0.45.0
Because of reader's API changes x and other subtle but hard to debug changes
in appobjects registration in version 0.45.0.
Closes #17065626.
--- a/cubicweb.spec Mon Mar 20 09:40:24 2017 +0100
+++ b/cubicweb.spec Mon Mar 20 16:51:41 2017 +0100
@@ -25,7 +25,7 @@
Requires: %{python}-logilab-common >= 1.2.2
Requires: %{python}-logilab-mtconverter >= 0.8.0
Requires: %{python}-rql >= 0.34.0
-Requires: %{python}-yams >= 0.44.0
+Requires: %{python}-yams >= 0.44.0, %{python}-yams < 0.45.0
Requires: %{python}-logilab-database >= 1.15.0
Requires: %{python}-passlib < 2.0
Requires: %{python}-lxml
--- a/debian/control Mon Mar 20 09:40:24 2017 +0100
+++ b/debian/control Mon Mar 20 16:51:41 2017 +0100
@@ -20,6 +20,7 @@
python-tz,
python-rql (>= 0.34.0),
python-yams (>= 0.44.0),
+ python-yams (<< 0.45.0),
python-lxml,
python-setuptools,
python-pyramid,
@@ -43,6 +44,7 @@
python-logilab-common (>= 1.2.2),
python-logilab-database (>= 1.15.0),
python-yams (>= 0.44.0),
+ python-yams (<< 0.45.0),
python-rql (>= 0.34.0),
python-unittest2 (>= 0.7.0),
python-lxml,
--- a/setup.py Mon Mar 20 09:40:24 2017 +0100
+++ b/setup.py Mon Mar 20 16:51:41 2017 +0100
@@ -220,7 +220,7 @@
'logilab-common >= 1.2.2',
'logilab-mtconverter >= 0.8.0',
'rql >= 0.34.0',
- 'yams >= 0.44.0',
+ 'yams >= 0.44.0, < 0.45.0',
'lxml',
'logilab-database >= 1.15.0',
'passlib < 2.0',