Skip to content

Commit 553e58f

Browse files
committed
Maintenance: Update to Python 3.11
1 parent 0f34067 commit 553e58f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/main.yaml

+3-3
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

+2-2
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

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def read(path: str) -> str:
5151
install_requires=[
5252
"aiopg==1.4.0",
5353
"bitmath==1.3.3.1",
54-
"kopf==1.35.6",
54+
"kopf==1.36.2",
5555
"kubernetes-asyncio==31.1.0",
5656
"PyYAML<7.0",
5757
"prometheus_client==0.21.1",
@@ -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)