From 88de0b8690e25926256b6fd84d33717d38338124 Mon Sep 17 00:00:00 2001 From: Dylan Verheul Date: Sun, 8 Oct 2023 09:11:30 +0200 Subject: [PATCH] Fix Python and Django versions in test matrix --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 5 +++++ pyproject.toml | 13 ++++--------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 252ae332..4436ef8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index fd8725c9..2a86f0ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## In development + +- Drop support for Python 3.7 in test matrix. +- Fix support for Django 4.2 in test matrix. + ## 23.3 (2023-06-03) - Switch to Hatch for builds and environments (#515). diff --git a/pyproject.toml b/pyproject.toml index a72cd2f7..ac5b6673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,6 @@ classifiers = [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -35,7 +34,7 @@ dynamic = [ license = "BSD-3-Clause" name = "django-bootstrap5" readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" [project.urls] Changelog = "https://github.com/zostera/django-bootstrap5/blob/main/CHANGELOG.md" @@ -67,10 +66,6 @@ cov-report = [ test = "python manage.py test {args:tests}" test-cov = "coverage run manage.py test {args:tests}" -[[tool.hatch.envs.all.matrix]] -django = ["3.2"] -python = ["3.7"] - [[tool.hatch.envs.all.matrix]] django = ["3.2", "4.1", "4.2"] python = ["3.8", "3.9"] @@ -86,17 +81,17 @@ python = ["3.11"] [tool.hatch.envs.all.overrides] matrix.django.dependencies = [ {value = "django~=3.2.0", if = ["3.2"]}, - {value = "django~=4.0.0", if = ["4.0"]}, {value = "django~=4.1.0", if = ["4.1"]}, + {value = "django~=4.2.0", if = ["4.2"]}, {value = "django @ git+https://github.com/django/django.git", if = ["main"]}, ] [tool.hatch.envs.example] -python = "3.11" -template = "example" dependencies = [ "django>=3.2", ] +python = "3.11" +template = "example" [tool.hatch.envs.example.scripts] runserver = [