Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Debian Bug Tracking System
Thu, 05 Nov 2026 20:00
Bug#1146871: marked as done (monty: FTBFS against python 3.15rc2)
Author: Debian Bug Tracking System
Date: Thu, 05 Nov 2026 20:00
Date: Thu, 05 Nov 2026 20:00
338 lines
15883 bytes
15883 bytes
This is a multi-part message in MIME format...
------------=_1793908262-3652532-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Thu, 05 Nov 2026 19:49:19 +0000
with message-id <E1xP3SZ-00000005KF5-27hs@fasolo.debian.org>
and subject line Bug#1146871: fixed in monty 2026.10.21-1
has caused the Debian Bug report #1146871,
regarding monty: FTBFS against python 3.15rc2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1146871: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1146871
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1793908262-3652532-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 6 Sep 2026 15:32:34 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-118.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham
autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 149; neutral, 102; spammy,
1. spammytokens:0.993-1--H*r:58782
hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <maxy@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:58782)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <maxy@debian.org>)
id 1x3ErC-003Ts6-2L
for submit@bugs.debian.org;
Sun, 06 Sep 2026 15:32:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=ikSl9VmJZ52mRkE59Q4oXPnKprBzhrcZewbV1+owKaw=; b=etI2IkpCNS8uRrVWZz5/rmc1J5
ZZq3PARhU+AeH48GRqy3LR8N/yX+MPSwqAKSowsS2IrJHZyl8suGbLaUPMYb028+BRGroc9/QSykM
1X77X1a2okhJ7mDYtmlwFxdeARWHTgnBCGLa5NeQe3ET6+HRfxaEOdYe0ls/HV9bjMQKrMwdKoxPW
rnsDaYwD0aFBRH59wzR/ky96tyXLnmI8SbK2yO1KThzNjbpeSMhe5/UUUJ7RsGQFcs2PTudYPDmbg
V2Cw6byzOC+bhUrC0Cvx5SinqYtY4HZCSPVGWnjJ+Fb5Ptcq3WR+LqUPQhqGxOUUnUDGpSlUqntBF
NrX0Cn+g==;
Received: from authenticated-user
by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <maxy@debian.org>)
id 1x3ErA-000pew-0D
for submit@bugs.debian.org;
Sun, 06 Sep 2026 15:32:33 +0000
Date: Sun, 6 Sep 2026 17:32:31 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Subject: monty: FTBFS against python 3.15rc2
Message-ID: <ap2Hj0OwmFkYi0zI@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="/qGAmLs47i457nov"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org
--/qGAmLs47i457nov
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Package: src:monty
Version: 2026.2.18-3
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that monty fails to build from source [1].
The problem happens because `val = dct.popitem()` now pops the last
element instead of the first one. This is due to a bugfix in UserDict
which was popping FIFO instead of LIFO. [2]
There's one confusing factor here, which is that in the latest release
(not yet in Debian), upstream moved to inherit from dict instead of
UserDict, and dict always had this LIFO behavior, so I'm not sure how it
is that these tests aren't failing upstream regardless of the Python
version.
In any case, it's possible to workaround this issue by allowing the
problematic test to take either the first or the last element. The test
only cares that the element gets removed from the dictionary when
popping it, so that should be fine.
I have created a patch with this workaround and applied it in the
sandbox [3] to be able to build the packages that depend on monty,
please consider applying the patch to support the upcoming 3.15 version.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4453093/
[2]: https://github.com/python/cpython/issues/147957
[3]: https://debusine.debian.net/debian/r-python-python3.15/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
--/qGAmLs47i457nov
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=popitem-is-lifo.patch
Index: monty/tests/test_collections.py
===================================================================
--- monty.orig/tests/test_collections.py
+++ monty/tests/test_collections.py
@@ -93,7 +93,11 @@ class TestControlledDict:
assert val == 2 and "b" not in dct
val = dct.popitem()
- assert val == ("c", 3) and "c" not in dct
+ # popitem may be LIFO or FIFO depending on the Python version, we don't
+ # actually care for the test, so just check that it returned a valid
+ # item and that it was removed from the dictionary
+ assert (val == ("c", 3) and "c" not in dct) or (val == ("d", 4) and "d"
+ not in dct)
dct.clear()
assert dct == {}
--/qGAmLs47i457nov--
------------=_1793908262-3652532-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1146871-close) by bugs.debian.org; 5 Nov 2026 19:49:22 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-112.6 required=4.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
MD5_SHA1_SUM,PDS_BTC_ID,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,
SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 113; hammy, 150; neutral, 153; spammy,
0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:42696)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xP3Sc-00FJy7-2G
for 1146871-close@bugs.debian.org;
Thu, 05 Nov 2026 19:49:22 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xP3Sa-0074xU-2L
for 1146871-close@bugs.debian.org;
Thu, 05 Nov 2026 19:49:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
:Content-Description:In-Reply-To:References;
bh=r3rvFiI4G88Frz1wl6VLPNKbmSGewY+s1HZ4xD7EWkE=; b=BL7Nz4A9M06MGG5q7Hv7tnyvS8
7pUyOw9hR9/rPjV5huD+psvsmTyM3/W/ElyvHJqP9I274eQmaqtLeBQzIez828l4pJf7iGRHEIyEn
tBfWMACHp/O6zbT04LjFhzsoSuxWcnCPLfeNh8kybJ4Rw0LnywvLOCjsn1Vp2CMBMbN8wHWxthaf1
OTBDdDSLi3zbf4Pl1o8lu4WNfeC2gyNaJXtomisK5UJOOIsnDnDNkxoZPf9oyQteR/Tcet7kl41Dn
IRF6lQevlbtdQ45kU3Xb7+7C06IdUNbzlRDqyPD+194ja52TQv/W5AizBxHuFYD/ZDCqiptZEh7z0
veJ8/+aA==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xP3SZ-00000005KF5-27hs;
Thu, 05 Nov 2026 19:49:19 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Pieter Lenaerts <plenae@disroot.org>
To: 1146871-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: monty
Debian: DAK
Debian-Changes: monty_2026.10.21-1_source.changes
Debian-Source: monty
Debian-Version: 2026.10.21-1
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1146871: fixed in monty 2026.10.21-1
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============1647728296124798779=="
Message-Id: <E1xP3SZ-00000005KF5-27hs@fasolo.debian.org>
Date: Thu, 05 Nov 2026 19:49:19 +0000
--===============1647728296124798779==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: monty
Source-Version: 2026.10.21-1
Done: Pieter Lenaerts <plenae@disroot.org>
We believe that the bug you reported is fixed in the latest version of
monty, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1146871@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pieter Lenaerts <plenae@disroot.org> (supplier of updated monty package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 02 Nov 2026 14:01:40 +0100
Source: monty
Architecture: source
Version: 2026.10.21-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Pieter Lenaerts <plenae@disroot.org>
Closes: 1146871
Changes:
monty (2026.10.21-1) unstable; urgency=3Dmedium
.
* Team upload.
* New upstream release.
* d/patches: rebase, mark as Forwarded: not-needed where relevant.
* d/patches: add popitem is lifo or fifo patch (Closes: 1146871), forwarde=
d.
* d/patches: add patch to use python3 instead of python command in
test_subprocess.py. Forward not needed.
* d/control: bump debhelper-compat to 14, remove obsolete substvars, add
build deps, add nochecks, nodocs, add dh-sequences
* d/control: remove obsolete "--withs" and add nodoc filter
* d/salsa-ci.yml: don't do useless tests for pure python, add build profil=
es tests
Checksums-Sha1:
dd76ee9bbc66cd7cf407c7d1f82dff3ba3ecfacd 2781 monty_2026.10.21-1.dsc
44513daef3692acf8d0d267202ac47e798676a86 304377 monty_2026.10.21.orig.tar.gz
8459ce9981bcda4bc1cc6469a99a70f1829db43f 8124 monty_2026.10.21-1.debian.tar.=
xz
a7e9729525e414c33085ad375e6aa8a07a0fc116 11115 monty_2026.10.21-1_amd64.buil=
dinfo
Checksums-Sha256:
1f658fb6a97bee0a08d4a70b6c2db2bd6c39179e4e86013d6348be23277693c8 2781 monty_=
2026.10.21-1.dsc
5cfc6fad90348255784f7ffa998f8016ed4043cd0e3d88c6f3374d3fb0746ee2 304377 mont=
y_2026.10.21.orig.tar.gz
96ce41f4ac48396af79f15ab50696abca17fe109c2d160eeced6367963093bba 8124 monty_=
2026.10.21-1.debian.tar.xz
ce37e89bd4e37a221c93d80cd45f124f26b19d2a0ec430833b864669b95efacd 11115 monty=
_2026.10.21-1_amd64.buildinfo
Files:
7127b12753f85321314569b43d6a2972 2781 python optional monty_2026.10.21-1.dsc
12695c1529be1f1d4aba3c52b1497829 304377 python optional monty_2026.10.21.ori=
g.tar.gz
069bf049835cb6d03f7d8e9935f11ef4 8124 python optional monty_2026.10.21-1.deb=
ian.tar.xz
c3efcbfdc36cbd2028a83fa6bc1d3ce7 11115 python optional monty_2026.10.21-1_am=
d64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmrs2DoSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPxNJAQAIcaQY31EFIB8JLyiCKeWivolDKeofxt
QbGHS1V+90DF5UsgV8ewLzFdU6MB7kMYj2AgeHsZpDubmdix0p+Zxk8ugRx5FBTU
Yga6qDfLhbCAqQmhcSR75Mh+HK0JdVvVh+lIik8MRWgN1eKAXWTjDMsuKyxaLKgk
ocgrEH2xWLr9+Xv638UeAhXXYAuxPNAyFApqQeyCofTLxETguAPjL0/xM0Or94Gk
SmQkIz/aovmfZAwqY6MxHyFSKuyxuyLhB45vPEWz1lQ3ZAKCdIuRBDBtyp3PTfTN
CT8EwRmyWtJQ2smll+QG+/xpgGtvKy9cUqiOilE3OPK0zbWHlJPvLFfD6p6c6hJl
3fO+MRkoBU7HOGI/EO1DXpE0m797DykbZX6MmE9tFf46C8QRzQ1+BZ1mCelFUu3e
HxTz3Ct/ZoFRitOfqVOV9MbabNYr+hOuYEsIeigZPA1+diUyoUodlmp8mPrS7fBm
S4WGa+Sa3zQ71esNlU2igoFT1FhVya/BJz4SN+nguoxyOgNCZ7BmM6UCQiF3YNko
f/EDf52QIsMA9NVxvgPOzMl6kLq5/EfmAR80OH0Oqm2YLpDRtXRB+yB8IeoG4MJD
vmeQlP65ESWjUXgpndR8S4jBW28qLQ5JhKdhpATYF0uHZ/2lDsAdy3bDVuRkbNFv
oWGTRoDGtbi4
=3Ds2sm
-----END PGP SIGNATURE-----
--===============1647728296124798779==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCauzdvwAKCRCb9qggYcy5
IRXTAP4zfaUncdcwtyzzjoOmPqLxjSlO96ydWAQKZAmk30wv2QEAojzT2kUm41xk
Ptb0vvHjizOqA9iuZ6HErWScnjpHsAs=
=krcB
-----END PGP SIGNATURE-----
--===============1647728296124798779==--
------------=_1793908262-3652532-0--
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