Skip to content

Commit b6d2671

Browse files
Copilotjohnthagen
andauthored
Add Python 3.14 support, update default to 3.13, and drop Python 3.9 (#310)
* Add Python 3.14 support and update default to 3.13 Co-authored-by: johnthagen <10340167+johnthagen@users.noreply.github.com> * Update Dockerfile to Python 3.13 and drop Python 3.9 support Co-authored-by: johnthagen <10340167+johnthagen@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: johnthagen <10340167+johnthagen@users.noreply.github.com>
1 parent d83ca15 commit b6d2671

File tree

6 files changed

+14
-140
lines changed

6 files changed

+14
-140
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" ]
13+
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v4

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12
1+
3.13

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"],
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ 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",
2019
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
2121
"Typing :: Typed",
2222
# Include this classifier to prevent accidentally publishing private code to PyPI.
2323
# https://pypi.org/classifiers/
2424
"Private :: Do Not Upload",
2525
]
26-
requires-python = ">=3.9"
26+
requires-python = ">=3.10"
2727
dependencies = [
2828
"rich",
2929
"typer-slim[standard]"

0 commit comments

Comments
 (0)