diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e39fa0bb..3936fa58 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: [django32, django40, django42, quality] + python-version: + - '3.8' + - '3.12' + toxenv: [django42, quality] steps: - uses: actions/checkout@v2 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 7c8a02cb..fcf78988 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -17,4 +17,6 @@ ddt < 1.4.0 # greater version breaking quality build. fix in separate PR. -pylint==2.10.2 \ No newline at end of file +pylint==2.10.2 + +backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" \ No newline at end of file diff --git a/tox.ini b/tox.ini index fa71d60a..d7a9de24 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,12 @@ [tox] -envlist = py38-django{32,40,42},quality +envlist = py{38, 312}-django{42},quality [testenv] setenv = DJANGO_SETTINGS_MODULE = edxsearch.settings PYTHONPATH = {toxinidir} -deps = - django32: Django>=3.2,<4.0 - django40: Django>=4.0,<4.1 +deps = + setuptools django42: Django>=4.2,<4.3 -r {toxinidir}/requirements/testing.txt commands = @@ -21,4 +20,3 @@ deps = -r{toxinidir}/requirements/quality.txt commands = make quality -