Add support for Python 3.9

This commit is contained in:
Michał Bielawski 2021-07-30 13:54:04 +01:00 committed by Asif Saif Uddin
parent 0234ea2d61
commit 4f77faab77
3 changed files with 13 additions and 11 deletions

View File

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6,3.7,3.8]
python-version: [3.6,3.7,3.8,3.9]
steps:
- name: Install system packages
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6,3.7,3.8,pypy3]
python-version: [3.6,3.7,3.8,3.9,pypy3]
steps:
- name: Install system packages
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: [3.9]
steps:
- name: Install system packages
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev

View File

@ -141,6 +141,7 @@ setup(
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',

17
tox.ini
View File

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