summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2023-04-15 07:16:08 +0800
committerGitHub <noreply@github.com>2023-04-14 19:16:08 -0400
commit24ad5be8251c39817796db4334a21dbf3cd666e0 (patch)
treec9dad52052a04121a0794afacc0204287ade1638 /tox.ini
parentf4f77cc4f76e643a050c99b0295facf1900335c4 (diff)
downloadpyopenssl-24ad5be8251c39817796db4334a21dbf3cd666e0.tar.gz
fix testing against cryptography main branch and improve twisted (#1209)
* fix testing against cryptography main branch and improve twisted * oops
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 4 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 148d6bc..a298c94 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py{py,py3,36,37,38,39,310,311}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,check-manifest,flake8,py311-mypy,docs,coverage-report
+envlist = py{py,py3,36,37,38,39,310,311}{,-cryptographyMinimum}{,-useWheel}{,-randomorder},py311-twistedTrunk,check-manifest,flake8,py311-mypy,docs,coverage-report
[testenv]
allowlist_externals =
@@ -18,7 +18,6 @@ extras =
test
deps =
coverage>=4.2
- cryptographyMain: git+https://github.com/pyca/cryptography.git
cryptographyMinimum: cryptography==38.0.0
randomorder: pytest-randomly
setenv =
@@ -28,17 +27,17 @@ setenv =
PIP_NO_BINARY=cryptography
useWheel: PIP_NO_BINARY=
commands =
+ cryptographyMain: pip install -U git+https://github.com/pyca/cryptography.git
openssl version
coverage run --parallel -m OpenSSL.debug
coverage run --parallel -m pytest -v {posargs}
-[testenv:py37-twistedTrunk]
+[testenv:py311-twistedTrunk]
deps =
Twisted[all_non_platform] @ git+https://github.com/twisted/twisted
setenv =
commands =
- python -c "import OpenSSL.SSL; print(OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION))"
- python -c "import cryptography; print(cryptography.__version__)"
+ python -m OpenSSL.debug
python -m twisted.trial -j4 --reporter=text twisted
[testenv:flake8]