From 769c6d757881cb00c6f84e0aecfc98d4d0de3514 Mon Sep 17 00:00:00 2001 From: tim-s-ccs Date: Fri, 16 Feb 2024 14:23:40 +0000 Subject: [PATCH] Add testing for newer versions of python --- .github/workflows/test.yml | 6 +++++- CHANGELOG.md | 11 ++++++++++- digitalmarketplace_frontend_jinja/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58f1113..92a0040 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ 3.9 ] + python-version: + - '3.9' + - '3.10' + - '3.11' + steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1d036..0e2cc91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,16 @@ Records breaking changes from major version bumps. -## Release 1.1.0 +## 1.2.0 + +Allow for use with all currently maintained Python versions: +- 3.9 +- 3.10 +- 3.11 + +Note, because ccs-digitalmarketplace-utils does not support 3.12 yet, neither can we. + +## 1.1.0 Upgrade Flask to v2 and, therefore, Jinja to v3 diff --git a/digitalmarketplace_frontend_jinja/__init__.py b/digitalmarketplace_frontend_jinja/__init__.py index 1a72d32..58d478a 100644 --- a/digitalmarketplace_frontend_jinja/__init__.py +++ b/digitalmarketplace_frontend_jinja/__init__.py @@ -1 +1 @@ -__version__ = '1.1.0' +__version__ = '1.2.0' diff --git a/setup.py b/setup.py index e1d9d4d..dddfc2c 100644 --- a/setup.py +++ b/setup.py @@ -34,5 +34,5 @@ 'govuk-frontend-jinja>=2.8.0,<3', 'ccs-digitalmarketplace-utils>=65.0.0', ], - python_requires="~=3.9", + python_requires=">=3.9,<3.12", )