GNU bug report logs -
#72042
[core-updates] Python-gst fails its test suite
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Wed, 10 Jul 2024 19:38:01 UTC
Severity: normal
Done: Andrew Tropin <andrew <at> trop.in>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72042 in the body.
You can then email your comments to 72042 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Wed, 10 Jul 2024 19:38:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 10 Jul 2024 19:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On core-updates commit 378e1d9b69b030a, python-gst fails its test suite
like this:
------
======================================================================
FAIL: testPropertyMarshalling (test_types.TestFraction)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 98, in tearDown
self.gcverify()
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 81, in gcverify
self.assertFalse(leaked, leaked)
AssertionError: [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x787820)>] is not false : [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x787820)>]
======================================================================
FAIL: testPropertyMarshalling (test_types.TestValueArray)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 98, in tearDown
self.gcverify()
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 81, in gcverify
self.assertFalse(leaked, leaked)
AssertionError: [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x78b6c0)>] is not false : [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x78b6c0)>]
----------------------------------------------------------------------
Ran 32 tests in 1.179s
FAILED (failures=2, errors=32)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
3/3 Test plugins OK 0.32s
Summary of Failures:
2/3 Test fundamentals FAIL 1.45s exit status 1
Ok: 2
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /tmp/guix-build-python-gst-1.22.3.drv-0/build/meson-logs/testlog.txt
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "meson" arguments: ("test" "--print-errorlogs" "-t" "0") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 2.9 seconds
command "meson" "test" "--print-errorlogs" "-t" "0" failed with status 1
build process 6 exited with status 256
builder for `/gnu/store/qdqxmq3y1w03d5v3736r5f0cw4wz9alz-python-gst-1.22.3.drv' failed with exit code 1
build of /gnu/store/qdqxmq3y1w03d5v3736r5f0cw4wz9alz-python-gst-1.22.3.drv failed
View build log at '/var/log/guix/drvs/qd/qxmq3y1w03d5v3736r5f0cw4wz9alz-python-gst-1.22.3.drv.gz'.
------
I've attached the testlog.txt. Any ideas?
[testlog.txt (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Mon, 02 Sep 2024 15:14:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 72042 <at> debbugs.gnu.org (full text, mbox):
Hi,
The issue is here:
https://gitlab.gnome.org/GNOME/pygobject/-/issues/624
I've tried and upgrading python-pygobject from 3.47.0 (currently on
master) to 3.48.2 (current upstream release) fixes the issue.
Unfortunately python-pygobject has a lot of dependent packages.
$ guix refresh --list-dependent python-pygobject
Building the following 2015 packages would ensure 4466 dependent packages are rebuilt: ..
Graft, add a python-pygobject-3.48.2 package or just go for it?
Cheers,
Remco
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Mon, 02 Sep 2024 18:20:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 72042 <at> debbugs.gnu.org (full text, mbox):
On Mon, Sep 02, 2024 at 05:12:22PM +0200, Remco van 't Veer wrote:
> The issue is here:
>
> https://gitlab.gnome.org/GNOME/pygobject/-/issues/624
>
> I've tried and upgrading python-pygobject from 3.47.0 (currently on
> master) to 3.48.2 (current upstream release) fixes the issue.
Aha, thanks for finding that information. I wasn't able to find it when
I created this bug.
> Unfortunately python-pygobject has a lot of dependent packages.
>
> $ guix refresh --list-dependent python-pygobject
> Building the following 2015 packages would ensure 4466 dependent packages are rebuilt: ..
>
> Graft, add a python-pygobject-3.48.2 package or just go for it?
Hm, I don't think it's worth rebuilding 4466 packages on master just to
fix the handful of packages that actually use python-gst.
I wonder if we could create a new package called python-pygobject-3.48.2
and use it for python-gst? And then upgrade pygobject on the python-team
branch? That way we could avoid the rebuilds and avoid a graft.
Information forwarded
to
liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Mon, 02 Sep 2024 19:41:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 72042 <at> debbugs.gnu.org (full text, mbox):
Like this?
Remco van 't Veer (1):
gnu: python-gst: Fix build.
gnu/packages/glib.scm | 15 +++++++++++++++
gnu/packages/gstreamer.scm | 3 ++-
2 files changed, 17 insertions(+), 1 deletion(-)
base-commit: ad7211cfe0cba1b7a97308c0fec941c807c1c1e5
--
2.45.2
Information forwarded
to
liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Mon, 02 Sep 2024 19:41:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 72042 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/glib.scm: Add package python-pygobject-3.48.
* gnu/packages/gstreamer.scm (python-gst) [inputs]:
Use python-pygobject-3.48 to fix tests.
Change-Id: I3038b85db67ff354a6d77708fa4fd7c63aa6732c
---
gnu/packages/glib.scm | 15 +++++++++++++++
gnu/packages/gstreamer.scm | 3 ++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 9827856f32..d6275ea63e 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
;;; Copyright © 2023 Saku Laesvuori <saku <at> laesvuori.fi>
;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1077,6 +1078,20 @@ (define-public python-pygobject
'((upstream-name . "pygobject")))
(license license:lgpl2.1+)))
+(define-public python-pygobject-3.48
+ (package
+ (inherit python-pygobject)
+ (version "3.48.2")
+ (source
+ (origin
+ (inherit (package-source python-pygobject))
+ (uri (string-append "mirror://gnome/sources/pygobject/"
+ (version-major+minor version)
+ "/pygobject-" version ".tar.xz"))
+ (sha256
+ (base32
+ "19yii8lydnjw225k4gclhn8hya7caiginqi0mj9a0cdym6sax507"))))))
+
(define-public perl-glib
(package
(name "perl-glib")
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index ad08285181..66978fc2bc 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1126,7 +1127,7 @@ (define-public python-gst
(native-inputs
(list pkg-config python))
(propagated-inputs
- (list gst-plugins-base python-pygobject))
+ (list gst-plugins-base python-pygobject-3.48))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis "GStreamer GObject Introspection overrides for Python")
(description
--
2.45.2
Reply sent
to
Andrew Tropin <andrew <at> trop.in>
:
You have taken responsibility.
(Thu, 05 Sep 2024 15:26:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Famulari <leo <at> famulari.name>
:
bug acknowledged by developer.
(Thu, 05 Sep 2024 15:26:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 72042-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2024-09-02 21:38, Remco van 't Veer wrote:
> * gnu/packages/glib.scm: Add package python-pygobject-3.48.
> * gnu/packages/gstreamer.scm (python-gst) [inputs]:
> Use python-pygobject-3.48 to fix tests.
>
> Change-Id: I3038b85db67ff354a6d77708fa4fd7c63aa6732c
> ---
> gnu/packages/glib.scm | 15 +++++++++++++++
> gnu/packages/gstreamer.scm | 3 ++-
> 2 files changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
> index 9827856f32..d6275ea63e 100644
> --- a/gnu/packages/glib.scm
> +++ b/gnu/packages/glib.scm
> @@ -20,6 +20,7 @@
> ;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
> ;;; Copyright © 2023 Saku Laesvuori <saku <at> laesvuori.fi>
> ;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
> +;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -1077,6 +1078,20 @@ (define-public python-pygobject
> '((upstream-name . "pygobject")))
> (license license:lgpl2.1+)))
>
> +(define-public python-pygobject-3.48
> + (package
> + (inherit python-pygobject)
> + (version "3.48.2")
> + (source
> + (origin
> + (inherit (package-source python-pygobject))
> + (uri (string-append "mirror://gnome/sources/pygobject/"
> + (version-major+minor version)
> + "/pygobject-" version ".tar.xz"))
> + (sha256
> + (base32
> + "19yii8lydnjw225k4gclhn8hya7caiginqi0mj9a0cdym6sax507"))))))
> +
> (define-public perl-glib
> (package
> (name "perl-glib")
> diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
> index ad08285181..66978fc2bc 100644
> --- a/gnu/packages/gstreamer.scm
> +++ b/gnu/packages/gstreamer.scm
> @@ -11,6 +11,7 @@
> ;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
> ;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> +;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -1126,7 +1127,7 @@ (define-public python-gst
> (native-inputs
> (list pkg-config python))
> (propagated-inputs
> - (list gst-plugins-base python-pygobject))
> + (list gst-plugins-base python-pygobject-3.48))
> (home-page "https://gstreamer.freedesktop.org/")
> (synopsis "GStreamer GObject Introspection overrides for Python")
> (description
Thank you! Applied the fix, pushed as
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=7d2ced8d6d
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Wed, 11 Sep 2024 06:07:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 72042-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Andrew Tropin <andrew <at> trop.in> writes:
> On 2024-09-02 21:38, Remco van 't Veer wrote:
>
>> * gnu/packages/glib.scm: Add package python-pygobject-3.48.
>> * gnu/packages/gstreamer.scm (python-gst) [inputs]:
>> Use python-pygobject-3.48 to fix tests.
>>
>> Change-Id: I3038b85db67ff354a6d77708fa4fd7c63aa6732c
[...]
>> diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
>> index ad08285181..66978fc2bc 100644
>> --- a/gnu/packages/gstreamer.scm
>> +++ b/gnu/packages/gstreamer.scm
>> @@ -11,6 +11,7 @@
>> ;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
>> ;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
>> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
>> +;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
>> ;;;
>> ;;; This file is part of GNU Guix.
>> ;;;
>> @@ -1126,7 +1127,7 @@ (define-public python-gst
>> (native-inputs
>> (list pkg-config python))
>> (propagated-inputs
>> - (list gst-plugins-base python-pygobject))
>> + (list gst-plugins-base python-pygobject-3.48))
It's nice that this fixes the package build, but propagating various
version of Python libraries a road that to leads to problems. Currently
it's important that propagated things are all compatible together.
I'd suggest trying to update python-gst to see if it works with the
newer python-pygobject instead.
--
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Wed, 11 Sep 2024 07:30:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 72042-done <at> debbugs.gnu.org (full text, mbox):
Hi Maxim,
2024/09/11, Maxim Cournoyer:
> It's nice that this fixes the package build, but propagating various
> version of Python libraries a road that to leads to problems. Currently
> it's important that propagated things are all compatible together.
>
> I'd suggest trying to update python-gst to see if it works with the
> newer python-pygobject instead.
It does because this is the newer version. I proposed to do a graft or
just go for the upgrade[1] but python-pygobject has a lot of dependent
packages.
$ guix refresh --list-dependent python-pygobject
Building the following 2015 packages would ensure 4466 dependent packages are rebuilt: ..
Should I provide a patch to just go for the newer version?
Remco
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Wed, 11 Sep 2024 17:01:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 72042-done <at> debbugs.gnu.org (full text, mbox):
Am Mittwoch, dem 11.09.2024 um 09:29 +0200 schrieb Remco van 't Veer:
> Hi Maxim,
>
> 2024/09/11, Maxim Cournoyer:
>
> > It's nice that this fixes the package build, but propagating
> > various version of Python libraries a road that to leads to
> > problems. Currently it's important that propagated things are all
> > compatible together.
> >
> > I'd suggest trying to update python-gst to see if it works with the
> > newer python-pygobject instead.
>
> It does because this is the newer version. I proposed to do a graft
> or
> just go for the upgrade[1] but python-pygobject has a lot of
> dependent
> packages.
>
> $ guix refresh --list-dependent python-pygobject
> Building the following 2015 packages would ensure 4466 dependent
> packages are rebuilt: ..
>
> Should I provide a patch to just go for the newer version?
How many dependents does python-gst have?
Can we patch it to work with the current version?
If not, can sneak in python-gobject-3.48 as a regular input instead of
propagating it?
Perhaps we could even delay this for gnome-team, where massive rebuilds
are less of an issue.
Cheers
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Thu, 12 Sep 2024 00:39:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 72042-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
> Am Mittwoch, dem 11.09.2024 um 09:29 +0200 schrieb Remco van 't Veer:
>> Hi Maxim,
>>
>> 2024/09/11, Maxim Cournoyer:
>>
>> > It's nice that this fixes the package build, but propagating
>> > various version of Python libraries a road that to leads to
>> > problems. Currently it's important that propagated things are all
>> > compatible together.
>> >
>> > I'd suggest trying to update python-gst to see if it works with the
>> > newer python-pygobject instead.
>>
>> It does because this is the newer version. I proposed to do a graft
>> or
>> just go for the upgrade[1] but python-pygobject has a lot of
>> dependent
>> packages.
>>
>> $ guix refresh --list-dependent python-pygobject
>> Building the following 2015 packages would ensure 4466 dependent
>> packages are rebuilt: ..
>>
>> Should I provide a patch to just go for the newer version?
> How many dependents does python-gst have?
> Can we patch it to work with the current version?
> If not, can sneak in python-gobject-3.48 as a regular input instead of
> propagating it?
>
> Perhaps we could even delay this for gnome-team, where massive rebuilds
> are less of an issue.
I'm not in the python-team, but a branch could be set for it if there
isn't one already and an update of python-gst pushed there. If someone
needs admin access to the Berlin CI to configure jobs I can be of help.
--
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72042
; Package
guix
.
(Thu, 12 Sep 2024 07:05:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 72042-done <at> debbugs.gnu.org (full text, mbox):
Hi Liliana and Maxim,
2024/09/11, Liliana Marie Prikler:
> Am Mittwoch, dem 11.09.2024 um 09:29 +0200 schrieb Remco van 't Veer:
>> Hi Maxim,
>>
>> 2024/09/11, Maxim Cournoyer:
>>
>> > It's nice that this fixes the package build, but propagating
>> > various version of Python libraries a road that to leads to
>> > problems. Currently it's important that propagated things are all
>> > compatible together.
>> >
>> > I'd suggest trying to update python-gst to see if it works with the
>> > newer python-pygobject instead.
>>
>> It does because this is the newer version. I proposed to do a graft
>> or
>> just go for the upgrade[1] but python-pygobject has a lot of
>> dependent
>> packages.
>>
>> $ guix refresh --list-dependent python-pygobject
>> Building the following 2015 packages would ensure 4466 dependent
>> packages are rebuilt: ..
>>
>> Should I provide a patch to just go for the newer version?
> How many dependents does python-gst have?
$ guix refresh --list-dependent python-gst
Building the following 6 packages would ensure 6 dependent packages are rebuilt: cozy <at> 1.2.1 lollypop <at> 1.4.40 quodlibet <at> 4.5.0 gourmet <at> 0.17.4-0.8af29c8 blanket <at> 0.5.0 pitivi <at> 2022.06.0
> Can we patch it to work with the current version?
Probably but I think python-gobject is actually broken now and needs to
be upgraded. I am not aware of other packages failing because of this
but I think there are.
> If not, can sneak in python-gobject-3.48 as a regular input instead of
> propagating it?
I do not know what that means.
> Perhaps we could even delay this for gnome-team, where massive rebuilds
> are less of an issue.
Yes please?
Also note, that this patch has been merged and the issue has been
closed. Maybe it should be reopened or a new issue should be opened?
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 10 Oct 2024 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.