[pkg] Use Twisted < 16.0.0
We have some test failures with 16.0.0, such as:
- test_put_content (unittest_server.ETwistHTTPTC)
- test_base_url (unittest_httptest.TwistedCWAnonTC)
--- a/cubicweb.spec Tue Mar 15 16:58:50 2016 +0100
+++ b/cubicweb.spec Wed Mar 16 10:06:18 2016 +0100
@@ -29,7 +29,7 @@
Requires: %{python}-logilab-database >= 1.15.0
Requires: %{python}-passlib
Requires: %{python}-lxml
-Requires: %{python}-twisted-web
+Requires: %{python}-twisted-web << 16.0.0
Requires: %{python}-markdown
Requires: pytz
# the schema view uses `dot'; at least on el5, png output requires graphviz-gd
--- a/cubicweb/__pkginfo__.py Tue Mar 15 16:58:50 2016 +0100
+++ b/cubicweb/__pkginfo__.py Wed Mar 16 10:06:18 2016 +0100
@@ -64,7 +64,7 @@
'vobject': '>= 0.6.0', # for ical view
'rdflib': None, #
'pyzmq': None,
- 'Twisted': '',
+ 'Twisted': '< 16.0.0',
#'Products.FCKeditor':'',
#'SimpleTAL':'>= 4.1.6',
}
--- a/cubicweb/devtools/test/requirements.txt Tue Mar 15 16:58:50 2016 +0100
+++ b/cubicweb/devtools/test/requirements.txt Wed Mar 16 10:06:18 2016 +0100
@@ -1,3 +1,3 @@
-Twisted
+Twisted < 16.0.0
webtest
flake8
--- a/cubicweb/etwist/test/requirements.txt Tue Mar 15 16:58:50 2016 +0100
+++ b/cubicweb/etwist/test/requirements.txt Wed Mar 16 10:06:18 2016 +0100
@@ -1,1 +1,1 @@
-Twisted
+Twisted < 16.0.0
--- a/cubicweb/web/test/requirements.txt Tue Mar 15 16:58:50 2016 +0100
+++ b/cubicweb/web/test/requirements.txt Wed Mar 16 10:06:18 2016 +0100
@@ -1,6 +1,6 @@
requests
webtest
-Twisted
+Twisted < 16.0.0
cubicweb-blog
cubicweb-file
cubicweb-tag
--- a/debian/control Tue Mar 15 16:58:50 2016 +0100
+++ b/debian/control Wed Mar 16 10:06:18 2016 +0100
@@ -108,7 +108,7 @@
${python:Depends},
cubicweb-web (= ${source:Version}),
cubicweb-ctl (= ${source:Version}),
- python-twisted-web
+ python-twisted-web (<< 16.0.0),
Recommends:
cubicweb-documentation (= ${source:Version})
Description: twisted-based web interface for the CubicWeb framework