From a6b00f2e7d6abb38caf71a276a8e196ec9f25a53 Mon Sep 17 00:00:00 2001 From: Ben Konrath Date: Tue, 24 Dec 2024 16:22:08 +0000 Subject: [PATCH] Added testing on Django 5.1 (#512) --- .github/workflows/test.yml | 3 ++- tox.ini | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7902e0e0..2cd020ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' architecture: x64 - name: Install tox run: | @@ -49,6 +49,7 @@ jobs: - '3.10' - '3.11' - '3.12' + - '3.13' name: Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index c90ce274..1e0760c7 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,8 @@ envlist = {py38,py39,py310,py311,pypy39}-django-4.1 {py38,py39,py310,py311,pypy39}-django-4.2 {py310,py311,py312}-django-5.0 - {py310,py311,py312}-django-main + {py310,py311,py312,py313}-django-5.1 + {py310,py311,py312,py313}-django-main [testenv] basepython = @@ -15,6 +16,7 @@ basepython = py310: python3.10 py311: python3.11 py312: python3.12 + py313: python3.13 pypy39: pypy3.9 usedevelop = true pip_pre = true @@ -26,7 +28,8 @@ deps = django-3.2: Django>=3.2,<3.3 django-4.1: Django>=4.1,<4.2 django-4.2: Django>=4.2,<4.3 - django-5.0: Django>=5.0rc1,<5.1 + django-5.0: Django>=5.0,<5.1 + django-5.1: Django>=5.1,<5.2 django-main: https://github.com/django/django/archive/main.tar.gz -r{toxinidir}/tests/requirements.txt @@ -34,7 +37,7 @@ deps = deps = Sphinx>=1.3 -r{toxinidir}/docs/requirements.txt -basepython = python3.11 +basepython = python3.12 commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html