Skip to content

Commit

Permalink
Drop support for EOL Python and Django versions
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed May 28, 2024
1 parent 6f9f90c commit 5109a0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
13 changes: 6 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
[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
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

0 comments on commit 5109a0d

Please sign in to comment.