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 0fd2534 commit 4d23869
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [
quality, docs, django32-drf314, django42-drf314
]
python-version:
- '3.8'
- '3.12'
toxenv: [quality, docs, django32-drf314, django42-drf314, django42]

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[tox]
envlist = py38-django{32,42}-drf{312, drf314}, quality, docs
envlist = py{38, 312}-django{42}-drf{312, drf314}, quality, docs

[testenv]
setenv =
DJANGO_SETTINGS_MODULE = settings
deps =
-r{toxinidir}/requirements/test.txt
django32: Django>=3.2,<4.0
django42: Django>=4.2,<4.3
drf314: djangorestframework<3.15.0
commands =
commands =
python -Wd -m pytest {posargs}

[testenv:quality]
Expand Down

0 comments on commit 4d23869

Please sign in to comment.