Repository navigation
Drop support for Python 3.9 and 3.10, add support for 3.14 and 3.15 - #281
Merged
Merged
Conversation
- Update requires-python to >=3.11 - Update classifiers to include Python 3.14 and 3.15 - Update tox envlist to test py3.11 through py3.15 - Update CI workflow matrix to test py3.11 through py3.15 - Update pre-commit pyupgrade to --py311-plus - Update black target-version - Document changes in CHANGES.rst - Update uv.lock dependencies Co-authored-by: Junie <junie@jetbrains.com>
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
🟡 Changes recommended
Three modified import blocks must be normalized to pass the configured isort pre-commit hook.
3 open findings
What changed in this PR
Updates supported Python versions to 3.11–3.15 across packaging, tooling, CI, and dependencies.
Changes:
- Raises the minimum Python version to 3.11 and adds 3.14/3.15 support.
- Updates CI, tox, Black, and pyupgrade targets.
- Regenerates dependencies and modernizes standard-library imports.
| File | Description |
|---|---|
.github/workflows/main.yml |
Updates the CI Python matrix. |
.pre-commit-config.yaml |
Targets Python 3.11+ syntax. |
CHANGES.rst |
Documents supported-version changes. |
pyproject.toml |
Updates metadata and Black targets. |
src/pytest_factoryboy/compat.py |
Uses the standard-library TypeAlias. |
src/pytest_factoryboy/fixture.py |
Moves Callable to collections.abc. |
src/pytest_factoryboy/fixturegen.py |
Moves Callable to collections.abc. |
tox.ini |
Updates test environments to Python 3.11–3.15. |
uv.lock |
Regenerates dependencies for Python 3.11+. |
🧠 Review effort: Balanced
💡 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
Drops support for Python 3.9 and 3.10 (both EOL) and adds support for Python 3.14 and 3.15.
Supported versions are now: 3.11, 3.12, 3.13, 3.14, 3.15.
Changes
requires-pythonto>=3.11, updated classifiers and black target-version--py311-plus