diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2afb18f..e5a3efb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest'] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.12'] + python-version: ['3.8', '3.12'] steps: - uses: actions/checkout@v4 - name: 'Set up Python ${{ matrix.python-version }}' diff --git a/pyproject.toml b/pyproject.toml index b1079cb..ada3233 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,12 +8,12 @@ dynamic = ["version"] description = "Paikkavarauskala" readme = "README.md" license = "MIT" -requires-python = ">=3.7" +requires-python = ">=3.8" authors = [ { name = "Aarni Koskela", email = "akx@iki.fi" }, ] dependencies = [ - "Django>=3.0", + "Django>=4.2", ] [project.optional-dependencies] diff --git a/tox.ini b/tox.ini index ce0d33d..3fc6a2c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,15 @@ [tox] isolated_build = True envlist = - {py37,py38,py39}-django{30,31,32} - py39-django{42} + py38-django{42} + py{310,311,312}-django{50} [gh-actions] python = - 3.7: py37 3.8: py38 - 3.9: py39 + 3.10: py310 + 3.11: py311 + 3.12: py312 [testenv] commands = py.test -ra -vvv --cov=paikkala --cov-report=term-missing @@ -16,7 +17,5 @@ extras = dev printing deps = - django30: Django~=3.0.0 - django31: Django~=3.1.0 - django32: Django~=3.2.0 django42: Django~=4.2.0 + django50: Django~=5.0.0