pabloem commented on a change in pull request #12156:
URL: https://github.com/apache/beam/pull/12156#discussion_r448649324
##########
File path: sdks/python/setup.py
##########
@@ -259,11 +259,17 @@ def run(self):
python_requires = '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*'
-if sys.version_info[0] == 2:
+if sys.version_info.major == 2:
warnings.warn(
'You are using Apache Beam with Python 2. '
'New releases of Apache Beam will soon support Python 3 only.')
+if sys.version_info.major == 3 and sys.version_info.minor >= 8:
Review comment:
you're including 3.8 in this range. Is that intended?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]