From 805f931790c638cd0ea6ef6fbc5b1726125e938e Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 07:37:36 -0500 Subject: [PATCH] feat: add python 3.12 support --- .github/workflows/ci.yml | 6 ++++-- tox.ini | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6815697..17b207f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,10 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [django32, django40, quality] + python-version: + - '3.8' + - '3.12' + toxenv: [quality, django42] steps: - uses: actions/checkout@v2 - name: Setup Python diff --git a/tox.ini b/tox.ini index 9cf3f3c..20dafff 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,11 @@ [tox] -envlist = py38-django{32,40},quality +envlist = py{38, 312}-django{42},quality [testenv] deps = -r{toxinidir}/requirements/test.txt - django32: Django>=3.2,<4.0 - django40: Django>=4.0,<4.1 + django42: Django>=4.2,<4.3 + commands = coverage run setup.py test python -m coverage xml