tantale / deprecated

Python @deprecated decorator to deprecate old python classes, functions or methods.
MIT License
298 stars 32 forks source link

Add support for Python 3.11 #58

Closed hugovk closed 1 year ago

hugovk commented 1 year ago

Python 3.11 was released on 2022-10-24 🚀

image

hugovk commented 1 year ago

That py27-35 job has been failing for two years: https://github.com/tantale/deprecated/actions/runs/491432941

I suggest dropping support for EOL Python versions 2.7 and 3.4-3.6.

cycle release latest latest release eol
3.11 2022-10-24 3.11.0 2022-10-24 2027-10-24
3.10 2021-10-04 3.10.8 2022-10-11 2026-10-04
3.9 2020-10-05 3.9.15 2022-10-11 2025-10-05
3.8 2019-10-14 3.8.15 2022-10-11 2024-10-14
3.7 2018-06-26 3.7.15 2022-10-10 2023-06-27
3.6 2016-12-22 3.6.15 2021-09-03 2021-12-23
3.5 2015-09-12 3.5.10 2020-09-05 2020-09-13
3.4 2014-03-15 3.4.10 2019-03-18 2019-03-18
2.7 2010-07-03 2.7.18 2020-04-19 2020-01-01

Here's the pip installs for Deprecated from PyPI for October 2022:

category percent downloads
3.7 33.69% 11,485,598
3.8 29.87% 10,184,105
3.9 16.06% 5,476,827
3.6 8.17% 2,786,874
null 6.25% 2,131,430
3.10 5.16% 1,758,544
2.7 0.59% 202,014
3.11 0.14% 46,521
3.5 0.06% 19,709
3.4 0.00% 225
3.12 0.00% 184
3.2 0.00% 23
3.3 0.00% 3
3.1 0.00% 1
Total 34,092,058

Source: pip install -U pypistats && pypistats python_minor Deprecated --last-month

hugovk commented 1 year ago

Closing in favour of #59 👍