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

End Support for Python 2.7 #717

Closed
csmarchbanks opened this issue Nov 1, 2021 · 3 comments · Fixed by #718
Closed

End Support for Python 2.7 #717

csmarchbanks opened this issue Nov 1, 2021 · 3 comments · Fixed by #718

Comments

@csmarchbanks
Copy link
Member

csmarchbanks commented Nov 1, 2021

Python 2.7 usage has dropped significantly over the last 6-9 months, and over the last 3 months makes up less than 2% of downloads. At this point I think it is worth dropping support and allowing new features as well as some cleanup.

Current Python 2.7 users would be able to continue to use v0.12.x and earlier, and patches could be added to the v0.12.x release series if absolutely necessary.

If you have concerns (or support), please voice them here.

Data

2021-08-01 - 2021-10-31

category percent downloads
3 96.57% 77,679,427
2 1.98% 1,596,557
null 1.45% 1,165,008
Total 80,440,992

2021-10-01 - 2021-10-31

category percent downloads
3 97.39% 30,050,858
null 1.30% 402,541
2 1.30% 401,660
Total 30,855,059

Compiled from

pypistats python_major prometheus_client
@roidelapluie
Copy link
Member

Will we be able to mark is as not supporting 2.7, and will 2.7 users still be able to keep using the last version?

@csmarchbanks
Copy link
Member Author

Yes, for example users of Python 2.6 are currently still able to use https://pypi.org/project/prometheus-client/0.9.0/, but https://pypi.org/project/prometheus-client/0.10.0/ requires Python>=2.7.

@roidelapluie
Copy link
Member

I do not have specific concerns then, dropping 2.7 sounds good to me.

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 a pull request may close this issue.

2 participants