Skip to content

Commit

Permalink
Add Python 3.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Chen-Wang committed Oct 7, 2021
1 parent 70da760 commit 4cd9ae2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -13,6 +13,7 @@ python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310

[testenv]
usedevelop = true
Expand Down

0 comments on commit 4cd9ae2

Please sign in to comment.