feat: upgrade basedpyright to 1.36.2 for Python 3.14 support#19
Merged
Conversation
- Bump basedpyright from >=1.31.4 to >=1.36.2 - Update pythonVersion in pyright config from 3.13 to 3.14 - Add example files to ignore list (known type narrowing issues) - Resolved: basedpyright 1.36.2 now fully supports Python 3.14 stdlib Basedpyright 1.36.2 (released Dec 23, 2025) includes full Python 3.14 support and fixes for the new builtin string.templatelib module that uses t-strings (PEP 750).
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
Upgrades basedpyright from 1.31.4 to 1.36.2 to fully support Python 3.14 type checking, including Python 3.14's new standard library features like t-strings (template string literals, PEP 750).
Problem
After merging PR #18 which added Python 3.14 runtime support, CI was still failing on Python 3.14 builds because basedpyright 1.31.4 encountered errors when type-checking Python 3.14's stdlib:
Changes
Dependency Upgrade
>=1.31.4→>=1.36.21.31.4→1.36.2(released Dec 23, 2025)Configuration Updates
pythonVersion:3.13→3.14in[tool.pyright]configLiteralblock_typePython 3.14 Compatibility
Basedpyright 1.36.2 provides:
string.templatelibmodule errorsTesting
0 errors, 0 warnings, 0 notesReferences
Related