From 39f6fb6c40314d97391d36fc25112d6420c96991 Mon Sep 17 00:00:00 2001 From: abhiabhi94 <13880786+abhiabhi94@users.noreply.github.com> Date: Thu, 4 Nov 2021 16:22:36 +0530 Subject: [PATCH] feat(#236): Confirm support for python 3.10 - also, use python 3.10 for environments in github actions. --- .github/workflows/docs.yml | 2 +- .github/workflows/linters.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 1 + setup.cfg | 1 + tox.ini | 2 ++ 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9345902..88f213f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: '3.10' - name: Cache dependencies uses: actions/cache@v2 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index e969fa6..04f1863 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: '3.10' - name: Ensure latest setuptools run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9db6503..f722d6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: '3.10' - name: Ensure latest setuptools run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1b5a257..b47a1ac 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,7 @@ jobs: - 3.7 - 3.8 - 3.9 + - '3.10' steps: - name: Checkout diff --git a/setup.cfg b/setup.cfg index ef1b85a..d367c1b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,6 +29,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Topic :: Internet :: WWW/HTTP Topic :: Internet :: WWW/HTTP :: Dynamic Content keywords = django comment comments ajax diff --git a/tox.ini b/tox.ini index c9053b8..c3b131a 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py37-django{21, 22, 30, 31, 32} py38-django{21, 22, 30, 31, 32, main} py39-django{21, 22, 30, 31, 32, main} + py310-django{main} [gh-actions] python = @@ -11,6 +12,7 @@ python = 3.7: py37 3.8: py38 3.9: py39 + 3.10: py310 [testenv:docs] allowlist_externals =