Skip to content

Commit 766cf9b

Browse files
committed
build: drop python 3.9, add python 3.14
Python 3.9 was marked as end of life on October 31, 2025. Therefore, official support for it has been removed. Official support has been added for Python 3.14 (October 7, 2025). - The removal of 3.9 support allowed the removal of many unnecessary typing module imports in favor of builtin keywords. - All development dependencies have been upgraded to latest.
1 parent 098ba55 commit 766cf9b

13 files changed

Lines changed: 28 additions & 28 deletions

File tree

.envrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ if command -v pyenv >/dev/null 2>&1; then
22
layout pyenv $(cat runtimes.txt)
33
elif command -v nix >/dev/null 2>&1; then
44
use flake
5-
layout python python3.13
5+
layout python python3.14
66
watch_file external/**
77
fi

README.md

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

55
[![pre-commit](https://github.com/josheppinette/python-logfmter/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/josheppinette/python-logfmter/actions/workflows/pre-commit.yml)
66
[![test](https://github.com/josheppinette/python-logfmter/actions/workflows/test.yml/badge.svg)](https://github.com/josheppinette/python-logfmter/actions/workflows/test.yml)
7-
[![python-3.9-3.10-3.11-3.12-3.13](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11|%203.12|%203.13-blue.svg)](.github/workflows/test.yml)
7+
[![python-3.10-3.11-3.12-3.13-3.14](https://img.shields.io/badge/python-3.10%20|%203.11|%203.12|%203.13|%203.14-blue.svg)](.github/workflows/test.yml)
88

99
Add [logfmt](https://www.brandur.org/logfmt) structured logging using the stdlib logging module and without changing a single log call.
1010

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
inputs = {
3-
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
3+
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
44
flake-utils.url = "github:numtide/flake-utils";
55
};
66

@@ -21,11 +21,11 @@
2121
{
2222
devShells.default = pkgs.mkShell {
2323
packages = [
24-
pkgs.python39
2524
pkgs.python310
2625
pkgs.python311
2726
pkgs.python312
2827
pkgs.python313
28+
pkgs.python314
2929

3030
# external
3131
pkgs.golang-logfmt-echo

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ addopts = ["--import-mode=importlib"]
77

88
[tool.ruff]
99
line-length = 88
10-
target-version = "py39"
10+
target-version = "py310"
1111

1212
[tool.ruff.lint]
1313
select = ["I", "F", "E"]

requirements/pre-commit.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
mypy==0.991
2-
pre-commit==2.20.0
3-
ruff==0.12.11
1+
mypy==1.19.1
2+
pre-commit==4.5.1
3+
ruff==0.15.5

requirements/publish.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-r ./setuptools.txt
2-
build==0.7.0
3-
twine==3.8.0
2+
build==1.4.0
3+
twine==6.2.0

requirements/setuptools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
setuptools==75.8.0
1+
setuptools==82.0.1

requirements/test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-r ./setuptools.txt
2-
pytest==7.2.0
3-
tox==3.27.1
2+
pytest==9.0.2
3+
tox==4.49.1

runtimes.txt

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

0 commit comments

Comments
 (0)