# HG changeset patch # User Denis Laxalde # Date 1481116055 -3600 # Node ID ccf61228a802aebef39c935b00b5d0980027f3a9 # Parent 6707748e3982f18f950924e3fce53a2e10afd3f5 [pkg] Set an upper bound to passlib We're using a deprecated API and are getting the following deprecation warning: :: the method passlib.context.CryptContext.encrypt() is deprecated as of Passlib 1.7, and will be removed in Passlib 2.0, use CryptContext.hash() instead. So let's make sure we're getting a working library. [ci skip] diff -r 6707748e3982 -r ccf61228a802 cubicweb.spec --- a/cubicweb.spec Fri Dec 09 15:08:52 2016 +0100 +++ b/cubicweb.spec Wed Dec 07 14:07:35 2016 +0100 @@ -27,7 +27,7 @@ Requires: %{python}-rql >= 0.34.0 Requires: %{python}-yams >= 0.44.0 Requires: %{python}-logilab-database >= 1.15.0 -Requires: %{python}-passlib +Requires: %{python}-passlib < 2.0 Requires: %{python}-lxml Requires: %{python}-twisted-web < 16.0.0 Requires: %{python}-markdown diff -r 6707748e3982 -r ccf61228a802 debian/control --- a/debian/control Fri Dec 09 15:08:52 2016 +0100 +++ b/debian/control Wed Dec 07 14:07:35 2016 +0100 @@ -25,7 +25,7 @@ python-pyramid, python-pyramid-multiauth, python-waitress, - python-passlib, + python-passlib (<< 2.0), python-wsgicors, sphinx-common, Standards-Version: 3.9.6 diff -r 6707748e3982 -r ccf61228a802 setup.py --- a/setup.py Fri Dec 09 15:08:52 2016 +0100 +++ b/setup.py Wed Dec 07 14:07:35 2016 +0100 @@ -223,7 +223,7 @@ 'yams >= 0.44.0', 'lxml', 'logilab-database >= 1.15.0', - 'passlib', + 'passlib < 2.0', 'pytz', 'Markdown', 'unittest2 >= 0.7.0',