Files
gentoo/dev-python/gst-python/files/gst-python-1.26.11-skip-test.patch
T
Alfred Wingate f109de6606 dev-python/gst-python: drop the pygobject upperbound
Backport change that unbreaks gstreamer-editing-services.

A test still doesn't pass, but Debian feels confident enough to just skip
so why not follow.

Bug: https://bugs.gentoo.org/957940
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/527
Signed-off-by: Sam James <sam@gentoo.org>
2026-05-08 18:01:49 +01:00

31 lines
1.1 KiB
Diff

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4772#note_3291563
Description: disable tests that are broken since pygobject 3.54
Since pygobject 3.54, the tests are broken. With 1.28.0 on the horizon,
the choice is to disable the broken tests to get the version release
synchronised again.
Author: Marc Leeman <marc.leeman@gmail.com>
Forwarded: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4772
Last-Update: 2026-01-16
Index: gst-python1.0/testsuite/test_gst_init.py
===================================================================
--- gst-python1.0.orig/testsuite/test_gst_init.py
+++ gst-python1.0/testsuite/test_gst_init.py
@@ -30,6 +30,7 @@ overrides_hack
class TestNotInitialized(TestCase):
+ @unittest.skip("Broken since pygobject 3.54")
def testNotInitialized(self):
if sys.version_info >= (3, 0):
assert_type = Gst.NotInitialized
@@ -45,6 +46,7 @@ class TestNotInitialized(TestCase):
with self.assertRaises(assert_type):
Gst.ElementFactory.make("identity", None)
+ @unittest.skip("Broken since pygobject 3.54")
def testNotDeinitialized(self):
Gst.init(None)