Skip to content

Drop Python 2 support #1461

Closed
Closed
@laurenyu

Description

@laurenyu

Is your feature request related to a problem? Please describe.
Python 2's sunset was January 1, 2020, and many popular Python libraries have removed support for the deprecated version.

Describe the solution you'd like
We should follow suit, in part because we also depend on those libraries, and don’t want to be in a situation where we’re vending unsupported dependencies.

The code changes we need to make are:

  • Remove Python 2 from the project configuration (setup.py) and build configurations (tox.ini, buildspecs, etc.).
  • Remove the Python 2 warnings that are currently in place.

In addition to code changes, we need to update our documentation to indicate SDK support for only Python 3 and provide links to last version with Python 2 support.

While we're at it, we can also remove enum34 from our dependencies: #1469

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions