From 989ae6a76512f69c7624967647aea17d0c7b5c74 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 12 Jan 2022 21:01:50 +0000 Subject: [PATCH] Add support for Python 3.10. --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- setup.cfg | 1 + tox.ini | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4c837cb..a466541 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest'] - python: ['3.9'] + python: ['3.10'] steps: - name: Check out source uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0002e5a..b8bd2d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest'] - python: ['3.7', '3.8', '3.9'] + python: ['3.7', '3.8', '3.9', '3.10'] framework: ['django~=3.2.0', 'django~=4.0.0', 'flask~=1.1.0', 'flask~=2.0.0'] exclude: - os: 'ubuntu-latest' diff --git a/setup.cfg b/setup.cfg index ed6d939..9b949ab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,6 +30,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Programming Language :: Python :: Implementation :: CPython Topic :: Internet :: WWW/HTTP Topic :: Software Development :: Libraries :: Python Modules diff --git a/tox.ini b/tox.ini index 0627416..764bcce 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, py39 +envlist = py37, py38, py39, py310 [testenv] commands = pytest