python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

Drop support for Python 2?

Open dukecat0 opened this issue 2 years ago • 4 comments

Are there any plans for dropping Python 2 support?

Python 2 is EOL and dropping support for it would ease maintenance and reduce complexity.

dukecat0 avatar Dec 10 '22 14:12 dukecat0

👍

Python 2 has been EOL for over three years and has very few downloads by now:

category percent downloads
3.7 34.48% 2,362,551
3.8 32.81% 2,248,268
3.9 22.52% 1,543,519
3.10 5.54% 379,515
null 2.97% 203,628
3.6 0.75% 51,450
3.11 0.58% 39,506
2.7 0.32% 22,085
3.5 0.03% 1,991
3.4 0.00% 81
3.12 0.00% 71
Total 6,852,665

Date range: 2023-03-01 - 2023-03-31

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

image

Source: https://pypistats.org/packages/fire

hugovk avatar Apr 12 '23 08:04 hugovk

This upcoming release v0.6.0 will be the last one where we claim support for Python 2.

dbieber avatar Jan 09 '24 18:01 dbieber

Sorry maybe this is not the correct place to post, but just wanted to ask if fire supports python 3.10 and 3.11, from the readme seems like it supports only up to 3.9 (if I'm not mistaken) is that correct?

kirk86 avatar Feb 13 '24 09:02 kirk86

Yes, Python Fire supports these newer versions of Python. We test through 3.12. v0.6.0 is out now. We're going to drop support for Python 2 moving forward.

dbieber avatar Mar 11 '24 19:03 dbieber