From 13a4f09b01fc24709d9f0ffc4ce67d4c46819dec Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Mon, 26 Feb 2024 14:01:54 +0500 Subject: [PATCH] feat: adding python3.12 support. --- .github/workflows/ci.yml | 4 ++-- tox.ini | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3007fb4..b98bcd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] + python-version: ['3.8', '3.12'] toxenv: [ - quality, docs, django32-drf314, django42-drf314 + quality, docs, django42-drf314 ] steps: diff --git a/tox.ini b/tox.ini index cde9012..95e3485 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,11 @@ [tox] -envlist = py38-django{32,42}-drf{312, drf314}, quality, docs +envlist = py{38,312}-django{42}-drf{312, drf314}, quality, docs [testenv] setenv = DJANGO_SETTINGS_MODULE = settings deps = -r{toxinidir}/requirements/test.txt - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 drf314: djangorestframework<3.15.0 commands =