Skip to content

Bump minimum Python version to 3.10#524

Merged
victorlin merged 12 commits intomasterfrom
victorlin/update-python-versions
May 4, 2026
Merged

Bump minimum Python version to 3.10#524
victorlin merged 12 commits intomasterfrom
victorlin/update-python-versions

Conversation

@victorlin
Copy link
Copy Markdown
Member

@victorlin victorlin commented Apr 29, 2026

Description of proposed changes

Drop support for end of life Python versions 3.8 and 3.9.

Changes broken into multiple commits to follow the pattern in #325.

Related issue(s)

Checklist

  • Checks pass
  • Update changelog

@victorlin victorlin self-assigned this Apr 29, 2026
Comment thread .github/workflows/ci.yaml
@victorlin victorlin force-pushed the victorlin/update-python-versions branch 2 times, most recently from b1594df to a6a479c Compare May 1, 2026 19:54
@victorlin victorlin changed the title Update Python versions Bump minimum Python version to 3.10 May 1, 2026
@victorlin victorlin force-pushed the victorlin/update-python-versions branch from a6a479c to 59ad251 Compare May 1, 2026 19:57
victorlin added 8 commits May 4, 2026 10:42
Subsequent commits will remove the 3.8 and 3.9-specific workarounds.
Removed two now-unnecessary ignore markers. Also added an explicit
flush() method to LinePrefixer (reasoning in comment).
Versions no longer supported.
Python 3.9 is no longer supported so this workaround is no longer
needed.
Both TypeAlias and EllipsisType are available in the standard library in
all supported Python versions.
urllib3 isn't used directly by the code so I'm not sure why these were
added. Removing them to get rid of the Python 3.8 and 3.9 specific
dependencies.
This reverts "Suppress warning from cryptography about deprecated Python
3.8 support" (8987cfd) since 3.8 is no longer supported.
This function is now available in all supported Python versions.
@victorlin victorlin force-pushed the victorlin/update-python-versions branch from 59ad251 to 92afffc Compare May 4, 2026 17:43
@victorlin victorlin mentioned this pull request May 4, 2026
2 tasks
@victorlin victorlin marked this pull request as ready for review May 4, 2026 17:49
Copy link
Copy Markdown
Contributor

@joverlee521 joverlee521 left a comment

Choose a reason for hiding this comment

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

Thanks for pushing through this, changes here look good to me. Could you remove one last Python 3.9 workaround?

victorlin added 4 commits May 4, 2026 13:51
These functions are now available in all supported Python versions.
The title from argparse is now the same for all supported Python
versions. Keeping the variable around because it is used in multiple
places.
Python 3.9 is no longer supported.
@victorlin victorlin force-pushed the victorlin/update-python-versions branch from 92afffc to bd7fb42 Compare May 4, 2026 20:54
@victorlin
Copy link
Copy Markdown
Member Author

@joverlee521 nice catch, done in 5833403

@victorlin victorlin merged commit fd4aafc into master May 4, 2026
91 of 92 checks passed
@victorlin victorlin deleted the victorlin/update-python-versions branch May 4, 2026 22:09
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.

Python 3.8 deprecation warning from cryptography

2 participants