Skip to content

Add Python 3.14 support#24

Merged
maread99 merged 2 commits into
mainfrom
claude/python-3.14-support-rnmTY
Apr 24, 2026
Merged

Add Python 3.14 support#24
maread99 merged 2 commits into
mainfrom
claude/python-3.14-support-rnmTY

Conversation

@maread99
Copy link
Copy Markdown
Owner

@maread99 maread99 commented Apr 24, 2026

Generated by Claude.

Add support for Python 3.14.

  • Add Programming Language :: Python :: 3.14 classifier to pyproject.toml
  • Update CI matrix in build-test.yml to test Python 3.9 and 3.14 (replacing 3.13)
  • Fix test suite for Python 3.14: repr(typing.Union[X, Y]) changed from "typing.Union[X, Y]" to "X | Y" in Python 3.14, breaking three regex patterns. Added a _msg_re() helper that replaces each Union pattern with a non-capturing alternation ((?:old|new)) that matches both representations.

claude added 2 commits April 24, 2026 14:28
Add Python 3.14 classifier to pyproject.toml and update the CI matrix
to test against Python 3.9 and 3.14 instead of 3.9 and 3.13.

https://claude.ai/code/session_01ECpGK8RgNk5eaVMqNNbnWH
In Python 3.14, repr(typing.Union[X, Y]) changed from "typing.Union[X, Y]"
to "X | Y". Update the three affected error-message patterns in the test
suite to match both forms via regex alternation.

https://claude.ai/code/session_01ECpGK8RgNk5eaVMqNNbnWH
@maread99 maread99 added maintenance Keeping it all up to date tests All things tests labels Apr 24, 2026
@maread99 maread99 merged commit b872d24 into main Apr 24, 2026
8 checks passed
@maread99 maread99 deleted the claude/python-3.14-support-rnmTY branch April 24, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Keeping it all up to date tests All things tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants