Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5dce84b

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent b6ca25d commit 5dce84b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/google-cloud-asset/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ dependencies.
4747
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
4848

4949

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

packages/google-cloud-asset/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
packages=packages,
8181
namespace_packages=namespaces,
8282
install_requires=dependencies,
83+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
8384
include_package_data=True,
8485
zip_safe=False,
8586
)

0 commit comments

Comments
 (0)