Title: [293163] trunk/Tools
- Revision
- 293163
- Author
- carlo...@webkit.org
- Date
- 2022-04-21 04:40:05 -0700 (Thu, 21 Apr 2022)
Log Message
[GTK][WPE] Make make-dist script python3 only
https://bugs.webkit.org/show_bug.cgi?id=239596
Reviewed by Adrian Perez de Castro.
It fails with python2 since r291934.
* Scripts/make-dist:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (293162 => 293163)
--- trunk/Tools/ChangeLog 2022-04-21 10:53:04 UTC (rev 293162)
+++ trunk/Tools/ChangeLog 2022-04-21 11:40:05 UTC (rev 293163)
@@ -1,3 +1,14 @@
+2022-04-21 Carlos Garcia Campos <cgar...@igalia.com>
+
+ [GTK][WPE] Make make-dist script python3 only
+ https://bugs.webkit.org/show_bug.cgi?id=239596
+
+ Reviewed by Adrian Perez de Castro.
+
+ It fails with python2 since r291934.
+
+ * Scripts/make-dist:
+
2022-04-20 Yusuke Suzuki <ysuz...@apple.com>
Generate well-formed JSON for compile_commands.json
Modified: trunk/Tools/Scripts/make-dist (293162 => 293163)
--- trunk/Tools/Scripts/make-dist 2022-04-21 10:53:04 UTC (rev 293162)
+++ trunk/Tools/Scripts/make-dist 2022-04-21 11:40:05 UTC (rev 293163)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2014 Igalia S.L.
#
# This library is free software; you can redistribute it and/or
@@ -297,7 +297,7 @@
pkgconfig_file = os.path.join(arguments.build_dir, "Source/WebKit/webkit2gtk-4.1.pc")
if os.path.isfile(pkgconfig_file):
- p = subprocess.Popen(['pkg-config', '--modversion', pkgconfig_file], stdout=subprocess.PIPE)
+ p = subprocess.Popen(['pkg-config', '--modversion', pkgconfig_file], stdout=subprocess.PIPE, text="ascii")
version = p.communicate()[0]
if version:
arguments.version = version.rstrip('\n')
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes