Skip to content
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

Dropping support for Python 3.8 #2413

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

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Oct 19, 2024

CPython 3.8 is EOL as of October 7 2024 (last week).
Anaconda is dropping support at the end of the month (I'll keep as draft until then)

Highlights represented by these changes:

  • PEP 584, union operators added to dict;
  • PEP 585, type hinting generics in standard collections;
  • PEP 616, string methods to remove prefixes and suffixes.
  • PEP 593, flexible function and variable annotations;
  • Various deprecations

Testing in dev mode as per:

You should check for DeprecationWarning in your code
[...]
More generally, try to run your tests in the Python Development Mode which helps to prepare your code to make it compatible with the next Python version.

Also of interests, we now have unconditional access to the zoneinfo module: https://docs.python.org/3/whatsnew/3.9.html#zoneinfo, which may or may not be usable as part of win32/Lib/win32timezone.py.

Python 3.8 was also the last CPython version to offer support for Windows 7 out of the box (which is EOL since January 14, 2020)

@Avasam

This comment was marked as outdated.

@Avasam Avasam requested review from mhammond and removed request for vernondcole November 18, 2024 19:34
@Avasam Avasam marked this pull request as ready for review November 18, 2024 20:43
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.

1 participant