Fix upgrade-pylib workflow to use Python 3.14#7216
Merged
youknowone merged 3 commits intomain-ce004daa04f185e8from Feb 24, 2026
Merged
Fix upgrade-pylib workflow to use Python 3.14#7216youknowone merged 3 commits intomain-ce004daa04f185e8from
youknowone merged 3 commits intomain-ce004daa04f185e8from
Conversation
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update annotationlib to version 3.14.3
Fix upgrade-pylib workflow to use Python 3.14
Feb 24, 2026
Member
|
@copilot Do you fix only lock.yml, but not the source? |
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
Contributor
Author
youknowone
approved these changes
Feb 24, 2026
youknowone
pushed a commit
that referenced
this pull request
Feb 24, 2026
youknowone
pushed a commit
to youknowone/RustPython
that referenced
this pull request
Mar 22, 2026
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.
The
upgrade-pylibworkflow was using Python 3.12, which cannot parse Python 3.14 syntax (e.g., PEP 695 type aliases) present in newer CPython test files. This caused the automated test failure marking step to silently skip, requiring manual workarounds during library upgrades.Changes
.github/workflows/upgrade-pylib.lock.yml: Bumppython-versionfrom'3.12'to'3.14'.github/workflows/upgrade-pylib.md: Bumpruntimes.python.versionfrom"3.12"to"3.14"so the source workflow definition matches the lockfile💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.