pytoolz / toolz

A functional standard library for Python.
http://toolz.readthedocs.org/
Other
4.57k stars 258 forks source link

Add support for Python 3.12 #570

Open hugovk opened 9 months ago

hugovk commented 9 months ago

The second Python 3.12 release candidate is out! :rocket:

Call to action

We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.12 compatibilities during this phase, and where necessary publish Python 3.12 wheels on PyPI to be ready for the final release of 3.12.0.

Python 3.12.0 final is due out in under two weeks: 2023-10-02.

See also https://dev.to/hugovk/help-test-python-312-beta-1508/


Also remove redundant code for Python 2 including the deprecated compatibility module.

hugovk commented 9 months ago

Python 3.5-3.7 are EOL and no longer receiving security updates (or any updates) from the core Python team.

image

https://devguide.python.org/versions/

3.5 and 3.6 have also been removed from GitHub Actions: https://github.com/actions/runner-images/issues/8238

I recommend dropping support for 3.5-3.7.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7a0382e) 100.00% compared to head (91e1583) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #570 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 13 13 Lines 1178 1177 -1 ========================================= - Hits 1178 1177 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

hugovk commented 5 months ago

Merge conflict resolved!

Since I opened this, 3.12 support has instead been added in https://github.com/pytoolz/toolz/pull/574 🎉

I think there's still some useful bits in here, but feel free to close. 👍