Diff
Modified: trunk/Tools/CISupport/Shared/transfer-archive-to-s3 (282067 => 282068)
--- trunk/Tools/CISupport/Shared/transfer-archive-to-s3 2021-09-07 00:16:52 UTC (rev 282067)
+++ trunk/Tools/CISupport/Shared/transfer-archive-to-s3 2021-09-07 00:41:11 UTC (rev 282068)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import boto3
import os
Modified: trunk/Tools/CISupport/ews-build/steps.py (282067 => 282068)
--- trunk/Tools/CISupport/ews-build/steps.py 2021-09-07 00:16:52 UTC (rev 282067)
+++ trunk/Tools/CISupport/ews-build/steps.py 2021-09-07 00:41:11 UTC (rev 282068)
@@ -2748,7 +2748,7 @@
archive = WithProperties('public_html/archives/%(fullPlatform)s-%(architecture)s-%(configuration)s/%(patch_id)s.zip')
identifier = WithProperties('%(fullPlatform)s-%(architecture)s-%(configuration)s')
patch_id = WithProperties('%(patch_id)s')
- command = ['python', '../Shared/transfer-archive-to-s3', '--patch_id', patch_id, '--identifier', identifier, '--archive', archive]
+ command = ['python3', '../Shared/transfer-archive-to-s3', '--patch_id', patch_id, '--identifier', identifier, '--archive', archive]
haltOnFailure = False
flunkOnFailure = False
Modified: trunk/Tools/CISupport/ews-build/steps_unittest.py (282067 => 282068)
--- trunk/Tools/CISupport/ews-build/steps_unittest.py 2021-09-07 00:16:52 UTC (rev 282067)
+++ trunk/Tools/CISupport/ews-build/steps_unittest.py 2021-09-07 00:41:11 UTC (rev 282068)
@@ -3196,7 +3196,7 @@
self.setProperty('architecture', 'x86_64')
self.setProperty('patch_id', '1234')
self.expectLocalCommands(
- ExpectMasterShellCommand(command=['python',
+ ExpectMasterShellCommand(command=['python3',
'../Shared/transfer-archive-to-s3',
'--patch_id', '1234',
'--identifier', 'mac-highsierra-x86_64-release',
@@ -3215,7 +3215,7 @@
self.setProperty('architecture', 'x86_64')
self.setProperty('patch_id', '1234')
self.expectLocalCommands(
- ExpectMasterShellCommand(command=['python',
+ ExpectMasterShellCommand(command=['python3',
'../Shared/transfer-archive-to-s3',
'--patch_id', '1234',
'--identifier', 'ios-simulator-12-x86_64-debug',
Modified: trunk/Tools/ChangeLog (282067 => 282068)
--- trunk/Tools/ChangeLog 2021-09-07 00:16:52 UTC (rev 282067)
+++ trunk/Tools/ChangeLog 2021-09-07 00:41:11 UTC (rev 282068)
@@ -1,3 +1,15 @@
+2021-09-06 Aakash Jain <[email protected]>
+
+ [ews] Invoke transfer-archive-to-s3 with Python 3
+ https://bugs.webkit.org/show_bug.cgi?id=229972
+
+ Reviewed by Alexey Proskuryakov.
+
+ * CISupport/ews-build/steps.py:
+ (TransferToS3): Invoke with python 3.
+ * CISupport/ews-build/steps_unittest.py: Updated unit-tests.
+ * CISupport/Shared/transfer-archive-to-s3: Changed shebang to python 3.
+
2021-09-06 Commit Queue <[email protected]>
Unreviewed, reverting r282025.