diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1437417..bbabee2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: max-parallel: 5 matrix: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.8'] - django-version: ['2.2', '3.2', '4.0'] + django-version: ['4.0', '4.1', '4.2', '5.0'] include: # Tox configuration for documentation environment - python-version: '3.7' @@ -32,11 +32,24 @@ jobs: - python-version: '3.11' django-version: 'main' experimental: true + - python-version: '3.12' + django-version: 'main' + experimental: true exclude: # Exclude Django 4.0 for Python 3.7 as it is not supported - python-version: '3.7' django-version: '4.0' - + - python-version: '3.7' + django-version: '4.1' + - python-version: '3.7' + django-version: '4.2' + - python-version: '3.7' + django-version: '5.0' + - python-version: '3.8' + django-version: '5.0' + - python-version: '3.9' + django-version: '5.0' + - python-version: '3.10' steps: - uses: actions/checkout@v2 diff --git a/docs/installation.rst b/docs/installation.rst index 74db388..2f94ca4 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -27,9 +27,9 @@ 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, 3.10, and 3.11. +Currently, django-recurrence supports Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, and 3.12. -django-recurrence is currently tested with django 2.2, 3.2, and 4.0 +django-recurrence is currently tested with django 2.2, 3.2, 4.0, 4.1, 4.2, and 5.0 Set up internationalization --------------------------- diff --git a/setup.py b/setup.py index e70ab8e..69d8169 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", diff --git a/tox.ini b/tox.ini index 80316b7..07cc6af 100644 --- a/tox.ini +++ b/tox.ini @@ -1,28 +1,30 @@ [tox] envlist = - py37-djdocs - py37-djqa - 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 + py312-djdocs + py312-djqa + py{38,39,310,py38}-dj40 + py{38,39,310,311,py38}-dj41 + py{38,39,310,311,312,py38}-dj42 + py{310,311,312}-dj50 + py{310,311,312,py38}-djmain [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 pypy-3.8: pypy38 [gh-actions:env] DJANGO = docs: djdocs qa: djqa - 2.2: dj22 - 3.2: dj32 4.0: dj40 + 4.1: dj41 + 4.2: dj42 + 5.0: dj50 main: djmain [testenv] @@ -31,15 +33,16 @@ setenv = PYTHONDONTWRITEBYTECODE=1 deps = -r requirements.txt - dj22: django>=2.2,<2.3 - dj32: django>=3.2,<3.3 dj40: django>=4.0,<4.1 + dj41: django>=4.1,<4.2 + dj42: django>=4.2,<4.3 + dj50: django>=5.0,<5.1 djmain: https://github.com/django/django/archive/main.tar.gz commands = pytest -[testenv:py37-djqa] -basepython = python3.7 +[testenv:py310-djqa] +basepython = python3.10 ignore_errors = true deps = -r requirements.txt @@ -48,8 +51,8 @@ commands = flake8 setup.py flake8 tests -[testenv:py37-djdocs] -basepython = python3.7 +[testenv:py310-djdocs] +basepython = python3.10 changedir = docs deps = -r requirements.txt