Skip to content

Commit 1536618

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 1415fb0 commit 1536618

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/google-cloud-tasks/README.rst

+9
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ dependencies.
4848
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
4949

5050

51+
Supported Python Versions
52+
^^^^^^^^^^^^^^^^^^^^^^^^^
53+
Python >= 3.4
54+
55+
Deprecated Python Versions
56+
^^^^^^^^^^^^^^^^^^^^^^^^^^
57+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
58+
59+
5160
Mac/Linux
5261
^^^^^^^^^
5362

packages/google-cloud-tasks/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@
6464
'Programming Language :: Python :: 3.4',
6565
'Programming Language :: Python :: 3.5',
6666
'Programming Language :: Python :: 3.6',
67+
'Programming Language :: Python :: 3.7',
6768
'Operating System :: OS Independent',
6869
'Topic :: Internet',
6970
],
7071
platforms='Posix; MacOS X; Windows',
7172
packages=packages,
7273
namespace_packages=namespaces,
7374
install_requires=dependencies,
75+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
7476
include_package_data=True,
7577
zip_safe=False,
7678
)

0 commit comments

Comments
 (0)