Hi! While rebuilding the python related packages against the Python 3.15rc2 version we found that kiwi fails to build from source: https://debusine.debian.net/debian/r-python-python3.15/artifact/4937047/ From the log, this is the error: =================================== FAILURES =================================== This happens because this test creates the 'target' directory but then doesn't delete it, and it also overrides the os.exists function, thus causing the Python mkdir function to think that the target doesn't exist. So, when the tests are run for 2 different Python versions, the second one fails (no matter which versions). On top of this, if you look at the log, you'll see that the tests are being run both times with Python3.14, this is due to the dh_auto_test override. The harness intends to run the tests with python3.15 and python3.14, but the call to pytest-3 overrides that. I found that the following workaround takes care of both issues: dh_auto_test -- --system=custom \ --test-args='cd test/unit && python{version} -m pytest' \ --after-test='rm -rf test/unit/target' The issue with the existing target directory is a bug in the upstream test and ideally it should be forwarded upstream. The other change I hope it's not controversial. Setting the severity to important for now. Once Python 3.15 is released and later added to python3-defaults, this bug will become release critical.
We believe that the bug you reported is fixed in the latest version of kiwi, 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 1149679@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> (supplier of updated kiwi 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) Format: 1.8 Date: Fri, 09 Oct 2026 10:35:53 +0200 Source: kiwi Architecture: source Version: 11.1.4-1 Distribution: unstable Urgency: medium Maintainer: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Changed-By: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Closes: 1149679 Changes: kiwi (11.1.4-1) unstable; urgency=medium . * New upstream release (Closes: #1149679) Checksums-Sha1: ef29b2283c6415545ac149684c4874598d1bc35b 3218 kiwi_11.1.4-1.dsc 3d3c0dd0b7f64e5351cc8c9dbcad4fd393b8d514 1243217 kiwi_11.1.4.orig.tar.gz 3e2ab4fa7c08d5116c8c0047ee266cf954e9ec47 5428 kiwi_11.1.4-1.debian.tar.xz 3b8a1eb094aa2ea78af14e69f77b0e1f2975dd7f 13681 kiwi_11.1.4-1_amd64.buildinfo Checksums-Sha256: 011fed58254303eb30bf7230eca502ab9dc8a50058cdb83e974b0e7b06205fe7 3218 kiwi_11.1.4-1.dsc d5dc7b16c17548790d058340c75387159dea7bb97d659d05ce67177511eec076 1243217 kiwi_11.1.4.orig.tar.gz af30c9486e86aa1af6cfa8eaa0dce687bcf17612acfaf86c146a1ee9e20645d0 5428 kiwi_11.1.4-1.debian.tar.xz 83a4c6bc0b0117c47cf55621c2e15e068170b8d9b1fdb3640e2bae333d78dc4f 13681 kiwi_11.1.4-1_amd64.buildinfo Files: ee59348744d230c54bdc6a740d99b95a 3218 otherosfs optional kiwi_11.1.4-1.dsc ad55f9153c156aa2385e1703d03ede9d 1243217 otherosfs optional kiwi_11.1.4.orig.tar.gz 9754289ce01c738d61d3b4ca10bb168d 5428 otherosfs optional kiwi_11.1.4-1.debian.tar.xz 29e626b332b270ef6903980390ec1db8 13681 otherosfs optional kiwi_11.1.4-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAmrIqukACgkQdCY7N/W1 +RNBWQ/+Kt1G4LS8fVe8hCfZEaQthXZB6tMbK1Jcb0EtPKfQAY/UMtbyJRGL0Qe7 l8KELJomAkOofLR86TERVCVF0hCmBXVYz4VwuN/Nh6EiNgKzvv1eq8pqw+YcWQ3+ Y5+8gOl44prmdXtG0gaG/R7MMLDBP8NquG+TBejRwjQVRITar9o04poRgyGQk4vl wNXij3c8Z024xe1qQkl48cc+heCqujzbG+Hnjl0Gp1ITMpwYvNSnEhjDU8jRiGgJ 7fst0qGquybtrJFssFKmzGIiVuhDUSCFfrqUCeikkU9R4iOH59EqTICnHQCO/nXO AEQm7+bjb2eSmRgpDmUG7mbwTATf994xKAfgeOx7A/D+BcQ0FM5a+1nvl79NokCO SOjAWGHaoMVJVBh48C8pj3HXEUcRFv3q7gwIJfHTyx2YJ8eB42/PKGke6sSEN3cR 1aA/gUQUbhogkTGIFY3QsvrmvKubahu8lfNuYwr9DN70rgWU7CaXjaAPYR35QaDo fM401oWkpo62mfcCy6LCfYFkvElKMX+dUHRLY4wYoU5JVThyfnfKYFmumecj/P0x QW/7khZROYMV0+Ds0g5jxUg34QIN8pD2tNTk/MxeIj/mDPxcJt7UJafYCFsR17MM 2SCWZGbWnSddR2ajybgK9spemttf/QwfTQAbkDg9QGSyY6INWLE= =Amnm -----END PGP SIGNATURE-----