From 4b17f8317dd82d36d439bba7c92de015b0b8ecc0 Mon Sep 17 00:00:00 2001 From: Matt Shaw Date: Tue, 15 Oct 2024 11:42:00 +0100 Subject: [PATCH] drop 3.8, add 3.13 --- .github/workflows/python-package.yml | 2 +- CHANGELOG.md | 5 +++++ requirements-test-3.10.txt | 2 +- requirements-test-3.11.txt | 2 +- requirements-test-3.12.txt | 2 +- ...ents-test-3.8.txt => requirements-test-3.13.txt | 10 +++------- requirements-test-3.9.txt | 6 +++--- setup.py | 14 +++++++------- 8 files changed, 22 insertions(+), 21 deletions(-) rename requirements-test-3.8.txt => requirements-test-3.13.txt (64%) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index edb0f9b..69c0724 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 150c131..1e3cd4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added - [GOV.UK Frontend v5.7.1](https://github.com/alphagov/govuk-frontend/releases/tag/v5.7.1) support +- Python 3.13 support + +### Removed + +- Python 3.8 support ## [3.3.0](https://github.com/LandRegistry/govuk-frontend-jinja/releases/tag/3.3.0) - 29/08/2024 diff --git a/requirements-test-3.10.txt b/requirements-test-3.10.txt index 2ee5911..014c02a 100644 --- a/requirements-test-3.10.txt +++ b/requirements-test-3.10.txt @@ -16,7 +16,7 @@ itsdangerous==2.2.0 # via flask jinja2==3.1.4 # via flask -markupsafe==2.1.5 +markupsafe==3.0.1 # via # jinja2 # werkzeug diff --git a/requirements-test-3.11.txt b/requirements-test-3.11.txt index 8c61e90..ef85982 100644 --- a/requirements-test-3.11.txt +++ b/requirements-test-3.11.txt @@ -16,7 +16,7 @@ itsdangerous==2.2.0 # via flask jinja2==3.1.4 # via flask -markupsafe==2.1.5 +markupsafe==3.0.1 # via # jinja2 # werkzeug diff --git a/requirements-test-3.12.txt b/requirements-test-3.12.txt index c7f4ced..103d42b 100644 --- a/requirements-test-3.12.txt +++ b/requirements-test-3.12.txt @@ -16,7 +16,7 @@ itsdangerous==2.2.0 # via flask jinja2==3.1.4 # via flask -markupsafe==2.1.5 +markupsafe==3.0.1 # via # jinja2 # werkzeug diff --git a/requirements-test-3.8.txt b/requirements-test-3.13.txt similarity index 64% rename from requirements-test-3.8.txt rename to requirements-test-3.13.txt index 2069977..159eda8 100644 --- a/requirements-test-3.8.txt +++ b/requirements-test-3.13.txt @@ -1,8 +1,8 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.13 # by the following command: # -# pip-compile --output-file=requirements-test-3.8.txt requirements-test.in +# pip-compile --output-file=requirements-test-3.13.txt requirements-test.in # blinker==1.8.2 # via flask @@ -12,13 +12,11 @@ flake8==7.1.1 # via -r requirements-test.in flask==3.0.3 # via -r requirements-test.in -importlib-metadata==8.4.0 - # via flask itsdangerous==2.2.0 # via flask jinja2==3.1.4 # via flask -markupsafe==2.1.5 +markupsafe==3.0.1 # via # jinja2 # werkzeug @@ -30,5 +28,3 @@ pyflakes==3.2.0 # via flake8 werkzeug==3.0.4 # via flask -zipp==3.20.1 - # via importlib-metadata diff --git a/requirements-test-3.9.txt b/requirements-test-3.9.txt index fe56803..6ffcf17 100644 --- a/requirements-test-3.9.txt +++ b/requirements-test-3.9.txt @@ -12,13 +12,13 @@ flake8==7.1.1 # via -r requirements-test.in flask==3.0.3 # via -r requirements-test.in -importlib-metadata==8.4.0 +importlib-metadata==8.5.0 # via flask itsdangerous==2.2.0 # via flask jinja2==3.1.4 # via flask -markupsafe==2.1.5 +markupsafe==3.0.1 # via # jinja2 # werkzeug @@ -30,5 +30,5 @@ pyflakes==3.2.0 # via flake8 werkzeug==3.0.4 # via flask -zipp==3.20.1 +zipp==3.20.2 # via importlib-metadata diff --git a/setup.py b/setup.py index 3efbe07..bd8eaa3 100644 --- a/setup.py +++ b/setup.py @@ -24,19 +24,19 @@ package_data={"govuk_frontend_jinja": components}, classifiers=[ "Development Status :: 5 - Production/Stable", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", + "Environment :: Web Environment", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: MIT License", - "Environment :: Web Environment", - "Operating System :: OS Independent", - "Intended Audience :: Developers", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.9", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: User Interfaces", "Topic :: Text Processing :: Markup :: HTML", ], - python_requires=">=3.8", + python_requires=">=3.9", install_requires=["jinja2!=3.0.0,!=3.0.1"], )