Skip to content

Commit

Permalink
Merge pull request #241 from joshuadavidthomas/py311
Browse files Browse the repository at this point in the history
Add Python 3.11 to CI, tox, and trove classifiers
  • Loading branch information
lino committed Jan 27, 2024
2 parents d4d00d2 + e227da2 commit afcf972
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.8']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.8']
django-version: ['2.2', '3.2', '4.0']
include:
# Tox configuration for documentation environment
Expand All @@ -29,6 +29,9 @@ jobs:
- python-version: '3.10'
django-version: 'main'
experimental: true
- python-version: '3.11'
django-version: 'main'
experimental: true
exclude:
# Exclude Django 4.0 for Python 3.7 as it is not supported
- python-version: '3.7'
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Expand Up @@ -27,7 +27,7 @@ Then, make sure ``recurrence`` is in your ``INSTALLED_APPS`` setting:
Supported Django and Python versions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Currently, django-recurrence supports Python 3.6, 3.7, 3.8, 3.9, and 3.10.
Currently, django-recurrence supports Python 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11.

django-recurrence is currently tested with django 2.2, 3.2, and 4.0

Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -34,6 +34,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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Expand Up @@ -2,17 +2,18 @@
envlist =
py37-djdocs
py37-djqa
py{37,38,39,310,py38}-dj22
py{37,38,39,310,py38}-dj32
py{38,39,310,py38}-dj40
py{38,39,310,py38}-djmain
py{37,38,39,310,311,py38}-dj22
py{37,38,39,310,311,py38}-dj32
py{38,39,310,311,py38}-dj40
py{38,39,310,311,py38}-djmain

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

[gh-actions:env]
Expand Down

0 comments on commit afcf972

Please sign in to comment.