Your message dated Sat, 29 Mar 2025 11:47:55 +0000
with message-id <[email protected]>
and subject line Bug#1098680: fixed in python3.13 3.13.2-3
has caused the Debian Bug report #1098680,
regarding /usr/lib/python3.13/tempfile.py: Broken tempfile.TemporaryDirectory
due to min-tempfile.diff patch
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 [email protected]
immediately.)
--
1098680: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098680
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpython3.13-minimal
Version: 3.13.2-1
Severity: important
File: /usr/lib/python3.13/tempfile.py
X-Debbugs-Cc: [email protected]
When trying to build glibc-2.41 (from upstream sources) in a docker container
with trixie-slim + python3.13-minimal:
...
#44 13.46 python3 -B ../scripts/gen-as-const.py --cc="x86_64-lfs-linux-gnu-gcc
-std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef
-Wimplicit-fallthrough -Werror -fmerge-all-constants -frounding-math
-fno-stack-protector -fno-common -U_FORTIFY_SOURCE -Wstrict-prototypes
-Wold-style-definition -fmath-errno -ftls-model=initial-exec
-I../include -I/mnt/lfs/sources/glibc-2.41/build/csu
-I/mnt/lfs/sources/glibc-2.41/build -I../sysdeps/unix/sysv/linux/x86_64/64
-I../sysdeps/unix/sysv/linux/x86_64/include -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86
-I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64
-I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch
-I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch
-I../sysdeps/x86_64 -I../sysdeps/x86/include -I../sysdeps/x86
-I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754
-I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem
/mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/14.2.0/include -isystem
/mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/14.2.0/include-fixed -isystem
/mnt/lfs/usr/include -D_LIBC_REENTRANT -include
/mnt/lfs/sources/glibc-2.41/build/libc-modules.h -DMODULE_NAME=libc -include
../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS \
#44 13.46 -MD -MP -MF /mnt/lfs/sources/glibc-2.41/build/rtld-sizes.h.dT \
#44 13.46 -MT '/mnt/lfs/sources/glibc-2.41/build/rtld-sizes.h.d
/mnt/lfs/sources/glibc-2.41/build/rtld-sizes.h'" \
#44 13.46 rtld-sizes.sym > /mnt/lfs/sources/glibc-2.41/build/rtld-sizes.hT
#44 13.81 Traceback (most recent call last):
#44 13.81 File "/mnt/lfs/sources/glibc-2.41/csu/../scripts/gen-as-const.py",
line 120, in <module>
#44 13.81 main()
#44 13.81 ~~~~^^
#44 13.81 File "/mnt/lfs/sources/glibc-2.41/csu/../scripts/gen-as-const.py",
line 116, in main
#44 13.81 consts = glibcextract.compute_c_consts(sym_data, args.cc)
#44 13.81 File "/mnt/lfs/sources/glibc-2.41/scripts/glibcextract.py", line
55, in compute_c_consts
#44 13.81 with tempfile.TemporaryDirectory() as temp_dir:
#44 13.81 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
#44 13.81 File "/usr/lib/python3.13/tempfile.py", line 1085, in __exit__
#44 13.81 self.cleanup()
#44 13.81 ~~~~~~~~~~~~^^
#44 13.81 File "/usr/lib/python3.13/tempfile.py", line 1089, in cleanup
#44 13.81 self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors)
#44 13.81 ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#44 13.81 File "/usr/lib/python3.13/tempfile.py", line 1069, in _rmtree
#44 13.81 _rmtree(name, onexc=onexc)
#44 13.81 ~~~~~~~^^^^^^^^^^^^^^^^^^^
#44 13.81 TypeError: _rmtree() got an unexpected keyword argument 'onexc'
I was pulling my hair out, as I was not able to reproduce it on host
Debian trixie easiily, or track in upstream CPython repo where that
change was made.
It is in Debian-specific patch that is broken
cpython-team/python3/-/blob/master/debian/patches/min-tempfile.diff
Regards,
Witold
-- System Information:
Debian Release: trixie/sid
APT prefers trixie
APT policy: (500, 'trixie'), (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.10-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libpython3.13-minimal:amd64 depends on:
ii libc6 2.40-5
ii libssl3t64 3.4.0-2
Versions of packages libpython3.13-minimal:amd64 recommends:
ii libpython3.13-stdlib 3.13.2-1
libpython3.13-minimal:amd64 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python3.13
Source-Version: 3.13.2-3
Done: Matthias Klose <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python3.13, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated python3.13 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 29 Mar 2025 11:04:43 +0100
Source: python3.13
Architecture: source
Version: 3.13.2-3
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 1098680 1101406
Changes:
python3.13 (3.13.2-3) unstable; urgency=medium
.
* Update to the 3.13 branch 2025-03-29.
* Editorial changes for the python man page (Bjarni Ingi Gislason).
Closes: #1101406.
* Update the min-tempfile patch for 3.13. Closes: #1098680.
Checksums-Sha1:
6acc27ff8a1266e20bc73f7c315d126e40d76d1f 4300 python3.13_3.13.2-3.dsc
8ccd8f87fa5c8f81136543aa1495ecd06775a93e 585440
python3.13_3.13.2-3.debian.tar.xz
8acc137151a310cd472345db7c85d63bdb2475b5 10325
python3.13_3.13.2-3_source.buildinfo
Checksums-Sha256:
1fa371106d16222a85182e652f4d80f66702ba550ba7859c3197c5e33b28d731 4300
python3.13_3.13.2-3.dsc
1304333c34d328f21c60a0a239f303a01d73fbc93c599b2684b70e966029ff92 585440
python3.13_3.13.2-3.debian.tar.xz
33616ea9430eb6471ff08489529d8fb30f4a7c677ee9feefea46eb3301b0891e 10325
python3.13_3.13.2-3_source.buildinfo
Files:
aa3adcf2b3ea9760a685a0d9509b567f 4300 python optional python3.13_3.13.2-3.dsc
7fb8ce37773d02fcf613db5c04632979 585440 python optional
python3.13_3.13.2-3.debian.tar.xz
2228006b2df1a5767328e596ad534cad 10325 python optional
python3.13_3.13.2-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmfnzqAQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9dCPEADauRttRY+Ri0xdhN6k/DPJR5YE13+UOH7/
VCoQbTaWjicO+Ck4osxzVk5WXZTjubkqBwpijwB+ASKCeYmtPLAxU+NY6tHazOBu
svadlTPUMp++nbhZwQq1a4QGA27uwadN1ee4cj4sdRQPOZ4j2q6W4YijknoNPCt0
vkUbQiSmeRYXHWiJEtUcXwW+jGMmswebuk3ROaoO9ZrSQRiYO9k9TvttuzaaRALb
Jx/3h2jGxjpNhmlrv8mlsrUUzu5ieXgj1UopsgPRcOoxFcygQWYd+y8xai3gYDDX
tAANlMTs1gjuXJ4DaZU0W9jU/DHuQXA41uhBpa8cQ6sxMnbBfX2oqYOXrAUyhxg1
BJhisDz9nHVWtzsiLYFPjrirIaA8o1DL9FG89wtSs+PzZ1H5dahyJwNLOGwvnO43
3EAGn+Q6j8I9fHLx8QpCsLdJHmZm2K/4H/eSMzJj8uUuIg99go/uzCF9fYTuinch
NoHm/BvV7bGPBvHUXA0Jf4A0TB04QGUupIolt8Z6qEDZ2/6LXRKT4DEid/N07Nsl
F64VEuPi+yFjZwLpCKSCe3kkBS4dYXeQ7FRBEuaqn7SgIGuz3sd0sZ/RN313CKpi
Ab6P5EVrdZKt7PYhSLWZT2tmPNA+P2tWZPKomQaj8hUlkpUG+eLPR/e7sDCEHjNn
/bp8d95jRg==
=g+e9
-----END PGP SIGNATURE-----
pgpMzpSGAmkw4.pgp
Description: PGP signature
--- End Message ---