Your message dated Wed, 13 Nov 2024 16:35:22 +0000
with message-id <e1tbgkw-00bqll...@fasolo.debian.org>
and subject line Bug#1082233: fixed in python-munch 4.0.0-2
has caused the Debian Bug report #1082233,
regarding python-munch FTBFS with Python 3.13
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 ow...@bugs.debian.org
immediately.)
--
1082233: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082233
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-munch
Version: 4.0.0-1
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/Infinidat/munch/issues/103
This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.
To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.
What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html
Log snippet:
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_munch/build;
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.3.0
collected 112 items
tests/test_munch.py ...........................F........................ [ 46%]
.....F............................................... [ 93%]
tests/test_readme.py . [ 94%]
tests/test_yaml.py ...... [100%]
=================================== FAILURES ===================================
__________________ test_reserved_attributes[__firstlineno__] ___________________
attrname = '__firstlineno__'
@pytest.mark.parametrize("attrname", dir(Munch))
def test_reserved_attributes(attrname):
# Make sure that the default attributes on the Munch instance are
# accessible.
taken_munch = Munch(**{attrname: 'abc123'})
# Make sure that the attribute is determined as in the filled
collection...
assert attrname in taken_munch
# ...and that it is available using key access...
assert taken_munch[attrname] == 'abc123'
# ...but that it is not available using attribute access.
attr = getattr(taken_munch, attrname)
assert attr != 'abc123'
empty_munch = Munch()
# Make sure that the attribute is not seen contained in the empty
# collection...
assert attrname not in empty_munch
# ...and that the attr is of the correct original type.
attr = getattr(empty_munch, attrname)
if attrname == '__doc__':
assert isinstance(attr, str)
elif attrname in ('__hash__', '__weakref__'):
assert attr is None
elif attrname == '__module__':
assert attr == 'munch'
elif attrname == '__dict__':
assert attr == {}
else:
> assert callable(attr)
E assert False
E + where False = callable(48)
tests/test_munch.py:229: AssertionError
_______________ test_reserved_attributes[__static_attributes__] ________________
attrname = '__static_attributes__'
@pytest.mark.parametrize("attrname", dir(Munch))
def test_reserved_attributes(attrname):
# Make sure that the default attributes on the Munch instance are
# accessible.
taken_munch = Munch(**{attrname: 'abc123'})
# Make sure that the attribute is determined as in the filled
collection...
assert attrname in taken_munch
# ...and that it is available using key access...
assert taken_munch[attrname] == 'abc123'
# ...but that it is not available using attribute access.
attr = getattr(taken_munch, attrname)
assert attr != 'abc123'
empty_munch = Munch()
# Make sure that the attribute is not seen contained in the empty
# collection...
assert attrname not in empty_munch
# ...and that the attr is of the correct original type.
attr = getattr(empty_munch, attrname)
if attrname == '__doc__':
assert isinstance(attr, str)
elif attrname in ('__hash__', '__weakref__'):
assert attr is None
elif attrname == '__module__':
assert attr == 'munch'
elif attrname == '__dict__':
assert attr == {}
else:
> assert callable(attr)
E assert False
E + where False = callable(())
tests/test_munch.py:229: AssertionError
=========================== short test summary info ============================
FAILED tests/test_munch.py::test_reserved_attributes[__firstlineno__] - asser...
FAILED tests/test_munch.py::test_reserved_attributes[__static_attributes__]
======================== 2 failed, 110 passed in 0.26s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_munch/build; python3.13 -m pytest tests
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_munch/build;
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.3.0
collected 110 items
tests/test_munch.py .................................................... [ 47%]
................................................... [ 93%]
tests/test_readme.py . [ 94%]
tests/test_yaml.py ...... [100%]
============================= 110 passed in 0.23s ==============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T04:30:07Z
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/786292/
This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.
Thanks,
Stefano
--- End Message ---
--- Begin Message ---
Source: python-munch
Source-Version: 4.0.0-2
Done: Alexandre Detiste <tc...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-munch, 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 1082...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexandre Detiste <tc...@debian.org> (supplier of updated python-munch 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 13 Nov 2024 17:08:42 +0100
Source: python-munch
Architecture: source
Version: 4.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Alexandre Detiste <tc...@debian.org>
Closes: 1082233
Changes:
python-munch (4.0.0-2) unstable; urgency=medium
.
* Team upload.
* Fix FTBFS with Python3.13 using patch (Closes: #1082233)
Checksums-Sha1:
06a9296507749a3a318afccdc7e965667dee116a 2149 python-munch_4.0.0-2.dsc
2acbd9749c268600d90b529b911991572faa9aa8 3748
python-munch_4.0.0-2.debian.tar.xz
1c17c230146e2921286d89f606ace20505893099 8152
python-munch_4.0.0-2_source.buildinfo
Checksums-Sha256:
eeecd4a581a55bcaf06fc105a5668f533a6139fc37b95bf0f81d813fdab6e9ba 2149
python-munch_4.0.0-2.dsc
7f2653ec88f0e9b19a9dec89ad013c766e7236471b931cb9b08064048147c2b6 3748
python-munch_4.0.0-2.debian.tar.xz
3f4815d9f60fa4f7a06d87841b42f8b2147348bf9c73b8b663b113fd43f426aa 8152
python-munch_4.0.0-2_source.buildinfo
Files:
13876ab876e332a1bb410164a7a95e5d 2149 python optional python-munch_4.0.0-2.dsc
71b73b9f80c0c453ce300c6432e50fca 3748 python optional
python-munch_4.0.0-2.debian.tar.xz
c4ad6986e9cd122740fca541bdb8fd53 8152 python optional
python-munch_4.0.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmc00l0RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBotrw//Riai6lGz63LMug4x5g4y77NUE8EVbphR
AOY8CQzXcvAf+/5DRG3YEM+AAC8HkcjT3Ts2ms4K3Ylj4lJhcKEVnGOREt9rMKSR
3NNsLiMBDOe0DCtnY+J2urzzYIVG7U3SFoCKLZLMfHR/ceAPjyhnzL6pE27yfgLK
0uUDM5q8ydeSrNozA5WIJWli4P5ful6pNsWoWra/yW1V7OhNCsm2L2yOUJiDNxXm
8QBMt5kvRVbU4FBv3ywT0Rb19p+KgWdfsdAftMDEcZPjoZY8stFHU28NDKBU5LXR
Gw2UFBlpsXbykPb9pM7PYZl/y1Xq5SRW+0yICadITQxQz0G61reVKP7oZPeP4ftc
3S9U4Cxa36KqI24tKornjSEL9MvR6pvRV4FWJSfRXMmcV1+RYlh1l/AGpJEZeNb5
Goh+4J3MizRxk6VJPUe3omk/Epe46JhdJVHOCMCVNqeFn2rh4oHo/Fr4u4JLpKH2
Ous6rEOeuXk+rethKs+uqLihwPi6ALcBH+PiqxKUSQ8obJ39i4l5zCoePBmtFhas
YSlmowc/9mbAnChZZIsfWfuykuFabggbMNee/oEOe9kjAi9tMzwfqMC9WYqP/bD3
ELYNbNPsL0orcQeIePiIf9jZCIDW+nTyo1194I+UbLON7p6Z5IkFefPWRi8BMOrG
EOQQXGA5Raw=
=rzkT
-----END PGP SIGNATURE-----
pgpjxCmyqCPU9.pgp
Description: PGP signature
--- End Message ---