[vlc-commits] [Git][videolan/vlc][master] configure: remove usage of subprocess.capture_output
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Fri May 10 14:24:23 UTC 2024
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
24e663be by Olaf Hering at 2024-05-10T13:47:38+00:00
configure: remove usage of subprocess.capture_output
... to restore compatiblity with Python 3.6.
This was initroduced in commit 177d049950e118978fa348e066eb6ad1b220935b,
which broke compilation on openSUSE Leap 15, which uses Python 3.6 als
default Python interpreter.
Fixes #28636
Signed-off-by: Olaf Hering <olaf at aepfle.de>
- - - - -
1 changed file:
- buildsystem/check_qml_module.py
Changes:
=====================================
buildsystem/check_qml_module.py
=====================================
@@ -50,7 +50,7 @@ class QmlModuleChecker:
"-qmlFiles", f.name,
"-importPath", self.qmlpath
],
- capture_output=True,
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE,
)
if ret.returncode != 0:
@@ -86,13 +86,13 @@ class QmlModuleChecker:
if qtconf:
ret = subprocess.run(
[ qmake, "-qtconf", qtconf, "-query"],
- capture_output=True,
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE,
encoding="utf8"
)
else:
ret = subprocess.run(
[ qmake, "-query"],
- capture_output=True,
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE,
encoding="utf8"
)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/24e663be6f40820db3c12f32f0d2772ef7abaaff
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/24e663be6f40820db3c12f32f0d2772ef7abaaff
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list