Skip to content

Commit f6210d5

Browse files
gjtorikianclaude
andcommitted
fix: Drop Python 3.8 from dev resolution and CI test matrix
Python 3.8 reached EOL in October 2024. This change: - Adds `environments = ["python_version >= '3.9'"]` to [tool.uv] so the lockfile only resolves for Python 3.9+, unblocking Renovate PRs that bump dev deps (pytest, mypy, pytest-asyncio) to versions requiring 3.9+ - Removes 3.8 from the CI test matrix and nox PYTHON_VERSIONS - Keeps requires-python = ">=3.8" so end users on 3.8 can still install via pip (which resolves independently) - Keeps 3.8 in the smoke-test matrix (no lockfile needed) - Adds renovate packageRule to prevent bumping the pyjwt 3.8 marker line Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 47b34e9 commit f6210d5

File tree

5 files changed

+57
-437
lines changed

5 files changed

+57
-437
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
20+
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2121
steps:
2222
- uses: actions/checkout@v6
2323
- uses: astral-sh/setup-uv@v7

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
nox.options.reuse_venv = "yes"
1818

1919
# All Python versions supported by the SDK (must match CI matrix)
20-
PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
20+
PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2121

2222
# Default sessions to run
2323
nox.options.sessions = ["tests"]

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ strict = true
5959
[tool.ruff.lint.mccabe]
6060
max-complexity = 10
6161

62+
[tool.uv]
63+
environments = ["python_version >= '3.9'"]
64+
6265
[tool.uv.build-backend]
6366
source-include = ["py.typed"]
6467
source-exclude = ["tests*"]

renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,12 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5+
],
6+
"packageRules": [
7+
{
8+
"matchPackageNames": ["pyjwt"],
9+
"matchCurrentVersion": ">=2.9.0,<2.10",
10+
"enabled": false
11+
}
512
]
613
}

0 commit comments

Comments
 (0)