Hashar has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/399798 )

Change subject: Pin pyOpenSSL<17.5.0
......................................................................

Pin pyOpenSSL<17.5.0

pyOpenSSL 17.5.0 has a breaking compatibility change, it requires
cryptography >=2.1.4.
7f4a31a pinned cryptography<2.0.0 for Debian.

Thus pin pyOpenSSL as well to prevent cryptography 2.1.4 installation or
we end up with a version conflict:

pkg_resources.ContextualVersionConflict:
 (cryptography 2.1.4
 (/src/.eggs/cryptography-2.1.4-py3.4-linux-x86_64.egg),
 Requirement.parse('cryptography<2.0.0,>=1.7.0'), {'cergen'})

Also mention the need of libssl-dev.

Change-Id: I8eed6ed7d50c549af7e8e49bd004e7b8175ea518
---
M setup.py
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/cergen refs/changes/98/399798/1

diff --git a/setup.py b/setup.py
index 4006228..c033a8d 100644
--- a/setup.py
+++ b/setup.py
@@ -25,10 +25,12 @@
         # We want a version with Debian packages.
         'networkx<2.0',
         'requests>=2',
-        'pyOpenSSL>=16.0.0'
+        # 17.5.0 requires cryptography 2.1.4
+        'pyOpenSSL>=16.0.0,<17.5.0',
         # Also need installed
         # python3-dev
         # libffi-dev
+        # libssl-dev
     ],
     long_description=long_description,
     entry_points={'console_scripts': ['cergen = cergen.main:main']},

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8eed6ed7d50c549af7e8e49bd004e7b8175ea518
Gerrit-PatchSet: 1
Gerrit-Project: cergen
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to