Skip to content

Commit b71a70d

Browse files
Copilotjohnthagen
andcommitted
Update Dockerfile to Python 3.13 and drop Python 3.9 support
Co-authored-by: johnthagen <[email protected]>
1 parent e4d51bf commit b71a70d

File tree

5 files changed

+12
-139
lines changed

5 files changed

+12
-139
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-24.04
1111
strategy:
1212
matrix:
13-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]
13+
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# subtle errors when using MUSL.
99
# - These Python packages usually only provide binary wheels for GLIBC, so the packages
1010
# will need to be recompiled fully within the container images, increasing build times.
11-
FROM python:3.12-slim-bookworm AS python_builder
11+
FROM python:3.13-slim-bookworm AS python_builder
1212

1313
# Pin uv to a specific version to make container builds reproducible.
1414
ENV UV_VERSION=0.8.22
@@ -58,7 +58,7 @@ RUN uv sync --locked --no-default-groups --no-editable
5858

5959
## Final Image
6060
# The image used in the final image MUST match exactly to the python_builder image.
61-
FROM python:3.12-slim-bookworm
61+
FROM python:3.13-slim-bookworm
6262

6363
ENV PYTHONDONTWRITEBYTECODE=1
6464
ENV PYTHONBUFFERED=1

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
@session(
10-
python=["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"],
10+
python=["3.10", "3.11", "3.12", "3.13", "3.14"],
1111
uv_groups=["test"],
1212
)
1313
def test(s: Session) -> None:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ classifiers = [
1313
"Operating System :: OS Independent",
1414
"Programming Language :: Python",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.9",
1716
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
@@ -24,7 +23,7 @@ classifiers = [
2423
# https://pypi.org/classifiers/
2524
"Private :: Do Not Upload",
2625
]
27-
requires-python = ">=3.9"
26+
requires-python = ">=3.10"
2827
dependencies = [
2928
"rich",
3029
"typer-slim[standard]"

0 commit comments

Comments
 (0)