Skip to content

Commit 0541f7d

Browse files
Ryan Malloyclaude
andcommitted
feat: add Python 3.9 support to project
Updates minimum Python requirement from 3.10+ to 3.9+ to support broader Python version compatibility. Changes: - pyproject.toml: Set requires-python = ">=3.9" - CI workflows: Add Python 3.9 and 3.10 to test matrix - Black formatter: Add py313 to target versions The manual test mocking approach implemented in previous commits already ensures compatibility with Python 3.9's mock behavior. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent ecb4749 commit 0541f7d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
name: Lint with Ruff
1313
strategy:
1414
matrix:
15-
python-version: ["3.11", "3.12", "3.13"]
15+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1616
steps:
1717
- uses: actions/checkout@v4
1818

@@ -39,7 +39,7 @@
3939
name: Pre-commit hooks
4040
strategy:
4141
matrix:
42-
python-version: ["3.11", "3.12", "3.13"]
42+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4343
steps:
4444
- uses: actions/checkout@v4
4545

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
os: [ubuntu-latest, macos-latest]
1717
# os: [ubuntu-latest, windows-latest, macos-latest]
18-
python-version: ["3.11", "3.12", "3.13"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1919

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

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version = "3.0.4"
1010
description = "A real-time terminal monitoring tool for Claude Code token usage with advanced analytics and Rich UI"
1111
readme = "README.md"
1212
license = { text = "MIT" }
13-
requires-python = ">=3.10"
13+
requires-python = ">=3.9"
1414
authors = [{ name = "Maciek", email = "[email protected]" }]
1515
maintainers = [{ name = "Maciek", email = "[email protected]" }]
1616
keywords = [
@@ -99,7 +99,7 @@ claude_monitor = ["py.typed"]
9999

100100
[tool.black]
101101
line-length = 88
102-
target-version = ["py39", "py310", "py311", "py312"]
102+
target-version = ["py39", "py310", "py311", "py312", "py313"]
103103
skip-string-normalization = false
104104
include = '\.pyi?$'
105105
extend-exclude = '''

0 commit comments

Comments
 (0)