Skip to content

Commit b79d886

Browse files
fix: add explicit Python 3.11 support
1 parent bc03a3d commit b79d886

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include:
66

77
# Global --------------------------
88

9-
image: python:3.10
9+
image: python:3.11
1010

1111
variables:
1212
PIP_CACHE_DIR: "${CI_PROJECT_DIR}/.cache/pip"
@@ -68,7 +68,7 @@ test:
6868
extends: .test
6969
parallel:
7070
matrix:
71-
- DOCKER_IMAGE: "python:3.10"
71+
- DOCKER_IMAGE: "python:3.11"
7272
- DOCKER_IMAGE: "python:3.6"
7373
EXTRA_POETRY_ADD_ARGUMENT: "[email protected]"
7474
USE_MOCK_SERVER: "use mock server"
@@ -80,14 +80,16 @@ test:
8080
USE_MOCK_SERVER: "use mock server"
8181
- DOCKER_IMAGE: "python:3.10"
8282
USE_MOCK_SERVER: "use mock server"
83+
- DOCKER_IMAGE: "python:3.11"
84+
USE_MOCK_SERVER: "use mock server"
8385
- DOCKER_IMAGE: "python:3.6"
8486
EXTRA_POETRY_ADD_ARGUMENT: "[email protected] [email protected]"
8587
USE_MOCK_SERVER: "use mock server"
8688
- DOCKER_IMAGE: "python:3.9"
8789
EXTRA_POETRY_ADD_ARGUMENT: "[email protected]"
8890
USE_MOCK_SERVER: "use mock server"
89-
- DOCKER_IMAGE: "python:3.10"
90-
# Set minimum possible requests and urllib3 versions to work with Python 3.10
91+
- DOCKER_IMAGE: "python:3.11"
92+
# Set minimum possible requests and urllib3 versions to work with Python 3.11
9193
EXTRA_POETRY_ADD_ARGUMENT: "[email protected] [email protected]"
9294
USE_MOCK_SERVER: "use mock server"
9395
image: ${DOCKER_IMAGE}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77

88
## [Unreleased]
9+
### Added
10+
* State explicitly that this library supports Python 3.11.
911
### Fixed
1012
* Fix `py` dependency by upgrading `pytest` version to 7.2.0 for Python 3.7+.
1113
For Python 3.6 tests `pytest` needs to be added manually.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ explained in this [bug report][bug-report-ubuntu-2204].
4141

4242
### Requirements
4343

44-
The library is tested with Python versions 3.6 to 3.10.
44+
The library is tested with Python versions 3.6 to 3.11.
4545

4646
The `requests` module is used to perform HTTP requests; the minimum is version
4747
2.0.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
# classifiers, the 3.6 one will be missing because we specify >=3.6.2
2020
"Programming Language :: Python :: 3.6",
2121
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
2223
]
2324
include = [
2425
"CHANGELOG.md",

0 commit comments

Comments
 (0)