diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2cf6c60..5227d4e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -3,7 +3,7 @@ on: pull_request: jobs: validate: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: python-version: ['3.11', '3.12'] diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 14b354e..d8da3d6 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -7,7 +7,7 @@ on: jobs: push: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 24d00dc..7cdb2df 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -12,4 +12,3 @@ # This file contains all common constraints for edx-repos -c common_constraints.txt -backports.zoneinfo;python_version<"3.9" diff --git a/requirements/pip_tools.in b/requirements/pip_tools.in index caf45a9..056da12 100644 --- a/requirements/pip_tools.in +++ b/requirements/pip_tools.in @@ -1,4 +1,4 @@ - # Dependencies to run compile tools +# Dependencies to run compile tools -c constraints.txt pip-tools # Contains pip-compile, used to generate pip requirements files diff --git a/requirements/quality.txt b/requirements/quality.txt index 359532a..b6d2e41 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -53,7 +53,7 @@ packaging==24.1 # via # -r requirements/test.txt # pytest -platformdirs==4.3.1 +platformdirs==4.3.2 # via pylint pluggy==1.5.0 # via diff --git a/requirements/tox.txt b/requirements/tox.txt index 8315425..c6769e2 100644 --- a/requirements/tox.txt +++ b/requirements/tox.txt @@ -20,7 +20,7 @@ packaging==24.1 # via # pyproject-api # tox -platformdirs==4.3.1 +platformdirs==4.3.2 # via # tox # virtualenv diff --git a/requirements/travis.txt b/requirements/travis.txt index 6cb6b5b..0130671 100644 --- a/requirements/travis.txt +++ b/requirements/travis.txt @@ -42,7 +42,7 @@ packaging==24.1 # -r requirements/tox.txt # pyproject-api # tox -platformdirs==4.3.1 +platformdirs==4.3.2 # via # -r requirements/tox.txt # tox diff --git a/tox.ini b/tox.ini index dc039fb..5dbd350 100644 --- a/tox.ini +++ b/tox.ini @@ -4,21 +4,21 @@ envlist = py{311,312}-django{42},coverage,quality [testenv] deps = - django42: Django>=4.2,<4.3 + django42: Django>=4.2,<5.0 -rrequirements/test.txt -commands = +commands = pytest [testenv:quality] -deps = +deps = -rrequirements/quality.txt -commands = +commands = {envbindir}/pycodestyle invideoquiz/ {envbindir}/pylint invideoquiz/ [testenv:coverage] -deps = +deps = -rrequirements/test.txt -commands = +commands = coverage run -m pytest