Skip to content
Permalink
Browse files

Announce deprecation of Python 2.7 (#603)

  • Loading branch information...
crwilcox committed Dec 14, 2018
1 parent 729d9ae commit 8f4a5308aca220128cbb3c5f126d187b1c1079ab
Showing with 8 additions and 5 deletions.
  1. +5 −2 README.md
  2. +3 −3 setup.py
@@ -23,8 +23,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:
@@ -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)

@@ -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",
@@ -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',

0 comments on commit 8f4a530

Please sign in to comment.
You can’t perform that action at this time.