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/16 00:46:16 UTC

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

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



##########
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:
       I think it is not used. Now the developers can check the age from Jenkins Web UI (https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java8-linux-x86_64/418/testReport/) instead of running the script.
   
   ![image](https://user-images.githubusercontent.com/3403122/108005235-83b52400-703b-11eb-97f9-cd45de8d4947.png)
   




----------------------------------------------------------------
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