You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/02/15 15:43:50 UTC

[GitHub] [hadoop] amahussein commented on a change in pull request #1738: HADOOP-16748. Support Python 3 in dev-support scripts.

amahussein commented on a change in pull request #1738:
URL: https://github.com/apache/hadoop/pull/1738#discussion_r576279272



##########
File path: dev-support/determine-flaky-tests-hadoop.py
##########
@@ -35,22 +35,8 @@
 # at the failed test for the specific run is necessary.
 #
 import sys
-import platform
-sysversion = sys.hexversion
-onward30 = False
-if sysversion < 0x020600F0:
-  sys.exit("Minimum supported python version is 2.6, the current version is " +
-      "Python" + platform.python_version())
-
-if sysversion == 0x030000F0:
-  sys.exit("There is a known bug with Python" + platform.python_version() +
-      ", please try a different version");
-
-if sysversion < 0x03000000:
-  import urllib2
-else:
-  onward30 = True
-  import urllib.request
+

Review comment:
       Is the `determine-flaky-tests-hadoop.py` is being used? I thought it does not work since the developers are manually filing the flaky tests.




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org