Skip to content

Commit e39a618

Browse files
slhckclaude
andcommitted
chore: drop Python 3.9 support, bump pytest to >=9.0.3
Python 3.9 reached EOL in October 2025. Bumping the minimum to 3.10 allows updating pytest past 8.x, which resolves the Dependabot alert for the pytest tmpdir vulnerability (fixed in 9.0.3). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8cc7605 commit e39a618

8 files changed

Lines changed: 15 additions & 48 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ["3.9", "3.14"]
19+
python-version: ["3.10", "3.14"]
2020

2121
steps:
2222
- uses: actions/checkout@v4

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@ Tests use pytest and include actual media files in the `tests/` directory. The t
118118

119119
### Requirements
120120

121-
- Python 3.9+
121+
- Python 3.10+
122122
- FFmpeg binary must be available in PATH
123123
- The tool checks for FFmpeg loudnorm filter availability at runtime

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This program normalizes media files to a certain loudness level using the EBU R1
2626

2727
## 🚀 Quick Start
2828

29-
1. Install a recent version of [ffmpeg](https://ffmpeg.org/download.html)
29+
1. Install a recent version of [ffmpeg](https://ffmpeg.org/download.html) and Python 3.10 or higher
3030
2. Run `pip3 install ffmpeg-normalize` and `ffmpeg-normalize /path/to/your/file.mp4`, alternatively install [`uv`](https://docs.astral.sh/uv/getting-started/installation/) and run `uvx ffmpeg-normalize /path/to/your/file.mp4`
3131
3. Done! 🎧 (the normalized file will be called `normalized/file.mkv`)
3232

docs/about/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Thank you for your interest in contributing to ffmpeg-normalize! This guide will
66

77
### Prerequisites
88

9-
- Python 3.9 or higher
9+
- Python 3.10 or higher
1010
- FFmpeg installed and available in PATH
1111
- [uv](https://docs.astral.sh/uv/getting-started/installation/) (recommended) or pip
1212

docs/getting-started/requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Requirements
22

3-
You need Python 3.9 or higher, and ffmpeg.
3+
You need Python 3.10 or higher, and ffmpeg.
44

55
## ffmpeg
66

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Batch processing of several input files is possible, including video files.
1313
## Quick Start
1414

1515

16-
1. Install a recent version of [ffmpeg](https://ffmpeg.org/download.html)
16+
1. Install a recent version of [ffmpeg](https://ffmpeg.org/download.html) and Python 3.10 or higher
1717
2. Run `pip3 install ffmpeg-normalize` and `ffmpeg-normalize /path/to/your/file.mp4`, alternatively install [`uv`](https://docs.astral.sh/uv/getting-started/installation/) and run `uvx ffmpeg-normalize /path/to/your/file.mp4`
1818
3. Done! 🎧 (the normalized file will be called `normalized/file.mkv`)
1919

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@ classifiers = [
2121
"Topic :: Multimedia :: Sound/Audio :: Conversion",
2222
"Natural Language :: English",
2323
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
"Programming Language :: Python :: 3.12",
2827
"Programming Language :: Python :: 3.13",
2928
"Programming Language :: Python :: 3.14",
3029
]
31-
requires-python = ">=3.9"
30+
requires-python = ">=3.10"
3231
dependencies = [
3332
"tqdm>=4.64.1",
3433
"colorama>=0.4.6; platform_system=='Windows'",
@@ -50,7 +49,7 @@ package-data = {"ffmpeg_normalize" = ["data/**/*.json"]}
5049

5150
[dependency-groups]
5251
dev = [
53-
"pytest>=8.1.1,<9",
52+
"pytest>=9.0.3",
5453
"ruff>=0.12.11",
5554
"types-tqdm",
5655
"shtab>=1.7.0",

uv.lock

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

0 commit comments

Comments
 (0)