Skip to content

Commit

Permalink
Merge pull request #120 from Crown-Commercial-Service/make-python-3.1…
Browse files Browse the repository at this point in the history
…1-the-min-version

Make Python 3.11 the minimum supported version
  • Loading branch information
tim-s-ccs authored Nov 12, 2024
2 parents f0fe49f + e7741da commit 9cbfbff
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'

- name: Get package version
id: package_version
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.10'
- '3.11'
- '3.12'

Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.11
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Records breaking changes from major version bumps.

## Unreleased

Make Python 3.11 the minimum supported version

## 3.0.1

Upgrade Digital Marketplace Frontend to v2.0.2
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Digital Marketplace Jinja Macros
=========================

![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)
![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)
![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)
[![PyPI version](https://badge.fury.io/py/ccs-digitalmarketplace-frontend-jinja.svg)](https://badge.fury.io/py/ccs-digitalmarketplace-frontend-jinja)
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.10
python_version = 3.11
warn_return_any = True

[mypy-flask.*]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ dynamic = ["version"]
dependencies = [
'jinja2>3',
'ccs-govuk-frontend-jinja>=1.4,<2',
'ccs-digitalmarketplace-utils>=68.0.0',
'ccs-digitalmarketplace-utils>=69.0.0',
]
requires-python = ">=3.10,<3.13"
requires-python = ">=3.11,<3.13"
authors = [
{name = "CCS Developers"},
]
Expand Down
14 changes: 3 additions & 11 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements-dev.in
#
-e file:.
# via -r requirements-dev.in
async-timeout==4.0.3
# via redis
blinker==1.8.2
# via flask
boto3==1.34.142
Expand All @@ -18,9 +16,9 @@ botocore==1.34.142
# s3transfer
cachelib==0.13.0
# via flask-session
ccs-digitalmarketplace-apiclient==27.3.0
ccs-digitalmarketplace-apiclient==28.0.0
# via ccs-digitalmarketplace-utils
ccs-digitalmarketplace-utils==68.1.0
ccs-digitalmarketplace-utils==69.0.0
# via ccs-digitalmarketplace-frontend-jinja
ccs-govuk-frontend-jinja==1.4.0
# via ccs-digitalmarketplace-frontend-jinja
Expand All @@ -40,8 +38,6 @@ defusedxml==0.7.1
# via odfpy
docopt==0.6.2
# via notifications-python-client
exceptiongroup==1.2.1
# via pytest
flake8==7.1.1
# via -r requirements-dev.in
flask==3.0.3
Expand Down Expand Up @@ -135,10 +131,6 @@ s3transfer==0.10.2
# via boto3
six==1.16.0
# via python-dateutil
tomli==2.0.1
# via
# mypy
# pytest
typing-extensions==4.12.2
# via mypy
unicodecsv==0.14.1
Expand Down

0 comments on commit 9cbfbff

Please sign in to comment.