From 73833568c2f3ae80799f35fc2e22ed90b4924266 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 07:37:30 -0500 Subject: [PATCH] feat: add python 3.12 support --- .github/workflows/ci.yml | 6 ++++-- tox.ini | 15 +++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01598ad..1ba7e70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,10 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [py38-django32, py38-django42, quality] + python-version: + - '3.8' + - '3.12' + toxenv: [py38-django32, py38-django42, quality, django42] steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index bbc23db..243e350 100644 --- a/tox.ini +++ b/tox.ini @@ -1,21 +1,20 @@ [tox] -envlist = py38-django{32, 42}, quality +envlist = py{38, 312}-django{42}, quality [testenv] -allowlist_externals = +allowlist_externals = make -deps = - django32: Django>=3.2,<4.0 +deps = django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt -commands = +commands = make test [testenv:quality] -allowlist_externals = +allowlist_externals = make -deps = +deps = -r{toxinidir}/requirements/quality.txt -commands = +commands = make quality