Skip to content

Commit

Permalink
Add support for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
sandre35 committed Oct 27, 2023
1 parent 9eb76dd commit f8f79fb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
python-version:
- 3.8
- 3.9
- 3.10
django:
- django32
steps:
Expand Down
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ matrix:
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
- {env: DJANGO=3.2, python: '3.8'}
- {env: DJANGO=3.2, python: '3.9'}
- {env: DJANGO=3.2, python: '3.10'}
- {env: DJANGO=3.2, python: 'nightly'}

- {env: DJANGO=master, python: '3.8'}
- {env: DJANGO=master, python: '3.9'}
- {env: DJANGO=master, python: '3.10'}
- {env: DJANGO=master, python: 'nightly'}

- {python: '3.9', env: TOXENV=docstring}
- {python: '3.9', env: TOXENV=quality}
- {python: '3.10', env: TOXENV=docstring}
- {python: '3.10', env: TOXENV=quality}

allow_failures:
- python: 'nightly'
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
1.4.2 (unreleased)
------------------

- Add support for Python 3.10
- Drop support for Python 3.6 & 3.7
- Drop support for Django 3.1
- Drop support for Django 2.2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def read(filename):
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
include_package_data=True,
)
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39,nightly}-django{32,main}
py{38,39,310,nightly}-django{32,main}
quality
docstring

Expand All @@ -18,7 +18,7 @@ passenv =
DB_PASSWORD

[testenv:quality]
basepython = python3.9
basepython = python3.10
commands = /usr/bin/make quality
deps =
-rrequirements/quality.txt

0 comments on commit f8f79fb

Please sign in to comment.