From f62d1615367186b654b4d4ac7193e3e0b4fd002f Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 04:26:42 -0500 Subject: [PATCH] feat: add python312 support --- .github/workflows/ci.yml | 6 ++++-- tox.ini | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 168f1d2..2443021 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: [quality, django32, django42, check_keywords] + python-version: + - '3.8' + - '3.12' + toxenv: [quality, django42, check_keywords] steps: - uses: actions/checkout@v3 diff --git a/tox.ini b/tox.ini index bf771d5..51ed0d5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,11 @@ [tox] -envlist = py38-django{32,42},quality +envlist = py{38, 312}-django{42},quality [pycodestyle] max-line-length = 120 [testenv] deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt commands = @@ -18,9 +17,10 @@ commands = pylint --rcfile=pylintrc auth_backends [testenv:check_keywords] -whitelist_externals = +whitelist_externals = make -deps = +deps = -r{toxinidir}/requirements/test.txt -commands = +commands = make check_keywords +