Skip to content

Commit 7cee2ad

Browse files
committed
Test Python 3.11
1 parent 9817e4d commit 7cee2ad

File tree

5 files changed

+15
-12
lines changed

5 files changed

+15
-12
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ jobs:
6565
matrix:
6666
include:
6767
- name: linting,docs
68-
python: '3.8'
68+
python: '3.10'
6969
allow_failure: false
7070

71-
- name: py310-dj41-postgres-xdist-coverage
72-
python: '3.10'
71+
- name: py311-dj41-postgres-xdist-coverage
72+
python: '3.11'
7373
allow_failure: false
7474

7575
- name: py310-dj40-postgres-xdist-coverage
@@ -80,12 +80,12 @@ jobs:
8080
python: '3.10'
8181
allow_failure: false
8282

83-
- name: py39-dj41-mysql_innodb-coverage
84-
python: '3.9'
83+
- name: py311-dj41-mysql_innodb-coverage
84+
python: '3.11'
8585
allow_failure: false
8686

87-
- name: py39-dj40-mysql_innodb-coverage
88-
python: '3.9'
87+
- name: py310-dj40-mysql_innodb-coverage
88+
python: '3.10'
8989
allow_failure: false
9090

9191
- name: py39-dj32-mysql_innodb-xdist-coverage
@@ -100,8 +100,8 @@ jobs:
100100
python: '3.8'
101101
allow_failure: false
102102

103-
- name: py38-dj32-sqlite-xdist-coverage
104-
python: '3.8'
103+
- name: py37-dj32-sqlite-xdist-coverage
104+
python: '3.7'
105105
allow_failure: false
106106

107107
- name: py310-djmain-sqlite-coverage

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pytest-django allows you to test your Django project/applications with the
3232
<https://pytest-django.readthedocs.io/en/latest/contributing.html>`_
3333
* Version compatibility:
3434

35-
* Django: 3.2, 4.0 and latest main branch (compatible at the time of
35+
* Django: 3.2, 4.0, 4.1 and latest main branch (compatible at the time of
3636
each release)
3737
* Python: CPython>=3.7 or PyPy 3
3838
* pytest: >=5.4

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Improvements
99

1010
* Official Django 4.1 support.
1111

12+
* Official Python 3.11 support.
13+
1214
* Drop support for Python version 3.6.
1315

1416
v4.5.2 (2021-12-07)

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers =
2424
Programming Language :: Python :: 3.8
2525
Programming Language :: Python :: 3.9
2626
Programming Language :: Python :: 3.10
27+
Programming Language :: Python :: 3.11
2728
Programming Language :: Python :: Implementation :: CPython
2829
Programming Language :: Python :: Implementation :: PyPy
2930
Topic :: Software Development :: Testing

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ commands =
6161

6262
[testenv:doc8]
6363
extras =
64-
basepython = python3.8
64+
basepython = python3
6565
skip_install = true
6666
deps =
6767
sphinx
@@ -76,7 +76,7 @@ commands = sphinx-build -n -W -b html -d docs/_build/doctrees docs docs/_build/h
7676

7777
[testenv:readme]
7878
extras =
79-
basepython = python3.8
79+
basepython = python3
8080
deps =
8181
readme_renderer
8282
commands =

0 commit comments

Comments
 (0)