Thread View: linux.debian.bugs.rc
3 messages
3 total messages
Started by Georg Faerber
Tue, 20 Oct 2026 19:40
Bug#1151452: [Pkg-privacy-maintainers] Bug#1151452: mat2: FTBFS with dh-python 7.20261019
Author: Georg Faerber
Date: Tue, 20 Oct 2026 19:40
Date: Tue, 20 Oct 2026 19:40
40 lines
3216 bytes
3216 bytes
Hi Maximiliano, Thanks for your report -- On 26-10-20 21:05:10, Maximiliano Curia wrote: > While preparing the Python 3.15 migration we realized that some Python > packages were shipping broken metadata directories, which leads to > errors when trying to import these directories with code running on > Python 3.15. > > To avoid shipping any additional broken directories, dh-python > 7.20261019 now throws an error at build-time. > > Unfortunately, mat2 is one of the affected packages and fails to build > with the latest dh-python [1]. > > Most of these errors can be fixed by being more strict with the files > considered for installation. I'll try to submit a patch for this ASAP. > > [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/5118877/ I had a quick look at the above link: to me it seems that the build fails not due to broken metadata directories, but rather due to FAIL: test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) AssertionError: False is not true : got a different value (720000) than excepted [...] which looks similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993209 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021732 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148580 ... The autopkgtest via ci.d.n is failing since quite some time as well. Does this make sense? Cheers, Georg
Bug#1151452: [Pkg-privacy-maintainers] Bug#1151452: mat2: FTBFS with dh-python 7.20261019
Author: Maximiliano Curia
Date: Tue, 20 Oct 2026 20:20
Date: Tue, 20 Oct 2026 20:20
142 lines
6969 bytes
6969 bytes
--nFmizUXQWIMx4463
Content-Type: multipart/mixed; boundary="HUZ2A0nQgYgKOkga"
Content-Disposition: inline
--HUZ2A0nQgYgKOkga
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
=A1Hola Georg!
El 2026-10-20 a las 19:36 +0000, Georg Faerber escribi=F3:
>Thanks for your report --
You are welcome.
>On 26-10-20 21:05:10, Maximiliano Curia wrote:
>> While preparing the Python 3.15 migration we realized that some Python
>> packages were shipping broken metadata directories, which leads to
>> errors when trying to import these directories with code running on
>> Python 3.15.
>>
>> To avoid shipping any additional broken directories, dh-python
>> 7.20261019 now throws an error at build-time.
>>
>> Unfortunately, mat2 is one of the affected packages and fails to build
>> with the latest dh-python [1].
>>
>> Most of these errors can be fixed by being more strict with the files
>> considered for installation. I'll try to submit a patch for this ASAP.
>>
>> [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/511=
8877/
>
>I had a quick look at the above link: to me it seems that the build
>fails not due to broken metadata directories, but rather due to
>
> FAIL: test_all_parametred (tests.test_libmat2.TestCleaning.test_all_para=
metred)
> AssertionError: False is not true : got a different value (720000) than =
excepted [...]
>
>which looks similar to
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D993209
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1021732
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148580
> ...
>
>The autopkgtest via ci.d.n is failing since quite some time as well.
>Does this make sense?
Yes, this package already had an FTBFS due to a change in ffmpeg 9. I
prepared another patch for that, and I cherry-picked a patch from
upstream (attaching them). With these patches the package builds again.
Happy hacking,
--=20
"It is not the task of the University to offer what society asks for, but t=
o=20
give what society needs."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/
--HUZ2A0nQgYgKOkga
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
filename=0001-Fix-mp4-test-with-ffmpeg-9.patch
Description: Fix MP4 test failure with FFmpeg 9
Newer FFmpeg calculates the movie timescale from the stream timescales
(resulting in 720000 for dirty.mp4) rather than defaulting to 1000.
Forwarded: no
--- a/tests/test_libmat2.py
+++ b/tests/test_libmat2.py
@@ -611,6 +611,7 @@
},
'extra_expected_meta': {
'VideoFullRangeFlag': 0,
+ 'TimeScale': 720000,
}
},{
'name': 'wmv',
--HUZ2A0nQgYgKOkga
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
filename=0002-Disable-namespace-package-discovery.patch
Content-Transfer-Encoding: quoted-printable
=46rom bdf641b5fda400df70e387cb7379f9a08cef0f17 Mon Sep 17 00:00:00 2001
=46rom: Lukas Schmelting <lschmelting@posteo.com>
Date: Wed, 12 Aug 2026 18:17:50 +0200
Subject: [PATCH] Disable namespace package discovery
Prevent non-Python directories such as data, doc, dolphin and nemo from
being installed into site-packages by setuptools' implicit namespace
package discovery.
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 7b14858..b37aa71 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -38,6 +38,7 @@ script-files =3D ["mat2"]
=20
[tool.setuptools.packages.find]
exclude =3D ["tests*"]
+namespaces =3D false
=20
[tool.setuptools.data-files]
"share/man/man1" =3D ["doc/mat2.1"]
--=20
2.53.0
--HUZ2A0nQgYgKOkga--
--nFmizUXQWIMx4463
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrXy8UACgkQxxl2mbKb
IyoqOg//QuJM7atma0NUQ6RN4K90tz0Y+BN9fv8egtrYZU3kFwHYfi8iRzFyTklm
ZscsGq7aLjBZjshFHXju+esYePjjGE4TdAnBziDi+/+bqdolEByImzVNcM7tMbcQ
TDGqeWhPW8IqBLiOwyiIVzFFzQiei04m5AYwXP2t2qQ8HERdxMPjoZfxEztVyasw
i5s8wlWZHoqe8+x4VJ9gi3WctZexUmZCXFn3YOuizD9/AQ1Z+aqpwJzNnAstWCYL
xprTRqptheV1+pyKADdIF+G0+AUj6aswiZtgfcO/AFw+7m2JP3Lxml3vG77E9Uwq
4cWS3wee2hbXBUz+MVPj5AOA0y0yX2PLWKWgKrXZEfWP/rKUCPiAN4zWzGcwfy1q
3r5M4Mwj/qKLEjJBwtodETPC+Mq8TJ08iarFUGxIPpu/0ooO0Q1+t2WbWUF+KOlP
LlmOE+O9tAhEaz8Qtr9VfJ4p+q9PGe66ZbffHPVCxOkG1GAI+KPPCtQb4gAb2Hb1
BIW8V6vus91gWlNfbEt6NgE/aCqa8tdxAhSoWZCzNHK9xJc8cW9R6x44nzszHLSL
+F0+weujSjpC0ri88QB7wWHIEdveCIgOhXVIQ8Ro/HqupXKDBTjI5KGJvRM5RT2l
dVZNaDCmQf7ABEKg67Ziz3EU9l1mKHkd9wc3qVUdr6cRBnQROoU=
=qSPX
-----END PGP SIGNATURE-----
--nFmizUXQWIMx4463--
Bug#1151452: [Pkg-privacy-maintainers] Bug#1151452: Bug#1151452: mat2: FTBFS with dh-python 7.20261019
Author: Georg Faerber
Date: Sat, 24 Oct 2026 09:20
Date: Sat, 24 Oct 2026 09:20
14 lines
2553 bytes
2553 bytes
Hi Maximiliano, On 26-10-23 09:15:33, Maximiliano Curia wrote: > Ok, I'll try to prepare an nmu. Thanks sooo much! Any chance you could push your changes to the git repo as well? If that's problematic due to membership and therefore access, I'm also happy to pull if you tell me where from. Thanks again, cheers, Georg
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads