From 4cd9ae21eb858f05016a399312e8e4a4273860c9 Mon Sep 17 00:00:00 2001 From: Andrew-Chen-Wang Date: Wed, 6 Oct 2021 20:12:38 -0400 Subject: [PATCH] Add Python 3.10 support --- .github/workflows/test.yml | 2 +- README.rst | 2 +- setup.py | 2 ++ tox.ini | 9 +++++---- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b39f323..a3f0cce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false max-parallel: 5 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 diff --git a/README.rst b/README.rst index 403f0f9..83cdf51 100644 --- a/README.rst +++ b/README.rst @@ -34,7 +34,7 @@ for Django 2 and above, use ``django-robots>=4.0.0``. Supported Python version ------------------------ -* Python 3.6, 3.7, 3.8 +* Python 3.6, 3.7, 3.8, 3.9, 3.10 .. _install section: https://django-robots.readthedocs.io/en/latest/#installation .. _robots exclusion protocol: http://en.wikipedia.org/wiki/Robots_exclusion_standard diff --git a/setup.py b/setup.py index 44f8dc2..8ffe02c 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,8 @@ def read(*parts): 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Framework :: Django', 'Framework :: Django :: 2.2', 'Framework :: Django :: 3.1', diff --git a/tox.ini b/tox.ini index c44c87d..7bd028e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] envlist = # list of supported Django/Python versions: - # https://docs.djangoproject.com/en/3.1/faq/install/#what-python-version-can-i-use-with-django - py{36,37,38,39}-dj{22,31,32} - py{38,39}-dj{40} - py{38,39}-djmain + # https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django + py{36,37,38,39,310}-dj{22,31,32} + py{38,39,310}-dj{40} + py{38,39,310}-djmain py38-{lint,docs} [gh-actions] @@ -13,6 +13,7 @@ python = 3.7: py37 3.8: py38 3.9: py39 + 3.10: py310 [testenv] usedevelop = true