From 19b759f76cb082bd9da383bcbf25922db73290f1 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 07:37:42 -0500 Subject: [PATCH] feat: add python 3.12 support --- .github/workflows/ci.yml | 6 ++++-- tox.ini | 5 ++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0efc7b6b8..09c4b231d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,10 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ['3.8'] - toxenv: [quality, django32, django42] + python-version: + - '3.8' + - '3.12' + toxenv: [quality, django42] steps: - uses: actions/checkout@v3 diff --git a/tox.ini b/tox.ini index 16ea4b3d3..2ba159b70 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,14 @@ [tox] -envlist = py38-django{32,42}, quality, docs +envlist = py{38, 312}-django{42}, quality, docs [pytest] -DJANGO_SETTINGS_MODULE = xblock.test.settings +django_settings_module = xblock.test.settings addopts = --cov xblock filterwarnings = always norecursedirs = .* docs requirements [testenv] deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 -r requirements/test.txt changedir = {envsitepackagesdir}