Skip to content

Conversation

mart-r
Copy link
Collaborator

@mart-r mart-r commented Oct 14, 2025

Python 3.9 will be end of life after October 2025. So we're almost there now.

Therefore, suggesting dropping support for 3.9.

Notably new syntax this would unlock for the library:

  • The | type hints (e.g MyType | None instead of Optional[None]; or str | float instead of Union[str, float])
  • Pattern matching with match and case

@tomolopolis
Copy link
Member

Task linked: CU-869aupp8v Drop python 3.9 - soon EoL

Copy link
Member

@tomolopolis tomolopolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mart-r mart-r merged commit 7c5bad2 into main Oct 14, 2025
32 of 34 checks passed
@mart-r mart-r deleted the build/medcat/CU-869aupp8v-drop-python-3.9 branch October 14, 2025 16:04
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