Skip to content

Drop Support for Python2 #4261

@r-richmond

Description

@r-richmond

Python2 was EOL'ed earlier this year and thus it may be worth considering dropping support for python2. Ideally this would reduce the complexity of the project making it easier to manage, test and release.

Pros:

  • Dropping python2 as a requirement would reduce complexity
  • Smaller unit test matrix resulting in faster tests and less timeouts
  • Python3 represents a significant majority of python users
    • According to Jet Brain's May 2020 survey 90% of python developers use python 3 now
    • According to the same survey Python2 usage is has dropped 40% year-over-year for the last 2 years in a row

Cons:

  • Python2 users would not receive any new versions (But they would be able to continue to use version 2018.11.26 2020.6.2)

Note: Initially, this was suggested in #3369 under #3369 (comment) as it appears that a python2 / cross support issue delayed the 2020 release. I've moved the discussion for dropping python2 here as to avoid further polluting the original ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: DevelopmentIssue affects development workflow.Type: DiscussionThis issue is open for discussion.Type: Maintenance 🚧This issue pertains to maintenance of pipenv itself.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions