# HG changeset patch # User Denis Laxalde # Date 1490025101 -3600 # Node ID 10d3bf220be2bcb9df2bceaaef941196578fd26d # Parent 4ea6d7b23afff5f847d4e2a920621a3218df841b [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. diff -r 4ea6d7b23aff -r 10d3bf220be2 cubicweb.spec --- 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 diff -r 4ea6d7b23aff -r 10d3bf220be2 debian/control --- 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, diff -r 4ea6d7b23aff -r 10d3bf220be2 setup.py --- 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',