Skip to content

Commit

Permalink
feat: add python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot committed Feb 23, 2024
1 parent 8fa11d1 commit 5556e28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, docs, django32-drflatest, django42-drflatest, check_keywords]
python-version:
- '3.8'
- '3.12'
toxenv: [quality, docs, django32-drflatest, django42-drflatest, check_keywords,
django42]
steps:
- uses: actions/checkout@v4
- name: setup python
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{32,42}-drf{latest},quality,docs
envlist = py{38, 312}-django{42}-drf{latest},quality,docs

[pycodestyle]
exclude = .git,.tox,migrations
Expand All @@ -18,7 +18,6 @@ setenv =
PYTHONPATH = {toxinidir}/mock_apps
DJANGO_SETTINGS_MODULE = test_settings
deps =
django32: Django>=3.2,<4.0
django42: Django>=4.2,<4.3
drflatest: djangorestframework
-r{toxinidir}/requirements/test.txt
Expand Down Expand Up @@ -60,9 +59,10 @@ commands =
make help

[testenv:check_keywords]
whitelist_externals =
whitelist_externals =
make
deps =
deps =
-r{toxinidir}/requirements/test.txt
commands =
commands =
make check_keywords

0 comments on commit 5556e28

Please sign in to comment.