#1145151 duecredit: FTBFS: E ModuleNotFoundError: No module named 'citeproc_styles'

Package:
src:duecredit
Source:
src:duecredit
Submitter:
Santiago Vila
Date:
2026-09-28 15:51:02 UTC
Severity:
normal
Tags:
#1145151#5
Date:
2026-08-23 10:05:29 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/202608/

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

Thanks.
--------------------------------------------------------------------------------
[...]
=================================== FAILURES ===================================

#1145151#10
Date:
2026-09-27 14:50:38 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1145151 python3.15
tags 1145151 patch
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc2 version I ran into this FTBFS [1].

The problem was caused by citeproc moving hardvard1 to harvard-cite-them-right. This is not a drop in replacement, but I have created a patch that adapts duecredit's tests to this new style.

This patch should probably be forwarded upstream.

I've applied this fix in the sandbox [2] to verify that duecredit builds successfully, it should also be applied in Debian to get the package back to a healthy state.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4437035/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

#1145151#17
Date:
2026-09-28 15:49:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
duecredit, 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 1145151@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <dparsons@debian.org> (supplier of updated duecredit 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 17:28:50 +0200
Source: duecredit
Architecture: source
Version: 0.11.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Drew Parsons <dparsons@debian.org>
Closes: 1145151
Changes:
 duecredit (0.11.2-3) unstable; urgency=medium
 .
   * debian patch use-harvard-cite-them-right.patch updates default style
     from 'harvard1' to 'harvard-cite-them-right' following changes in
     citeproc 0.11.1 (upstream PR#197). Thanks Maximiliano Curia.
     Build-Depends: python3-citeproc (>= 0.11.1~). Closes: #1145151
   * Standards-Version: 4.7.4
Checksums-Sha1:
 86f810139e5f61e7ab24c932028942e17ac71de4 2276 duecredit_0.11.2-3.dsc
 c03c2d4ced2966c16c0083b836d6d4ebc0c7d90b 6064 duecredit_0.11.2-3.debian.tar.xz
 ea38013c7887a81d1a897beb3b47f6c48058c5c9 7489 duecredit_0.11.2-3_amd64.buildinfo
Checksums-Sha256:
 895e460771dd64d74888ea59c745fd85e296e1644bf40a6c3d049bf2d2938976 2276 duecredit_0.11.2-3.dsc
 b9daaaa8ecfbf1c3d9d63d8feb1df1d34ccd5a4fd591e93f8e113801d4d53e77 6064 duecredit_0.11.2-3.debian.tar.xz
 44e915ba68db99ef8cdffb423ed29f6bdabe9d0d3eec39bd8f54f3d6262c89ea 7489 duecredit_0.11.2-3_amd64.buildinfo
Files:
 21d7b02295178c5373d5518ace8f2ac0 2276 python optional duecredit_0.11.2-3.dsc
 235672e05a645126cb3ba644a5b68bad 6064 python optional duecredit_0.11.2-3.debian.tar.xz
 123dc57e23ee959eef0cff187f83b6fb 7489 python optional duecredit_0.11.2-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmq6iHoACgkQVz7x5L1a
AfqpyQ/9GwR9LnW7yc/BbmWwsVJJcnha5OK58avvmQFADUc1uoTE0BYcsR15a6+T
4ToRwy5TR0oYZCv9Hyvd19lUuEVI1xpKPn8I1vSYBtHfKQiwSgZDIRmcC6xqx4xi
dwIS/shNavjjfjF+bkvptoCgGhKBel0bCCvPNfCX99UmRG7po344NNfC2wHpH5XV
xSHSVV7OZ+tV0HzhkFHGsDOxc/YgZYQIiHLNrP90wM0hQaZC6ajfbfra1E1uXZAD
5dwIyLdIeHyIs8jT7BwgeCj240Jwipxmc5wXynSTsLttov1KolZrt7JfoITyAoUE
wVr7Wim0nucZHOzHDSFSjSyfHEvLhsBbf3ZZLfiyO9AQzMzcHxgnVTILs0dd8bki
vMhS2W1M2Ho6UJLVPHJIu+TU5xk6sdZ653rcRl1i0u5ynsp4jCMMdf+r5p8XGIBB
r/If1OZDonml4duZbnQhYztuJ7st4hLK09Lv+MpIRmZr6UFjCchCHFjZpgQlqLs5
/iEe2AaP6DcwoXY80h3uPLhKJPRJMyttqUjAAUzqUmQsjfma8iQ5uVuyb+D2PxjI
Bzgt3IdHhW6W8vWbeKSStmoSLshZjkB+hO+/UO1EeH9OWg2pHmdcKYqE2FV2U19M
xWIWIlghx3r8z7lxNGX60kEty0ffiVVbS4zemC24sUNH3fAYKHc=
=oBNu
-----END PGP SIGNATURE-----