Skip to content

Commit

Permalink
Merge pull request #74 from Crown-Commercial-Service/make-python-3.10…
Browse files Browse the repository at this point in the history
…-the-base-version

Make Python 3.10 the base version and add support for Python 3.12
  • Loading branch information
tim-s-ccs authored May 8, 2024
2 parents 222968e + e85da82 commit ca94913
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 11 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.9'
python-version: '3.10'

- 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.9'
python-version: '3.10'

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

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.7
3.10
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Records breaking changes from major version bumps

## 25.5.0

Add support for Python 3.12

## 25.4.0

Rename `conversation` methods to `communication` as this is the term we are using for the model and routes now
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Digital Marketplace API client
=========================

![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)
![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)

## What's in here?

Expand Down
2 changes: 1 addition & 1 deletion dmapiclient/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '25.8.0'
__version__ = '25.9.0'

from .errors import APIError, HTTPError, InvalidResponse # noqa
from .errors import REQUEST_ERROR_STATUS_CODE, REQUEST_ERROR_MESSAGE # noqa
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.9
python_version = 3.10
files = dmapiclient
warn_return_any = True

Expand Down
6 changes: 1 addition & 5 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements-dev.in
Expand Down Expand Up @@ -33,8 +33,6 @@ flask==3.0.3
# via -r requirements-dev.in
idna==2.10
# via requests
importlib-metadata==4.0.1
# via flask
iniconfig==2.0.0
# via pytest
itsdangerous==2.1.2
Expand Down Expand Up @@ -91,5 +89,3 @@ urllib3==2.2.0
# types-requests
werkzeug==3.0.1
# via flask
zipp==3.4.1
# via importlib-metadata
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
install_requires=[
'requests<3,>=2.18.4',
],
python_requires=">=3.9,<3.12",
python_requires=">=3.9,<3.13",
)

0 comments on commit ca94913

Please sign in to comment.