From 11a888ddfac579bbd1dc1e9eb6c0cb19506aa9ac Mon Sep 17 00:00:00 2001
From: Patrick Lannigan
Date: Wed, 9 Oct 2024 11:00:09 -0400
Subject: [PATCH] Add support for Python 3.13
---
.github/workflows/main.yml | 4 ++--
CHANGELOG.md | 4 ++++
docker/devbox.dockerfile | 2 +-
pyproject.toml | 3 ++-
4 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2e3470ef..e9f21104 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ["3.9", "3.10", "3.11", "3.12"]
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Check out code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
@@ -134,7 +134,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ["3.9", "3.10", "3.11", "3.12"]
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Check out code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b365c091..5e59b359 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Added
+
+- Support for Python `3.13`
+
### Removed
- Support for Python version `3.8`.
diff --git a/docker/devbox.dockerfile b/docker/devbox.dockerfile
index bfa12745..08df665d 100644
--- a/docker/devbox.dockerfile
+++ b/docker/devbox.dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.12-bookworm@sha256:8c284a84bc273b858725193c1ea53192aa8cad6ca0ce3fd90b4abcfcd3cef915
+FROM python:3.13.0-bookworm@sha256:a680a0edc77501edf235bcc10e81b23269b7320bbf6067b457534cf199007601
ARG _USER="columbo"
ARG _UID="1000"
diff --git a/pyproject.toml b/pyproject.toml
index 8a1f2a60..270cf3b8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
]
dependencies = [
"prompt-toolkit~=3.0",
@@ -154,7 +155,7 @@ exclude_lines = [
# code formatting
[tool.black]
line-length = 88
-target-version = ["py38", "py39", "py310"]
+target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.isort]
profile = "black"