Skip to content

Support Python 3.14 - #51

Merged
thatch merged 2 commits into
thatch:masterfrom
jvoisin:pi
Jul 25, 2026
Merged

Support Python 3.14#51
thatch merged 2 commits into
thatch:masterfrom
jvoisin:pi

Conversation

@jvoisin

@jvoisin jvoisin commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Fix removed/deprecated stdlib APIs so the test suite passes on Python 3.14 without warnings:

  • Replace ast.Str/.s (removed in 3.12) with ast.Constant/.value, guarding string constants with isinstance(..., str).
  • Import sre_parse/sre_constants as re._parser/re._constants (available since 3.11), falling back to the legacy modules on older versions.

jvoisin added 2 commits July 16, 2026 00:51
Fix removed/deprecated stdlib APIs so the test suite passes on Python
3.14 without warnings:

- Replace ast.Str/.s (removed in 3.12) with ast.Constant/.value,
  guarding string constants with isinstance(..., str).
- Import sre_parse/sre_constants as re._parser/re._constants (available
  since 3.11), falling back to the legacy modules on older versions.
@thatch
thatch merged commit c665632 into thatch:master Jul 25, 2026
0 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants