From 73e1584fd101b6dcc783bb1921a888201b992e9a Mon Sep 17 00:00:00 2001 From: Andrew-Chen-Wang Date: Wed, 6 Oct 2021 20:18:20 -0400 Subject: [PATCH 1/2] Add Python 3.10 support and classifiers --- .github/workflows/test.yml | 6 ++++-- setup.cfg | 4 +++- tox.ini | 5 +++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34dbdff6..79826672 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,13 +9,15 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.6', '3.7', '3.8', '3.9'] - django-version: ['2.2', '3.0', '3.1'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] + django-version: ['2.2', '3.0', '3.1', '3.2'] include: - django-version: 'main' python-version: '3.8' - django-version: 'main' python-version: '3.9' + - django-version: 'main' + python-version: '3.10' steps: - uses: actions/checkout@v2 diff --git a/setup.cfg b/setup.cfg index eefb7dbd..71eb6259 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,6 +12,7 @@ classifiers = Framework :: Django :: 2.2 Framework :: Django :: 3.0 Framework :: Django :: 3.1 + Framework :: Django :: 3.2 Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python @@ -20,7 +21,8 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 - Topic :: Internet :: WWW/HTTP + Programming Language :: Python :: 3.10 + Topic :: Internet :: WWW/HTTP Topic :: System :: Networking [options] diff --git a/tox.ini b/tox.ini index 3a9ebd50..b4fb0228 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,8 @@ skipsdist = True usedevelop = true envlist = - py{36,37,38,39}-dj{22,30,31,32} - py{38,39}-djmain + py{36,37,38,39,310}-dj{22,30,31,32} + py{38,39,310}-djmain flake8 [gh-actions] @@ -12,6 +12,7 @@ python = 3.7: py37 3.8: py38 3.9: py39, flake8 + 3.10: py310 [gh-actions:env] DJANGO = From 601e75a39e7fd0d4b11696ef3190afc38621877e Mon Sep 17 00:00:00 2001 From: Andrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com> Date: Thu, 7 Oct 2021 18:40:14 -0400 Subject: [PATCH 2/2] Fix spacing --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 71eb6259..aedfd9c5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,7 @@ classifiers = Framework :: Django :: 2.2 Framework :: Django :: 3.0 Framework :: Django :: 3.1 - Framework :: Django :: 3.2 + Framework :: Django :: 3.2 Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python @@ -21,8 +21,8 @@ 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 + Programming Language :: Python :: 3.10 + Topic :: Internet :: WWW/HTTP Topic :: System :: Networking [options]