Skip to content

Drop support for Python 3.6-3.8 and add support for 3.12-3.13 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrii-porokhnavets
Copy link
Contributor

@andrii-porokhnavets andrii-porokhnavets commented Apr 30, 2025

Motivation

  • Python versions 3.6-3.8 are dead already. This PR drops their support and adds support for recent versions 3.12-3.13
    image

Changes

  • Drop support python 3.6-3.8
  • Add support for python 3.12-3.13
  • Bump versions of dev packages
  • Update code for python3.9+ syntax

How to test

  • Regressing for sending email via Python SDK

Updated `tox.ini`, `pyproject.toml`, and GitHub Actions workflows to reflect the removal of Python 3.6-3.8 and inclusion of 3.12-3.13. Pinned `pre-commit` and `mypy` dependencies to ensure compatibility. Adjusted pre-commit hooks and dependencies to use newer versions for better tooling support.
Replaced legacy `typing` constructs like `List` and `Dict` with modern `PEP 585` style type hints (`list`, `dict`, etc.). This improves code readability and aligns with Python 3.9+ standards.
@andrii-porokhnavets andrii-porokhnavets requested a review from a team May 1, 2025 09:08
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