Skip to content

Modernizing the codebase after Python 2 #8802

Closed
@pradyunsg

Description

@pradyunsg

Looking forward into the post-Python-2-support world (i.e. post pip 20.3), we're going to want to modernize pip's codebase. That's going to involve a lot of things.

Consider this issue an attempt to try to create a singular location, to create the list of all of the things we'd want to free from the chains of maintaining Python 2 support. :)

  • Cleanup the mypy configuration.
  • Enum usage.
  • Drop __ne__ when not needed.
  • Drop Python-2 compatibility-related vendored modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: maintenanceRelated to Development and Maintenance Processes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions