ci: upgrade default Python to 3.14#1599
Closed
wowi42 wants to merge 5 commits intopyinfra-dev:3.xfrom
Closed
Conversation
Update lint, type-check, and unit-test matrix to use Python 3.14 as the default version. Add 3.13 as an explicit include entry so it remains tested. Remove coverage gevent concurrency setting as unit tests don't need it, and it is incompatible with Python 3.14's SysMonitor tracer.
1a780dc to
767e360
Compare
Contributor
|
this could be really good, once py3.15 comes around, there will be significant performance upgrades, it could make Pyinfra even better |
Fizzadar
requested changes
Mar 17, 2026
Member
Fizzadar
left a comment
There was a problem hiding this comment.
Couple of notes, otherwise good to go 👍
| ] | ||
|
|
||
| [tool.coverage.run] | ||
| concurrency = ["gevent"] |
Collaborator
Author
There was a problem hiding this comment.
incompatible with Python 3.14's SysMonitor tracer and not needed
| @@ -2,10 +2,9 @@ version = 1 | |||
| revision = 3 | |||
Member
There was a problem hiding this comment.
I think we should drop this last commit - updating the lock file as part of PRs will never scale I think we have to keep that part of 3.x branch flow only?
wowi42
added a commit
to KalvadTech/pyinfra
that referenced
this pull request
Apr 14, 2026
Update lint, type-check and unit-test matrix to use Python 3.14 as the default version. Add 3.13 as an explicit include entry so it remains tested on ubuntu-24.04, alongside the already-present 3.12, 3.11 and 3.10 matrix entries. Flip the codecov upload condition to the new default. Leave end-to-end-test and docs-build on 3.13 for now — matches the narrow scope of the original change. Also add the Python 3.14 trove classifier to pyproject.toml and drop ``concurrency = ["gevent"]`` from ``[tool.coverage.run]``; gevent's coverage concurrency integration is incompatible with 3.14 and the pytest-cov run does not need it. This is PR pyinfra-dev#1599 re-applied on 3.x without the uv.lock bump.
5 tasks
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.
Update lint, type-check, and unit-test matrix to use Python 3.14 as the default version. Add 3.13 as an explicit include entry so it remains tested.
3.xat this time)scripts/dev-test.sh)scripts/dev-lint.sh)