diff options
| author | Victor Stinner <vstinner@redhat.com> | 2016-02-10 14:32:06 +0100 |
|---|---|---|
| committer | Sergey Shepelev <temotor@gmail.com> | 2016-04-23 13:03:50 +0500 |
| commit | f61d05ecc2188999d1541716d78f037dfbfeb00e (patch) | |
| tree | fdd0f82f12e38427630cca0fc21de112a125f8a4 | |
| parent | 869432f9ab4772da2d728733838744244402ed13 (diff) | |
| download | eventlet-tox_pyopenssl.tar.gz | |
tox: don't cap pyopenssl to 0.13tox_pyopenssl
pyopenssl 0.13 cannot be installed on my Fedora 23. It fails with:
building 'OpenSSL.crypto' extension
(...)
OpenSSL/crypto/crl.c:6:23: erreur: static declaration of ‘X509_REVOKED_dup’ follows non-static declaration
static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
^
In file included from /usr/include/openssl/ssl.h:156:0,
from OpenSSL/crypto/x509.h:17,
from OpenSSL/crypto/crypto.h:30,
from OpenSSL/crypto/crl.c:3:
/usr/include/openssl/x509.h:751:15: note: previous declaration of ‘X509_REVOKED_dup’ was here
X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
^
error: command 'gcc' failed with exit status 1
The bug is known: https://github.com/pyca/pyopenssl/issues/276
The workaround is simple: use a more recent version.
| -rw-r--r-- | tox.ini | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -47,8 +47,9 @@ deps = py27-dns: dnspython==1.12.0 py{26,27}-{selects,poll,epolls}: MySQL-python==1.2.5 py{34,py}-dns: dnspython3==1.12.0 + py26-{selects,poll,epolls}: pyopenssl==0.13 + py{27,33,34}-{selects,poll,epolls}: pyopenssl==16.0.0 {selects,poll,epolls}: psycopg2cffi-compat==1.1 - {selects,poll,epolls}: pyopenssl==0.13 {selects,poll,epolls}: pyzmq==13.1.0 commands = nosetests --verbose {posargs:tests/} |
