add python 3.10 to CI & fix other issues (#1402)

* add python 3.10 to CI & fix other issues

* try pypy3.7
This commit is contained in:
Asif Saif Uddin 2021-10-23 12:44:27 +06:00 committed by GitHub
parent 2d655ccaa6
commit 0eaba33056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

19
tox.ini
View File

@ -1,14 +1,14 @@
[tox] [tox]
envlist = envlist =
{pypy3,3.7,3.8,3.9}-unit {pypy3,3.7,3.8,3.9,3.10}-unit
{pypy3,3.7,3.8,3.9}-linux-integration-py-amqp {pypy3,3.7,3.8,3.9,3.10}-linux-integration-py-amqp
{pypy3,3.7,3.8,3.9}-linux-integration-redis {pypy3,3.7,3.8,3.9,3.10}-linux-integration-redis
flake8 flake8
flakeplus flakeplus
apicheck apicheck
pydocstyle pydocstyle
requires = tox-docker>=2.0 requires = tox-docker>=3.0
[testenv] [testenv]
sitepackages = False sitepackages = False
@ -17,10 +17,10 @@ passenv =
DISTUTILS_USE_SDK DISTUTILS_USE_SDK
deps= deps=
-r{toxinidir}/requirements/dev.txt -r{toxinidir}/requirements/dev.txt
apicheck,pypy3,3.7,3.8,3.9: -r{toxinidir}/requirements/default.txt apicheck,pypy3,3.7,3.8,3.9,3.10: -r{toxinidir}/requirements/default.txt
apicheck,pypy3,3.7,3.8,3.9: -r{toxinidir}/requirements/test.txt apicheck,pypy3,3.7,3.8,3.9,3.10: -r{toxinidir}/requirements/test.txt
apicheck,pypy3,3.7-linux,3.8-linux,3.9-linux: -r{toxinidir}/requirements/test-ci.txt apicheck,pypy3,3.7-linux,3.8-linux,3.9-linux,3.10-linux: -r{toxinidir}/requirements/test-ci.txt
3.7-windows,3.8-windows,3.9-windows: -r{toxinidir}/requirements/test-ci-windows.txt 3.7-windows,3.8-windows,3.9-windows,3.10-windows: -r{toxinidir}/requirements/test-ci-windows.txt
apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt
flake8,flakeplus,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt flake8,flakeplus,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
@ -33,7 +33,8 @@ basepython =
3.7: python3.7 3.7: python3.7
3.8: python3.8 3.8: python3.8
3.9,apicheck,pydocstyle,flake8,linkcheck,cov: python3.9 3.9,apicheck,pydocstyle,flake8,linkcheck,cov: python3.9
pypy3: pypy pypy3: pypy3.7
3.10: python3.10
install_command = python -m pip --disable-pip-version-check install {opts} {packages} install_command = python -m pip --disable-pip-version-check install {opts} {packages}