From 503a54a61cfbc6ea154ed3c68b8ad6af8fe6451a Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 07:37:50 -0500 Subject: [PATCH] feat: add python 3.12 support --- .github/workflows/ci.yml | 2 +- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd9504f3..d831d507 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: tox-env: [quality, django42] - python-version: [3.8] + python-version: [3.8, '3.8', '3.12'] db-version: ['mysql80'] steps: diff --git a/tox.ini b/tox.ini index f86f0fd0..efa09ee2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,12 @@ [tox] -envlist = py38-django{42},quality +envlist = py{38, 312}-django{42},quality skipsdist = True [pycodestyle] max-line-length = 120 [pytest] -DJANGO_SETTINGS_MODULE = xqueue.test_settings +django_settings_module = xqueue.test_settings addopts = --nomigrations --reuse-db --durations=20 filterwarnings = default norecursedirs = .* jenkins load_tests log reports script test_framework xqueue