Skip to content

Commit d831744

Browse files
authored
Add Python 3.10 support (#113 from @Andrew-Chen-Wang)
2 parents 6716a42 + 8c2606f commit d831744

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
max-parallel: 5
1111
matrix:
12-
python-version: ['3.6', '3.7', '3.8', '3.9']
12+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
1313

1414
steps:
1515
- uses: actions/checkout@v2

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ for Django 2 and above, use ``django-robots>=4.0.0``.
3434
Supported Python version
3535
------------------------
3636

37-
* Python 3.6, 3.7, 3.8
37+
* Python 3.6, 3.7, 3.8, 3.9, 3.10
3838

3939
.. _install section: https://django-robots.readthedocs.io/en/latest/#installation
4040
.. _robots exclusion protocol: http://en.wikipedia.org/wiki/Robots_exclusion_standard

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tox]
22
envlist =
33
# list of supported Django/Python versions:
4-
# https://docs.djangoproject.com/en/3.1/faq/install/#what-python-version-can-i-use-with-django
5-
py{36,37,38,39}-dj{22,31,32}
6-
py{38,39}-dj{40}
7-
py{38,39}-djmain
4+
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
5+
py{36,37,38,39,310}-dj{22,31,32}
6+
py{38,39,310}-dj{40}
7+
py{38,39,310}-djmain
88
py38-{lint,docs}
99

1010
[gh-actions]
@@ -13,6 +13,7 @@ python =
1313
3.7: py37
1414
3.8: py38
1515
3.9: py39
16+
3.10: py310
1617

1718
[testenv]
1819
usedevelop = true

0 commit comments

Comments
 (0)