Skip to content

Commit b1bfc96

Browse files
committed
Maintenance: Update to Python 3.10
1 parent 59316c6 commit b1bfc96

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
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.8
22+
python-version: "3.10"
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.8
49+
python-version: "3.10"
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.8
68+
python-version: "3.10"
6969
- name: Install dependencies
7070
run: |
7171
python -m pip install --upgrade -e ".[testing]"

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build:
33
os: "ubuntu-22.04"
44
tools:
5-
python: "3.9"
5+
python: "3.10"
66

77
python:
88
install:

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.10-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.8-slim
17+
FROM python:3.10-slim
1818

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

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@
7878
"bitmath": ("https://bitmath.readthedocs.io/en/stable/", None),
7979
"cratedb": ("https://crate.io/docs/crate/reference/en/stable/", None),
8080
"kopf": ("https://kopf.readthedocs.io/en/stable/", None),
81-
"python": ("https://docs.python.org/3.8/", None),
81+
"python": ("https://docs.python.org/3.10/", None),
8282
}
8383
always_document_param_types = True

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def read(path: str) -> str:
8585
"License :: OSI Approved :: Apache Software License",
8686
"Programming Language :: Python :: 3",
8787
"Programming Language :: Python :: 3.8",
88+
"Programming Language :: Python :: 3.9",
89+
"Programming Language :: Python :: 3.10",
8890
],
8991
use_scm_version=True,
9092
)

0 commit comments

Comments
 (0)