Skip to content

Commit 6cecb4f

Browse files
committed
Maintenance: Update to Python 3.11
1 parent 0f34067 commit 6cecb4f

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: "3.10"
22+
python-version: "3.11"
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip pre-commit
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/checkout@v4
4747
- uses: actions/setup-python@v5
4848
with:
49-
python-version: "3.10"
49+
python-version: "3.11"
5050
- name: Install dependencies
5151
run: |
5252
python -m pip install ".[docs]"
@@ -65,7 +65,7 @@ jobs:
6565
- name: Set up Python
6666
uses: actions/setup-python@v5
6767
with:
68-
python-version: "3.10"
68+
python-version: "3.11"
6969
- name: Install dependencies
7070
run: |
7171
python -m pip install --upgrade -e ".[testing]"

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.10-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==70.3.0 && \
1414

1515

1616
# Run container
17-
FROM python:3.10-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
@@ -85,7 +85,10 @@ def read(path: str) -> str:
8585
"Development Status :: 5 - Production/Stable",
8686
"License :: OSI Approved :: Apache Software License",
8787
"Programming Language :: Python :: 3",
88+
"Programming Language :: Python :: 3.8",
89+
"Programming Language :: Python :: 3.9",
8890
"Programming Language :: Python :: 3.10",
91+
"Programming Language :: Python :: 3.11",
8992
],
9093
use_scm_version=True,
9194
)

0 commit comments

Comments
 (0)