#1151478 isodate: FTBFS: E: dh_python3 fs:312: python3-isodate includes a common build directory name 'tests' as a module. Likely due to a mis-configured build system installing things it shouldn't.

#1151478#5
Date:
2026-10-20 19:57:04 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:isodate, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_auto_install --destdir=debian/python3-isodate/ -O--buildsystem=pybuild
I: pybuild plugin_pyproject:199: Copying package built for python3.14 to destdir
   dh_installdocs -O--buildsystem=pybuild
   dh_installchangelogs -O--buildsystem=pybuild
   dh_python3 -O--buildsystem=pybuild
E: dh_python3 fs:312: python3-isodate includes a common build directory name 'tests' as a module. Likely due to a mis-configured build system installing things it shouldn't.
make: *** [debian/rules:8: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1151478#8
Date:
2026-10-21 12:15:50 UTC
From:
To:
Hello,

Bug #1151478 in isodate reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/isodate/-/commit/301f61b36d18e3c90e087e0b10574f4b4814aad4
------------------------------------------------------------------------
Allow pybuild to copy tests into build directory itself

Closes: #1151478
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151478

#1151478#15
Date:
2026-10-21 12:34:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
isodate, 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 1151478@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated isodate 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: Wed, 21 Oct 2026 13:15:28 +0100
Source: isodate
Architecture: source
Version: 0.7.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1151478
Changes:
 isodate (0.7.2-3) unstable; urgency=medium
 .
   * Team upload.
   * Allow pybuild to copy tests into build directory itself (closes:
     #1151478).
Checksums-Sha1:
 b14629199a188b5f0eb82d8e50f617f91fe5b756 2339 isodate_0.7.2-3.dsc
 2f6eaf8590910d9d8449afd254e3d0c715b79ef4 3428 isodate_0.7.2-3.debian.tar.xz
 6947b2764f4339d9ace6d9027da196c6ff2c49fa 63236 isodate_0.7.2-3.git.tar.xz
 899367b186a7c05582ea33545d5336f41271592b 17724 isodate_0.7.2-3_source.buildinfo
Checksums-Sha256:
 e13b0844ee4043a25f6f92f3ceda833053b7385882f5ffeb6fe3974fbaea2ee3 2339 isodate_0.7.2-3.dsc
 d3e23baa780bc4cd647b603c739683da3767dd293ead278e3ae0f2a3d12ab90b 3428 isodate_0.7.2-3.debian.tar.xz
 46817d05a5653b4b7d5adec3a65853a4e00d640790e4b1ca2992e529f2ebc949 63236 isodate_0.7.2-3.git.tar.xz
 235b37bd542bbfa6f21b517b2c34a2a839a89f1064496894cb71303affac3eff 17724 isodate_0.7.2-3_source.buildinfo
Files:
 8e7693d091c5d356e2c2b0f5f456b6e7 2339 python optional isodate_0.7.2-3.dsc
 1e024fdd4136e7d6cbb5f5506b4ae9f3 3428 python optional isodate_0.7.2-3.debian.tar.xz
 f0faf51cb8ce89b33c0a7016f39216a4 63236 python optional isodate_0.7.2-3.git.tar.xz
 05adb2c2b02f251e33b0c8376d33a196 17724 python optional isodate_0.7.2-3_source.buildinfo
Git-Tag-Info: tag=00a18a6a9bdee32ee2b5518b0184e4884be68944 fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrYrU4ACgkQYG0ITkaD
wHlUxA/+I9xWEldiEXnBFPKgTIh/90wOUfL5Fo7utDnOuWJh5Ot766WQZLg536iD
P76s7Mb1yHsUpbcBgVjl2+86uv98+NKr/wZG+FS92rtWOBBJkBT7Z/fXiWTSu9jr
0qSIxupntxNeMg7ht3ogQabZSfzum2wPcwspbgcyGOyDrZctg3Nx6TIPUnbF7AQ7
SaptPUuPigKnQ77SzEYrvgwR7O9yjSVmB503ENtee2R4ngSKdtNO0sbmCWqrcxni
nIyN2GuQUm43B2XNz9rfz83SBtoelheVACMqhQ6hhHOu+OidbkCSAFLGfwM3XvWq
Ip+eSR2FbOC286OqnnqzULE6pxk+zwzsM6ZmjAAUibe8cyLL/VodPXrMnNaXGw22
WvaXOYaViHzKASkq5LaL9PqKhkDNDw+8n6G3KS5SXv6MIHwVT0HL6poxO6acbfwg
u60iYM+TGNrcG8+YoOnF4qsLMo1t0B+qILjSsaxFu11vaAjK3xu1N3iGGDqpeVjf
3ohFbgzvWXQl6znINvVCRGR189KY1pe0GV7ox2ECWQA2C3iuaOsKQCU1La6Y8vlk
Evi2twkg91cqwhwSKmZ6q4QcsKUD1fWI+Uao6p97OrTp6d+3DaUvKxuCbV5IFQB5
2nFyCElc2vifB/y43iktqoBbOFIfbk6qaD4QbSZbluBIot6e09c=
=tgM7
-----END PGP SIGNATURE-----