From 3d27dbf68c557a25f8770a6600b7efe4f2542ab9 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 07:37:37 -0500 Subject: [PATCH] feat: add python 3.12 support --- .github/workflows/ci.yml | 6 ++++-- tox.ini | 3 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ef3acf..7e35496 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,10 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [quality, django32, django42] + python-version: + - '3.8' + - '3.12' + toxenv: [quality, django42] steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index b48f98f..e938306 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{32,42}, quality +envlist = py{38, 312}-django{42}, quality [pytest] addopts = --cov=tests --cov-report term --cov-config=.coveragerc -p no:randomly @@ -7,7 +7,6 @@ testpaths = tests [testenv] deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 -r requirements/test.txt commands = pytest {posargs}