summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* tox: don't cap pyopenssl to 0.13tox_pyopensslVictor Stinner2016-04-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* patcher: patch existing threading locks; Thanks to Alexis LeeAlexis Lee2016-04-181-0/+1
| | | | | | | | | | | | | | | | | | In projects which dynamically determine whether to activate eventlet, it can be hard not to import a low level module like logging before eventlet. When logging is imported it initialises a threading.RLock which it uses to protect the logging configuration. If two greenthreads attempt to claim this lock, the second one will block the /native/ thread not just itself. As green systems usually only have one native thread, this will freeze the whole system. Search the GC for unsafe RLocks and replace their internal Lock with a safe one while monkey-patching. The tests pass, but were they to fail, the test process would never return. To deal with this, I've added a test dependency on subprocess32 which is a backport of the stdlib subprocess module from Python3. This offers a timeout option on Popen#communicate, which I've arbitrarily set at 30 seconds.
* travis: Fix allowing more CPU usageJakub Stasiak2016-01-231-0/+1
| | | | | | | | | The original commit[1] was not enough because we run tests using tox and tox by default doesn't pass all environment variables to the environments in which tests run - this patch whitelists subset of environment variables set by Travis, including one that we read and use. [1] 74f418bcf38ac128cadad641d59d7ecd8f127340
* Remove pip download cache referencesJakub Stasiak2016-01-231-1/+0
| | | | | Newest pip versions don't support it anymore and it's been deprecated for a while.
* tox 1.8 or newer is requiredVictor Stinner2015-04-091-0/+1
| | | | | The "py{27,34,py}-dns" syntax in envlist is only supported on tox 1.8 or newer.
* greendns: Python3 compatibilityv17.1-rc1Sergey Shepelev2015-02-251-1/+2
|
* greendns: fix (remove) dns.name importSergey Shepelev2015-02-251-6/+6
| | | | | | https://github.com/eventlet/eventlet/issues/203 Also, separate tox environments py{27,34,py}-dns that install and test green DNS.
* tests/isolated for tests sandboxed in separate python processSergey Shepelev2015-02-251-1/+1
| | | | | | | | | | | | API: - write main test body into tests/isolated/filename.py - it must write 'pass' to stdout or 'skip:[optional reason]' - write a test with single line: tests.run_isolated('filename.py') FIXME: autorun all files in tests/isolated This deprecates tests.run_python and ProcessBase. TODO: rewrite old multiline string test bodies to isolated files TODO: add timeout to p.communicate() in run_python()
* Tests: tidy up tox fileDavid Szotten2015-02-071-123/+21
| | | | | | | | using new multi-dimensional support in 1.8 also update travis file Closes GH #180
* hubs: delay import pkg_resourcesSergey Shepelev2014-12-301-0/+1
| | | | https://github.com/eventlet/eventlet/issues/177
* Exclude bundled mock and six from style checkingJakub Stasiak2014-11-111-2/+2
|
* ExcluJakub Stasiak2014-11-111-2/+2
|
* Add Python 3.4 build optionsJakub Stasiak2014-10-101-0/+19
|
* Remove most of the deprecated codeJakub Stasiak2014-10-101-2/+1
| | | | Closes GH #144
* PEP-8 check all files, once in separate environment, parallel in TravisSergey Shepelev2014-04-241-43/+50
| | | | Tox: PYTHONDONTWRITEBYTECODE = 1
* python3 compatibilitySergey Shepelev2014-04-231-0/+3
| | | | | | | - dict.items().pop() in proc - str/bytes in backdoor, api_test, ssl_test, test__refcount - import httplib from six - PEP-8 fixes
* PEP-8 fixes, tox runs pep8 checkSergey Shepelev2014-04-231-1/+30
| | | | | For now, pep8 check is only run for some files known to be clean, we should clean the rest and enable pep8 check for all files then.
* pypy compatibilityJakub Stasiak2014-04-151-1/+1
|
* travis: Build with PyPy; Upgrade dependencies; Install libzmq-devJakub Stasiak2014-04-151-1/+14
|
* travis: Build with Python 3.3Jakub Stasiak2014-03-281-3/+35
|
* tox: Refactor configurationJakub Stasiak2014-01-281-18/+1
|
* tox: Bump MySQL-Python versionJakub Stasiak2014-01-281-1/+1
|
* python3 compat: remove lots of Python 2.5 and earlier dependent code; use ↵Sergey Shepelev2013-12-031-15/+1
| | | | print() function syntax
* tox: Add pep8 and flake8 configuration in tox.iniFloris Bruynooghe2013-08-191-0/+12
| | | | | | | This helps ensuring everyone uses the code checkers with the same configuration. Initial values based on earlier discussion. The max-line-length is currently just based on the screen width I have on my netbook.
* tox: run tests with newer versions of optional dependenciesSergey Shepelev2013-07-111-8/+8
|
* tests: Improve tox configuration and setup TravisJakub Stasiak2013-04-121-6/+35
|
* Fix python 2.5 supportFloris Bruynooghe2012-09-051-1/+9
| | | | | | | | | | | * Avoid using property.setter(), use old-style properties instead. * Avoid using the new pep8-style threading API. * Use from __future__ import with_statement where it is used. * Add python 2.5 environments to tox, no epolls since that did not yet exist.
* Add doctests to tox runFloris Bruynooghe2012-09-041-1/+5
| | | | | | This is somewhat ugly since tox does not do shell-expansion so we have to list all files with doctests in. This is fine if new tests are normally unittests however.
* Add test environments for all hubsFloris Bruynooghe2012-08-071-4/+26
|
* Add an initial basic tox configuration fileFloris Bruynooghe2012-08-071-0/+8