Skip to content

Announce deprecation of Python 2.7 #603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ $ easy_install --upgrade google-api-python-client

See the [Developers Guide](https://developers.google.com/api-client-library/python/start/get_started) for more detailed instructions and additional documentation.

# Python Version
Python 2.7, 3.4, 3.5, and 3.6 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.
# Supported Python Versions
Python 3.4, 3.5, 3.6 and 3.7 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions

# Deprecated Python Versions
Python == 2.7

# Third Party Libraries and Dependencies
The following libraries will be installed when you install the client library:
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
print('google-api-python-client requires python version >= 2.7.',
file=sys.stderr)
sys.exit(1)
if (3, 1) <= sys.version_info < (3, 3):
print('google-api-python-client requires python3 version >= 3.3.',
if (3, 1) <= sys.version_info < (3, 4):
print('google-api-python-client requires python3 version >= 3.4.',
file=sys.stderr)
sys.exit(1)

Expand Down Expand Up @@ -60,6 +60,7 @@
author="Google Inc.",
url="http://github.com/google/google-api-python-client/",
install_requires=install_requires,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
packages=packages,
package_data={},
license="Apache 2.0",
Expand All @@ -68,7 +69,6 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down