Skip to content

End Support for Python 2.7 #717

Closed

Description

@csmarchbanks

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

Activity

  1. roidelapluie commented on Nov 1, 2021

    @roidelapluie
    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?

  2. csmarchbanks commented on Nov 1, 2021

    @csmarchbanks
    MemberAuthor

    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.

  3. roidelapluie commented on Nov 1, 2021

    @roidelapluie
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions