diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3cab676..170afed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,6 @@ jobs: - '5.1' - '5.2' include: - - { django-version: '4.2', python-version: '3.8' } - { django-version: '4.2', python-version: '3.9' } exclude: - { django-version: '4.2', python-version: '3.13' } diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 300d973..367c48b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,8 @@ Unreleased * Migrate packaging from setup.py to pyproject.toml with Ruff for linting and formatting (Peter Bittner) * Remove obsolete type attribute in script tags for JavaScript (Peter Bittner) +* Drop the end-of-life Python 3.8 as required by changed semantics of the + license metadata field (Peter Bittner) Version 3.1.0 ------------- diff --git a/pyproject.toml b/pyproject.toml index b99677a..1c3dfcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,14 @@ [build-system] build-backend = "setuptools.build_meta" -requires = ["setuptools>=64"] +requires = ["setuptools>=80"] [project] name = "django-analytical" dynamic = ["version"] description = "Analytics service integration for Django projects" readme = "README.rst" +license = "MIT" +license-files = ["LICENSE.txt"] authors = [ {name = "Joost Cassee", email = "joost@cassee.net"}, {name = "Joshua Krall", email = "joshuakrall@pobox.com"}, @@ -73,20 +75,20 @@ classifiers=[ "Framework :: Django :: 5.1", "Framework :: Django :: 5.2", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "django>=4.2", ] diff --git a/tox.ini b/tox.ini index 7dfc19d..51f30fe 100644 --- a/tox.ini +++ b/tox.ini @@ -3,8 +3,8 @@ envlist = lint format audit - # Python/Django combinations that are officially supported - py{38,39,310,311,312}-django{42} + # Python/Django combinations that are officially supported (minus end-of-life Pythons) + py{39,310,311,312}-django{42} py{310,311,312,313}-django{51} py{310,311,312,313}-django{52} package @@ -13,7 +13,6 @@ envlist = [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.10: py310