<#9471 chore: Update syntax for Python 3.10+> Pull...
# meltano-repo-activity
g
#9471 chore: Update syntax for Python 3.10+ Pull request opened by edgarrmondragon ## Description ## Related Issues • Closes #XXXX ## Summary by Sourcery Update the codebase to leverage Python 3.10+ typing features, simplify type checks, and bump linting target. Enhancements: • Use native union types (X|Y) instead of typing.Union and pattern-match type hints with new syntax • Replace typing_extensions.TypeAlias import and typing.TypeAlias with built-in TypeAlias • Refactor isinstance checks to use the | union syntax Build: • Update ruff target-version from py39 to py310 • Include testing group in the typing requirements in pyproject.toml Tests: • Adjust test fixtures to use the new optional exception info type alias • Update zip call in test to use strict=False for Python 3.10 compatibility meltano/meltano