summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Misc CI cleanups (#1045)Nathaniel J. Smith2021-10-041-5/+4
| | | | | | | | | | | | | | * Misc CI cleanups - Update branch names to match upstream - Drop py2 testing * Appease stricter checking in latest Sphinx to get CI passing again * Don't accidentally delete an important line from tox.ini * Give py2 support a brief stay of execution As requested by @reaperhulk on IRC
* Add SSL_CTX_set_min_proto_version/SSL_CTX_set_max_proto_version bindings (#985)Maximilian Hils2021-03-101-2/+2
| | | | | | | | | | | | | | | | | | | * add Context.set_*_proto_version, fix #860 * docs: add new openssl tls methods * accept the fact that nothing can be taken for granted * bump minimum required cryptography version to 3.3 * drop support for Python 3.5 * use binary wheels for cryptography * Revert "use binary wheels for cryptography" This reverts commit 91a04c612ed1d0dd9fd541dfefe21cac7c25b1c1. * docker ci: compile cryptography with rust
* Tox.ini; Test on Python 3.9 and make flake8 stricter (#966)Christian Clauss2020-11-291-3/+2
| | | | | | | | | | | | | * Tox.ini; Test on Python 3.9 and make flake8 stricter * max-line-length = 88 * Remove unused import * Update tox.ini * Use PEP8 line length * Use PEP8 line length
* Drop CI for OpenSSL 1.0.2 (#953)Alex Gaynor2020-10-261-16/+1
| | | | | | | * Drop CI for OpenSSL 1.0.2 * Delete code for coverage reasons * Bump minimum cryptography version
* fixed tests for twisted change (#950)Alex Gaynor2020-10-141-5/+1
| | | * fixed tests for twisted change
* Paint it Black by the Rolling Stones (#920)Alex Gaynor2020-07-231-2/+9
|
* Remove dead examples directory from flake8 invocation. (#914)Benjamin Peterson2020-05-211-1/+1
|
* Uhhh, fix twisted tests to actually run twisted (wat) (#906)Alex Gaynor2020-03-301-2/+3
| | | | | * Uhhh, fix twisted tests to actually run twisted (wat) * Update tox.ini
* Drop support for Python 3.4, since cryptography dropped it (#884)Alex Gaynor2019-12-151-1/+1
|
* bump the minimum cryptography version (#875)Paul Kehrer2019-11-171-1/+1
| | | | | | | Users with older cryptography (and hence potentially older asn1crypto, a transitive dependency) are seeing a serious bug on macOS catalina due to the way older asn1crypto loads a shared library. While this isn't a pyOpenSSL bug bumping this dep might prevent the bug from impacting some users.
* Fixes #868 -- test on py38 (#870)Alex Gaynor2019-10-201-1/+1
|
* Run tests in random order to weed out issues (#842)Alex Gaynor2019-06-021-1/+2
|
* Hypothetically fixes pyOpenSSL tests (#805)Paul Kehrer2019-01-211-1/+2
| | | | | | | | | | | | | | | * fix openssl CLI testing for 1.1.1 * various 1.1.1 related fixes some of which are just admitting TLS 1.3 is fundamentally different and pinning the tests to TLS 1.2 * flake8 fixes * allow travis_infra env var through * fix twisted
* Fixes #784 -- bump minimum cryptography version (#785)Alex Gaynor2018-08-101-1/+1
|
* Added py37 (#772)Alex Gaynor2018-07-041-1/+1
| | | | | | | | * Added py37 to travis * Added py37 trove classifier * Added py37 to tox
* Run tests against pypy3, use travis's pypy/pypy3 (#743)Jeremy Lainé2018-03-211-1/+1
|
* Raise minimum cryptography version to 2.2.1, drop python 2.6 (#742)Jeremy Lainé2018-03-211-2/+2
|
* fix a memory leak and a potential UAF and also #722 (#723)Paul Kehrer2017-11-301-1/+1
| | | | | | | | * fix a memory leak and a potential UAF and also #722 * sanity check * bump cryptography minimum version, add changelog
* Drop py33 (#677)Alex Gaynor2017-07-251-1/+1
|
* move deps to extras (#661)Paul Kehrer2017-07-071-4/+4
| | | | | | * move deps to extras * this file is gone
* FIxed #266 -- attempt to deflake our tests (#660)Alex Gaynor2017-07-061-0/+1
| | | | | | * FIxed #266 -- attempt to deflake our tests * typo
* try loading trusted certs from a list of fallbacks (#633)Paul Kehrer2017-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * try loading trusted certs from a list of fallbacks pyca/cryptography will shortly begin shipping a wheel. Since SSL_CTX_set_default_verify_paths uses a hardcoded path compiled into the library, this will start failing to load the proper certificates for users on many linux distributions. To avoid this we can use the Go solution of iterating over a list of potential candidates and loading it when found. * capath is lazy loaded so we need to do a lot more checks This now checks to see if env vars are set as well as seeing if the dir exists and has valid certs in it. If either of those are true (or the number of certs is > 0) it won't load the fallback. If it does do the fallback it will also attempt to load certs from a dir as a final fallback * remove an early return * this shouldn't be commented out * oops * very limited testing * sigh, can't use these py3 exceptions of course * expand the tests a bit * coverage! * don't need this now * change the approach to use a pyca/cryptography guard value * test fix * older python sometimes calls itself linux2 * flake8 * add changelog * coverage * slash opt
* Fix invalid cast from ASN1_TIME to ASN1_GENERALIZEDTIME (#612)Moriyoshi Koizumi2017-06-211-1/+1
| | | | | | * Fix invalid cast from ASN1_TIME to ASN1_GENERALIZEDTIME, which ends up with an error with LibreSSL. * Require cryptography >= 1.9
* urllib3 uses pytest now, various upgrades to the travis env (#634)Paul Kehrer2017-06-091-1/+1
| | | | | | | | | | | | | | * urllib3 uses pytest now, also use trusty * more improvements * keep modernizing * try trusty later. * revert * still try for trusty, back to the right pypy
* Add an informative __main__.py (#620)Hynek Schlawack2017-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | * Add an informative __main__.py Give users an easy way to figure out what versions they're running. * Why not more info! * Add test * No empty last line * Make @alex happy * DIAF Python 2.6 * Add cffi's version * Make debug a module * Add cryptography's compile-time OpenSSL
* Python 3.6 (#600)Hynek Schlawack2017-01-301-1/+1
|
* Add support for OCSP stapling. (#580)Cory Benfield2017-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Define the OCSPCallbackHelper. * Define set_ocsp_status_callback function. * Reframe this as the "server" helper. * Add OCSP helper. * Allow clients to request OCSP * Some tests for OCSP. * Don't forget to throw callback errors. * Add changelog entry for OCSP stapling. * Require at least cryptography 1.7 * Sorry Flake8, won't happen again. * How does spelling work?
* We should consider *actually* testing Twisted. (#579)Cory Benfield2016-11-281-1/+1
|
* Add the ability to set a custom verification time on X509Store (#567)Thomas Sileo2016-11-221-1/+1
|
* Convert NextProtoNegotiationTests to use pytest-style tests (#569)Alex Chan2016-11-101-1/+1
| | | | | | | | | | | | | | | | | | * Convert NextProtoNegotiationTests to use pytest-style tests Addresses #340. * Fix Twisted test suite See https://twistedmatrix.com/trac/ticket/8876 * Remove tests for OpenSSL with no NPN support NPN was added in OpenSSL 1.0.1. As of version 16.1.0, PyOpenSSL only supports OpenSSL 1.0.1 or later, so this test is: 1. Testing a use case that's no longer supported. 2. Dead code in CI.
* Convert test_rand to use pytest-style tests (#563)Alex Chan2016-10-241-1/+1
| | | | | | | | | | Fix up the assert helpers, subclass form `object` rather than test case, and use parametrization where appropriate. One helper method on the original `TestCase` was the ability to create temporary directories that were cleaned up at the end of the test -- now we use a pytest fixture instead: http://doc.pytest.org/en/latest/tmpdir.html Addresses #340.
* Avoid pytest 3 warning (#517)Hynek Schlawack2016-08-251-1/+1
| | | | | | * Avoid pytest warning * Upgrade pytest min version in tox.ini
* coverage 4.2 doesn't need the clean step anymore (#508)Hynek Schlawack2016-07-311-8/+3
| | | | | | * coverage 4.2 doesn't need the clean step anymore * Set version for report too
* Pass --reporter to trial so that it's output doesn't overflow travis (#490)Alex Gaynor2016-06-041-1/+1
|
* Fix cryptography minimum versionHynek Schlawack2016-03-161-2/+2
|
* Update these jobsAlex Gaynor2016-03-161-2/+2
|
* Whitelist rmCory Benfield2016-03-141-0/+2
|
* Use urllib3's dev-requirements where possible.Cory Benfield2016-03-141-3/+0
|
* Smoke test for urllib3.Cory Benfield2016-03-141-0/+16
|
* Print library versions the proper wayHynek Schlawack2016-03-141-2/+0
|
* Polish up examples (somewhat)Hynek Schlawack2016-03-131-1/+1
| | | | | | | | | - Mention them in the docs (arguably a bit hamfistedly). - Make the README an RST. - Make them pass flake8 and add flake8 to tox.ini They should all be rewritten and made Python 3-friendly but that's out of scope here.
* Fix set_cipher_list on modern OpenSSLHynek Schlawack2016-03-111-1/+1
| | | | Also port forward a few changes from #422.
* Rename legacy to 1.1Hynek Schlawack2016-01-311-2/+2
|
* Make pyOpenSSL future-proofHynek Schlawack2016-01-311-2/+3
| | | | Notably stop breaking cryptography 1.3.
* Rename readme dep and sprinkle in skip_installsHynek Schlawack2016-01-061-1/+4
| | | | Library name changed and skip_install will speed up our test times.
* Banning all breaks setuptools installationHynek Schlawack2015-12-111-1/+1
|
* Blacklist py.test 2.8.4, disable wheelsHynek Schlawack2015-12-111-1/+2
| | | | | py.test has broken deprecation behavior in 2.8.4, wheels make testing of various OpenSSLs on OS X impossible.
* Pin pytest in tox tooHynek Schlawack2015-10-241-1/+1
|
* gmpy has external depsHynek Schlawack2015-10-211-3/+0
|
* Use Twisted master and add relevant dependenciesHynek Schlawack2015-10-211-3/+9
| | | | The twisted test suite can't currently run using an in-dev pyOpenSSL.