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 <o...@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
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to