Repository navigation
release: support Python 3.12 through 3.14 - #29
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR narrows the supported Python range to 3.12–3.14 and updates CI, packaging metadata, docs, and tests to enforce that policy while removing Python 3.15-specific compatibility code and scaffolding.
Changes:
- Set
requires-pythonto>=3.12,<3.15and remove Python 3.15-only dependency markers / compatibility paths. - Update CI to qualify only Python 3.12–3.14 across Linux/macOS/Windows and simplify previously conditional steps.
- Remove now-unneeded test type stubs and Python 3.15 Polars compatibility code/tests; align docs/badges with the new support window.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Updates lock metadata/markers and removes 3.15-only wheel entries to reflect the supported Python range. |
tests/type_stubs/matplotlib/pyplot.pyi |
Removes minimal Matplotlib stubs previously used for type checking without the optional dependency. |
tests/type_stubs/matplotlib/figure.pyi |
Removes minimal Matplotlib stubs previously used for type checking without the optional dependency. |
tests/type_stubs/matplotlib/axes.pyi |
Removes minimal Matplotlib stubs previously used for type checking without the optional dependency. |
tests/type_stubs/matplotlib/__init__.pyi |
Removes Matplotlib stub package marker docstring. |
tests/type_stubs/duckdb/__init__.pyi |
Removes DuckDB stubs previously used for type checking without the optional dependency. |
tests/test_release_policy.py |
Updates release-policy assertions to match the new CI matrix and simplified commands. |
tests/test_polars_compat.py |
Removes tests for the deleted Python 3.15 Polars dispatch compatibility repair. |
src/ml4t/engineer/features/fdiff.py |
Simplifies the statsmodels ImportError message tied to ADF diagnostics. |
src/ml4t/engineer/_polars_compat.py |
Removes Python 3.15-specific Polars Series dispatch compatibility patch. |
src/ml4t/engineer/__init__.py |
Stops importing the removed Polars compatibility module. |
README.md |
Updates the Python support badge to 3.12–3.14. |
pyproject.toml |
Declares Python support as >=3.12,<3.15 and removes 3.15-only dependency markers. |
docs/getting-started/installation.md |
Aligns installation requirements text with the supported Python range. |
.github/workflows/ci.yml |
Removes Python 3.15 from the qualification matrix and simplifies dependency/typecheck/export steps accordingly. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
uv run pytest tests/ -q --tb=short --no-covuv run ruff check src/ tests/uv run ruff format --check src/ tests/uv run ty checkRequires-Pythonmetadata