Skip to content

chore(python): drop support for Python 3.9#777

Merged
jansegre merged 1 commit intomasterfrom
chore/drop-python-3.9
Sep 22, 2023
Merged

chore(python): drop support for Python 3.9#777
jansegre merged 1 commit intomasterfrom
chore/drop-python-3.9

Conversation

@glevco
Copy link
Contributor

@glevco glevco commented Sep 21, 2023

Motivation

Remove support for Python 3.9 so we can use the new features and performance improvements from Python 3.10. Here are some of the main highlights:

  • PEP 604 - Allow writing union types as X | Y
    • This is preferred than using Union and Optional
  • PEP 612 - Parameter Specification Variables
    • Allows for named parameters in Callable definitions
  • PEP 634, PEP 635, PEP 636 - Structural Pattern Matching
    • Great modern feature that eases functional-style programming

And the complete list: https://www.python.org/downloads/release/python-3100/

Acceptance Criteria

  • Remove all mentions and uses of Python 3.9

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco self-assigned this Sep 21, 2023
@glevco glevco marked this pull request as ready for review September 21, 2023 22:51
@jansegre jansegre merged commit 9aad945 into master Sep 22, 2023
@jansegre jansegre deleted the chore/drop-python-3.9 branch September 22, 2023 17:01
This was referenced Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants