Skip to content

Commit ba6314d

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 852410c commit ba6314d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/google-cloud-core/README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,11 @@ to `Python Development Environment Setup Guide`_ for Google Cloud Platform.
2929

3030
.. _Python Development Environment Setup Guide: https://cloud.google.com/python/setup
3131

32+
33+
Supported Python Versions
34+
-------------------------
35+
Python >= 3.4
36+
37+
Deprecated Python Versions
38+
--------------------------
39+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.

packages/google-cloud-core/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"Programming Language :: Python :: 3.4",
7373
"Programming Language :: Python :: 3.5",
7474
"Programming Language :: Python :: 3.6",
75+
'Programming Language :: Python :: 3.7',
7576
"Operating System :: OS Independent",
7677
"Topic :: Internet",
7778
],
@@ -80,6 +81,7 @@
8081
namespace_packages=namespaces,
8182
install_requires=dependencies,
8283
extras_require=extras,
84+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
8385
include_package_data=True,
8486
zip_safe=False,
8587
)

0 commit comments

Comments
 (0)