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

Skip to content

Commit d4bd34f

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 8df62c5 commit d4bd34f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/google-cloud-bigquery-datatransfer/README.rst

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

4848

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

packages/google-cloud-bigquery-datatransfer/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
'Programming Language :: Python :: 3.4',
7676
'Programming Language :: Python :: 3.5',
7777
'Programming Language :: Python :: 3.6',
78+
'Programming Language :: Python :: 3.7',
7879
'Operating System :: OS Independent',
7980
'Topic :: Internet',
8081
],
@@ -83,6 +84,7 @@
8384
namespace_packages=namespaces,
8485
install_requires=dependencies,
8586
extras_require=extras,
87+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
8688
include_package_data=True,
8789
zip_safe=False,
8890
)

0 commit comments

Comments
 (0)