Skip to content

Commit 79467c2

Browse files
committed
Maintenance: Update to Python 3.11
1 parent 990341a commit 79467c2

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v4
2020
with:
21-
python-version: 3.8
21+
python-version: "3.11"
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip pre-commit
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/checkout@v3
4646
- uses: actions/setup-python@v4
4747
with:
48-
python-version: 3.8
48+
python-version: "3.11"
4949
- name: Install dependencies
5050
run: |
5151
python -m pip install ".[docs]"
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set up Python
6565
uses: actions/setup-python@v4
6666
with:
67-
python-version: 3.8
67+
python-version: "3.11"
6868
- name: Install dependencies
6969
run: |
7070
python -m pip install --upgrade -e ".[testing]"

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Changelog
55
Unreleased
66
----------
77

8+
* Maintenance: Update to Python 3.11
9+
810
2.39.0 (2024-05-22)
911
-------------------
1012

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build container
2-
FROM python:3.8-slim AS build
2+
FROM python:3.11-slim AS build
33

44
RUN mkdir -pv /src
55

@@ -14,7 +14,7 @@ RUN python -m pip install -U setuptools==65.5.1 && \
1414

1515

1616
# Run container
17-
FROM python:3.8-slim
17+
FROM python:3.11-slim
1818

1919
LABEL license="Apache License 2.0" \
2020
maintainer="Crate.IO GmbH <[email protected]>" \

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ def read(path: str) -> str:
9090
"License :: OSI Approved :: Apache Software License",
9191
"Programming Language :: Python :: 3",
9292
"Programming Language :: Python :: 3.8",
93+
"Programming Language :: Python :: 3.9",
94+
"Programming Language :: Python :: 3.10",
95+
"Programming Language :: Python :: 3.11",
9396
],
9497
use_scm_version=True,
9598
)

0 commit comments

Comments
 (0)