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

Draft
wants to merge 6 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;

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.

@Avasam
Copy link
Collaborator Author

Avasam commented Oct 19, 2024

I've included adodbapi changes here as they have many overlap with #2094. If @vernondcole doesn't get to review this PR by the next release after the end of this month, then I'll split them up.

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