Skip to content

Which Python versions are currently supported? #5069

@busunkim96

Description

@busunkim96

Hi,

I'm one of the maintainers for google-auth. We're planning on officially removing 2.7 support soon (requiring python >= 3.6). In preparation for that, I looked for packages that declare direct dependencies on google-auth and have 2.7 in the trove classifiers.

I noticed that the setup.py lists 2.7, 3.4, 3.5, and 3.6 and the python_requires is more permissive:

"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",

# Disallow python 3.0 and 3.1 which lack a 'futures' module (see above).
python_requires=">= 2.7, != 3.0.*, != 3.1.*",

The pyproject.toml has 3.6, 3.7, and 3.8.

[tool.black]
line-length = 80
target-version = ["py36", "py37", "py38"]

Could someone clarify which Python versions are currently supported? If 2.7 is currently supported, what is the timeline for removing support?

Thanks!

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