#1149171 django-filter: FTBFS: ModuleNotFoundError: No module named 'pytz'

#1149171#5
Date:
2026-09-27 20:23:57 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/202609/

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:django-filter, so that this is still
visible in the BTS web page for this package.

Thanks.
---------------------------------------------------------------------- Ran 489 tests in 0.377s FAILED (errors=1, skipped=13, expected failures=3) Destroying test database for alias 'default'... Found 489 test(s). System check identified no issues (0 silenced). E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-filters/build python3.14 ./runtests.py dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} ./runtests.py" --parallel=2 returned exit code 13 make[1]: *** [debian/rules:34: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:11: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
#1149171#8
Date:
2026-09-28 15:14:12 UTC
From:
To:
Hello,

Bug #1149171 in django-filter 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/django-filter/-/commit/4c393b0f1fd3739447df9d6c8b8dbcfee954880c
------------------------------------------------------------------------
Build/test-depend on python3-pytz

Closes: #1149171
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149171

#1149171#15
Date:
2026-09-28 15:34:15 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
django-filter, 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 1149171@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 django-filter 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: Mon, 28 Sep 2026 16:13:44 +0100
Source: django-filter
Architecture: source
Version: 25.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1149171
Changes:
 django-filter (25.1-4) unstable; urgency=medium
 .
   * Team upload.
   * Build/test-depend on python3-pytz (closes: #1149171).
   * Drop "Priority: optional", default as of dpkg-dev 1.22.13.
   * Standards-Version: 4.7.4.
Checksums-Sha1:
 609bfb11a622f3092cdb16d27fe582e8a1c5364d 2740 django-filter_25.1-4.dsc
 f0ded2b56ccf9c343f8e8697c43e6b5ff667bd6b 83944 django-filter_25.1-4.debian.tar.xz
 d705381a80f44a0c3d1c0d0f3d832db4f6ae4f01 376876 django-filter_25.1-4.git.tar.xz
 f6d9705bf3163ec00497e8d0f67620cdbf8d75dd 17744 django-filter_25.1-4_source.buildinfo
Checksums-Sha256:
 9fd6a2ede020351cb01df45edac777f06c703913b16ccc6640e24e7f781a3dd6 2740 django-filter_25.1-4.dsc
 48988a9d19895e7c3175c54d726a1319aafb7b69c70f59192577093858f182e6 83944 django-filter_25.1-4.debian.tar.xz
 33921ff044374f68f5bbea71f925d9189b5e15112222c4695b7b1ac6df59e4a8 376876 django-filter_25.1-4.git.tar.xz
 81a43dba34c901ae19e2f13e7d7797a6855f7d54466a81969cb79e5203b9d3e8 17744 django-filter_25.1-4_source.buildinfo
Files:
 9c244d119aaf942742f274b4ccd18c79 2740 python optional django-filter_25.1-4.dsc
 3517c90a614ec6403d6e1ec5739f5bf3 83944 python optional django-filter_25.1-4.debian.tar.xz
 48b380274cf5586cf627a6453cf22c5c 376876 python None django-filter_25.1-4.git.tar.xz
 7208d5bbb6361d00f2b364b6ca63b9cc 17744 python optional django-filter_25.1-4_source.buildinfo
Git-Tag-Info: tag=371ee7dd607c6674b5d6ef1981fc34946580f36d fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq6hJwACgkQYG0ITkaD
wHn4kBAAr4HjqwYpNfbMTKeqCSn19hdaBXs4pWgouMcvl9/mNeRGATV+xFclsHB3
5OkU0Y42bHqptN8FmzRvSCZKWkfqDssxTM/dwU7MD1A5P/G2DsHHqDSddtfZtNot
CbKTYMNJEOeupzr2DvL3fvVCQJtJV9g+ecssrZY9zcJgZMfnZbXzuMwIov5CyVru
J1OiTfLzJKeDiYEKPH8W+NL5ALq8HUmEP5+AAnP2J4egFVryRWvVaZLrI1e2ETQP
O3KCIlf0yNiOSLssdXwyzQgaFVVk++nvs4n53ZCgXWmXjSuGJq6rBJtcWvJ5pv3J
lYvcQdu2Ysi72fhziMqgK60wdb0enk6EuxVMkw8hlkZS69eXp5FlayfE8TWcaIWV
K27WjbnNlmINa6UlpbLoR+xP2cMYcCWwxxTj7yIgHRzHTwLkhEKh9aLU/Qzgqh+J
oSaYFbG5adzitdaKblWCG7ZHuKpyDv4vDoV3o1Wbs0xyuVVjkUZ9vy+3DtVmx1yl
+l2hRAtl166yPyhxG+idQzu8vOmyo9T/pPuuL2DgkhuSznnBOaTpbsI2G08suPwB
OiNnbkVVeshoqjc7eeK3xceMCNp3vjL7nte6kDmnObwgdB1wwwYr0ryAZ/MgCTYr
hCYE1sjlQUxF80Q7WsmPu1yMFy0famfUZOdF0HyQlIKBAJm9+cg=
=fvhD
-----END PGP SIGNATURE-----