From 5bc6af135626a7915b2638de108412544f9a6593 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 11 Oct 2021 15:50:06 +1100 Subject: [PATCH] Add support for Python 3.10 Now that Python 3.10 has been released, we should test it in CI. --- .github/workflows/ci.yml | 2 +- setup.py | 1 + tox.ini | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38fe00ef7c..26079f7cef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: name: test (Python ${{ matrix.python-version }}) strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 - name: Set up Python diff --git a/setup.py b/setup.py index dab3a4a4ab..67d876e2e4 100755 --- a/setup.py +++ b/setup.py @@ -100,6 +100,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Software Development", ], python_requires=">=3.6", diff --git a/tox.ini b/tox.ini index 21eb75d311..9d06204d6a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = lint, - py{36,37,38,39}, + py{36,37,38,39,310}, docs [gh-actions] @@ -10,6 +10,7 @@ python = 3.7: py37 3.8: py38 3.9: py39 + 3.10: py310 [testenv] deps = -rtest-requirements.txt