Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.11 support #138

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,29 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', 'pypy-3.10']
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.10']
django-version: ['2.2', '3.2', '4.0', '4.1', '4.2']
include:
# Tox configuration for QA environment
- python-version: '3.10'
- python-version: '3.11'
django-version: 'qa'
# Django main
- python-version: '3.10'
django-version: 'main'
experimental: true
- python-version: '3.11'
django-version: 'main'
experimental: true
- python-version: 'pypy-3.10'
django-version: 'main'
experimental: true
exclude:
# Exclude Django 2.2 for Python 3.10
- python-version: '3.10'
django-version: '2.2'
# Exclude Django 2.2 for Python 3.11
- python-version: '3.11'
django-version: '2.2'

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down
17 changes: 9 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[tox]
envlist =
py{38,39,py3}-dj22
py{38,39,310,py3}-dj32
py{38,39,310,py3}-dj40
py{38,39,310,py3}-dj41
py{38,39,310,py3}-dj42
py{310,py3}-djmain
py310-djqa
py{38,39,310,311,py3}-dj32
py{38,39,310,311,py3}-dj40
py{38,39,310,311,py3}-dj41
py{38,39,310,311,py3}-dj42
py{310,311,py3}-djmain
py311-djqa

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
pypy-3.10: pypy3

[gh-actions:env]
Expand Down Expand Up @@ -47,9 +48,9 @@ commands =
coverage report -m
coverage xml

[testenv:py310-djqa]
[testenv:py311-djqa]
ignore_errors = true
basepython = python3.10
basepython = python3.11
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
deps =
Expand Down
Loading