Skip to content

Commit

Permalink
Add Python 3.10 support (#113 from @Andrew-Chen-Wang)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony authored Jan 5, 2022
2 parents 6716a42 + 8c2606f commit d831744
Show file tree
Hide file tree
Showing 3 changed files with 7 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
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 d831744

Please sign in to comment.