From 4a618e080ac904cb9bbcd0066878d3e06014437e Mon Sep 17 00:00:00 2001 From: Amine Zyad Date: Mon, 6 Nov 2023 11:19:17 +0100 Subject: [PATCH] Added CI runs for Django 5.0 and Python 3.12 (#1618) * Added Django50 test support * Updated CI to support Python 3.12 --- .github/workflows/tests.yml | 2 +- tox.ini | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 58f3417a..9882636b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index d3ce9be5..21e590f9 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,7 @@ envlist = {py37,py38,py39,py310}-django32, {py38,py39}-{django40,django41,django42}, {py310, py311}-{django41,django42,latest}, + {py310, py311, py312}-{django41,django42,django50,latest}, isort,lint,docs,warnings, isolated_build = true @@ -21,9 +22,10 @@ deps = django40: Django>=4.0,<4.1 django41: Django>=4.1,<4.2 django42: Django>=4.2rc1,<5.0 + django50: Django>=5.0b1,<5.1 !latest: djangorestframework latest: {[latest]deps} - -rrequirements/test-ci.txt + -r requirements/test-ci.txt [testenv:isort] commands = isort --check-only --diff django_filters tests {posargs}