John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/313821

Change subject: Avoid broken pycparser 2.14
......................................................................

Avoid broken pycparser 2.14

Package cryptography depends on cffi which
depends on pycparser.  pycparser 2.14 is broken
and needs to be avoided.

https://github.com/eliben/pycparser/issues/147

Change-Id: Ie95a686dc830d5c70f5dfd8205d579f344e4b193
---
M requests-requirements.txt
M requirements.txt
M setup.py
3 files changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/21/313821/1

diff --git a/requests-requirements.txt b/requests-requirements.txt
index 4ad0a88..e5cf659 100644
--- a/requests-requirements.txt
+++ b/requests-requirements.txt
@@ -5,3 +5,5 @@
 pyOpenSSL>=0.13 ; python_full_version < '2.7.9' or python_version >= '3'
 ndg-httpsclient ; python_full_version < '2.7.9' or python_version >= '3'
 pyasn1 ; python_full_version < '2.7.9' or python_version >= '3'
+# https://github.com/eliben/pycparser/issues/147
+pycparser != 2.14
diff --git a/requirements.txt b/requirements.txt
index 0aeb72d..83761b3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -25,6 +25,8 @@
 pyOpenSSL>=0.13 ; python_full_version < '2.7.9'
 ndg-httpsclient ; python_full_version < '2.7.9'
 pyasn1 ; python_full_version < '2.7.9'
+# https://github.com/eliben/pycparser/issues/147
+pycparser != 2.14
 
 future>=0.15.0 ; python_version < '2.7'
 
diff --git a/setup.py b/setup.py
index f688df5..7abce5f 100644
--- a/setup.py
+++ b/setup.py
@@ -63,7 +63,7 @@
     # 0.6.1 supports socket.io 1.0, but WMF is using 0.9 (T91393 and T85716)
     # websocket-client>=0.33 is required by socketIO-client (T114913)
     'rcstream': ['socketIO-client<0.6.1', 'websocket-client>=0.33'],
-    'security': ['requests[security]'],
+    'security': ['requests[security]', 'pycparser!=2.14'],
     'mwoauth': ['mwoauth>=0.2.4'],
     'html': ['BeautifulSoup4'],
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/313821
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie95a686dc830d5c70f5dfd8205d579f344e4b193
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to