Skip to content

Commit 2565c89

Browse files
committed
address review comments
1 parent 8d25f2e commit 2565c89

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ virtualenv <your-env>
4848

4949
## Supported Python Versions
5050

51-
Python 3.5, 3.6 and 3.7, and 3.8 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions
51+
Python 3.6 and 3.7, and 3.8 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions
5252

53+
## Unsupported Python Versions
54+
55+
Python == 2.7
5356

5457
## Third Party Libraries and Dependencies
5558

setup.py

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,27 @@
1919
"""
2020
from __future__ import print_function
2121

22+
import sys
23+
24+
if sys.version_info < (2, 7):
25+
print("google-api-python-client requires python version >= 2.7.", file=sys.stderr)
26+
sys.exit(1)
27+
if (3, 1) <= sys.version_info < (3, 6):
28+
print("google-api-python-client requires python3 version >= 3.6.", file=sys.stderr)
29+
sys.exit(1)
30+
2231
import io
2332
import os
2433
from setuptools import setup
2534

2635
packages = ["apiclient", "googleapiclient", "googleapiclient/discovery_cache"]
2736

2837
install_requires = [
29-
# NOTE: Apache Beam tests depend on this library and cannot
30-
# currently upgrade their httplib2 version.
31-
# Please see https://github.com/googleapis/google-api-python-client/pull/841
32-
"httplib2>=0.9.2,<1dev",
33-
"google-auth>=1.4.1",
38+
"httplib2>=0.15.0,<1dev",
39+
"google-auth>=1.16.0",
3440
"google-auth-httplib2>=0.0.3",
35-
"google-api-core>=1.13.0,<2dev",
36-
"six>=1.6.1,<2dev",
41+
"google-api-core>=1.21.0,<2dev",
42+
"six>=1.13.0,<2dev",
3743
"uritemplate>=3.0.0,<4dev",
3844
]
3945

@@ -43,7 +49,7 @@
4349
with io.open(readme_filename, encoding="utf-8") as readme_file:
4450
readme = readme_file.read()
4551

46-
version = "1.8.4"
52+
version = "1.12.4"
4753

4854
setup(
4955
name="google-api-python-client",
@@ -55,14 +61,13 @@
5561
author_email="[email protected]",
5662
url="https://github.com/googleapis/google-api-python-client/",
5763
install_requires=install_requires,
58-
python_requires=">=3.5",
64+
python_requires=">=3.6",
5965
packages=packages,
6066
package_data={},
6167
license="Apache 2.0",
6268
keywords="google api client",
6369
classifiers=[
6470
"Programming Language :: Python :: 3",
65-
"Programming Language :: Python :: 3.5",
6671
"Programming Language :: Python :: 3.6",
6772
"Programming Language :: Python :: 3.7",
6873
"Programming Language :: Python :: 3.8",

0 commit comments

Comments
 (0)