Package: src:duecredit Version: 0.11.2-2 Severity: serious Tags: ftbfs forky sid
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 =================================== _______________________________ test_text_output _______________________________ /usr/lib/python3/dist-packages/citeproc/frontend.py:65: in __init__ import citeproc_styles E ModuleNotFoundError: No module named 'citeproc_styles' During handling of the above exception, another exception occurred: duecredit/tests/test_io.py:306: in test_text_output TextOutput(strio, collector).dump(tags=["*"]) duecredit/io.py:242: in dump self.fd.write(get_text_rendering(cit.entry, style=self.style)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duecredit/io.py:251: in get_text_rendering return format_bibtex(entry, style=style) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duecredit/io.py:360: in format_bibtex bib_style = cp.CitationStylesStyle(style, validate=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/citeproc/frontend.py:68: in __init__ raise ValueError( E ValueError: 'harvard1' not found in bundled styles (/usr/lib/python3/dist-packages/citeproc/data/styles). To access more styles, install the citeproc-py-styles package with: pip install citeproc-py-styles _______________________ test_text_output_dump_formatting _______________________ /usr/lib/python3/dist-packages/citeproc/frontend.py:65: in __init__ import citeproc_styles E ModuleNotFoundError: No module named 'citeproc_styles' During handling of the above exception, another exception occurred: duecredit/tests/test_io.py:381: in test_text_output_dump_formatting TextOutput(strio, due).dump(tags=["*"]) duecredit/io.py:242: in dump self.fd.write(get_text_rendering(cit.entry, style=self.style)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duecredit/io.py:251: in get_text_rendering return format_bibtex(entry, style=style) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duecredit/io.py:360: in format_bibtex bib_style = cp.CitationStylesStyle(style, validate=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/citeproc/frontend.py:68: in __init__ raise ValueError( E ValueError: 'harvard1' not found in bundled styles (/usr/lib/python3/dist-packages/citeproc/data/styles). To access more styles, install the citeproc-py-styles package with: pip install citeproc-py-styles ----------------------------- Captured stderr call ----------------------------- 2026-08-23 07:47:32,689 [DEBUG] Decorating func mymodule within module mymodule (collector.py:425) 2026-08-23 07:47:32,689 [DEBUG] Decorating func myfunction within module mymodule (collector.py:425) ------------------------------ Captured log call ------------------------------- DEBUG duecredit.collector:collector.py:425 Decorating func mymodule within module mymodule DEBUG duecredit.collector:collector.py:425 Decorating func myfunction within module mymodule ________________________ test_format_bibtex_zenodo_doi _________________________ /usr/lib/python3/dist-packages/citeproc/frontend.py:65: in __init__ import citeproc_styles E ModuleNotFoundError: No module named 'citeproc_styles' During handling of the above exception, another exception occurred: duecredit/tests/test_io.py:613: in test_format_bibtex_zenodo_doi format_bibtex(BibTeX(bibtex_zenodo)) duecredit/io.py:360: in format_bibtex bib_style = cp.CitationStylesStyle(style, validate=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/citeproc/frontend.py:68: in __init__ raise ValueError( E ValueError: 'harvard1' not found in bundled styles (/usr/lib/python3/dist-packages/citeproc/data/styles). To access more styles, install the citeproc-py-styles package with: pip install citeproc-py-styles ____________________ test_format_bibtex_with_utf_characters ____________________ /usr/lib/python3/dist-packages/citeproc/frontend.py:65: in __init__ import citeproc_styles E ModuleNotFoundError: No module named 'citeproc_styles' During handling of the above exception, another exception occurred: duecredit/tests/test_io.py:636: in test_format_bibtex_with_utf_characters format_bibtex(BibTeX(bibtex_utf8)) == "Brótt, M. et al., 2015. nibabel 2.0.1." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duecredit/io.py:360: in format_bibtex bib_style = cp.CitationStylesStyle(style, validate=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/citeproc/frontend.py:68: in __init__ raise ValueError( E ValueError: 'harvard1' not found in bundled styles (/usr/lib/python3/dist-packages/citeproc/data/styles). To access more styles, install the citeproc-py-styles package with: pip install citeproc-py-styles ______________________ test_format_bibtex_html_formatter _______________________ /usr/lib/python3/dist-packages/citeproc/frontend.py:65: in __init__ import citeproc_styles E ModuleNotFoundError: No module named 'citeproc_styles' During handling of the above exception, another exception occurred: duecredit/tests/test_io.py:649: in test_format_bibtex_html_formatter result = format_bibtex(BibTeX(bibtex_article), formatter="html") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duecredit/io.py:360: in format_bibtex bib_style = cp.CitationStylesStyle(style, validate=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/citeproc/frontend.py:68: in __init__ raise ValueError( E ValueError: 'harvard1' not found in bundled styles (/usr/lib/python3/dist-packages/citeproc/data/styles). To access more styles, install the citeproc-py-styles package with: pip install citeproc-py-styles _______________________ test_format_bibtex_rst_formatter _______________________ /usr/lib/python3/dist-packages/citeproc/frontend.py:65: in __init__ import citeproc_styles E ModuleNotFoundError: No module named 'citeproc_styles' During handling of the above exception, another exception occurred: duecredit/tests/test_io.py:664: in test_format_bibtex_rst_formatter result = format_bibtex(BibTeX(bibtex_article), formatter="rst") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duecredit/io.py:360: in format_bibtex bib_style = cp.CitationStylesStyle(style, validate=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/citeproc/frontend.py:68: in __init__ raise ValueError( E ValueError: 'harvard1' not found in bundled styles (/usr/lib/python3/dist-packages/citeproc/data/styles). To access more styles, install the citeproc-py-styles package with: pip install citeproc-py-styles _____________________ test_format_bibtex_invalid_formatter _____________________ duecredit/tests/test_io.py:672: in test_format_bibtex_invalid_formatter with pytest.raises(ValueError, match="Unknown formatter"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: Regex pattern did not match. E Expected regex: 'Unknown formatter' E Actual message: "'harvard1' not found in bundled styles (/usr/lib/python3/dist-packages/citeproc/data/styles). To access more styles, install the citeproc-py-styles package with: pip install citeproc-py-styles" ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.14.7-final-0 ________________ Name Stmts Miss Branch BrPart Cover -------------------------------------------------------------------------- duecredit/__init__.py 4 0 0 0 100% duecredit/__main__.py 50 13 16 6 71% duecredit/_version.py 18 4 2 1 75% duecredit/cmdline/__init__.py 3 0 0 0 100% duecredit/cmdline/cmd_summary.py 25 8 6 1 58% duecredit/cmdline/cmd_test.py 8 0 0 0 100% duecredit/cmdline/common_args.py 5 0 0 0 100% duecredit/cmdline/helpers.py 59 28 18 4 45% duecredit/cmdline/main.py 56 3 8 3 91% duecredit/collector.py 221 51 82 11 71% duecredit/config.py 3 0 0 0 100% duecredit/dueswitch.py 70 13 16 4 80% duecredit/entries.py 52 4 4 2 89% duecredit/injections/__init__.py 3 0 0 0 100% duecredit/injections/injector.py 210 34 62 12 82% duecredit/injections/mod_biosig.py 9 1 2 1 82% duecredit/injections/mod_dipy.py 9 1 2 1 82% duecredit/injections/mod_matplotlib.py 12 1 2 1 86% duecredit/injections/mod_mdp.py 21 1 2 1 91% duecredit/injections/mod_mne.py 10 1 2 1 83% duecredit/injections/mod_nibabel.py 9 1 2 1 82% duecredit/injections/mod_nipy.py 11 1 4 1 87% duecredit/injections/mod_nipype.py 13 1 2 1 87% duecredit/injections/mod_numpy.py 9 1 2 1 82% duecredit/injections/mod_pandas.py 9 1 2 1 82% duecredit/injections/mod_psychopy.py 10 1 2 1 83% duecredit/injections/mod_scipy.py 19 1 2 1 90% duecredit/injections/mod_skimage.py 9 1 2 1 82% duecredit/injections/mod_sklearn.py 24 1 2 1 92% duecredit/io.py 258 76 90 13 68% duecredit/log.py 109 38 32 9 57% duecredit/parsers.py 5 5 0 0 0% duecredit/stub.py 27 6 4 1 71% duecredit/tests/__init__.py 0 0 0 0 100% duecredit/tests/mod/__init__.py 2 0 0 0 100% duecredit/tests/mod/imported.py 10 0 0 0 100% duecredit/tests/mod/submod.py 6 6 0 0 0% duecredit/tests/test__main__.py 33 1 2 1 94% duecredit/tests/test_api.py 110 31 26 6 62% duecredit/tests/test_cmdline.py 25 0 0 0 100% duecredit/tests/test_collector.py 184 3 14 1 98% duecredit/tests/test_dueswitch.py 26 1 2 1 93% duecredit/tests/test_entries.py 12 0 0 0 100% duecredit/tests/test_injections.py 180 42 6 1 77% duecredit/tests/test_io.py 350 96 14 0 71% duecredit/tests/test_utils.py 18 1 4 0 95% duecredit/tests/test_versions.py 49 7 0 0 86% duecredit/utils.py 126 77 46 3 33% duecredit/versions.py 73 6 22 3 91% -------------------------------------------------------------------------- TOTAL 2564 568 506 97 74% ============================= slowest 10 durations ============================= 0.10s call duecredit/tests/test_api.py::test_noincorrect_import_if_no_lxml 0.02s call duecredit/tests/test_io.py::test_text_output 0.01s call duecredit/tests/test_injections.py::test_cover_our_injections (7 durations < 0.005s hidden. Use -vv to show these durations.) =========================== short test summary info ============================ FAILED duecredit/tests/test_io.py::test_text_output - ValueError: 'harvard1' ... FAILED duecredit/tests/test_io.py::test_text_output_dump_formatting - ValueEr... FAILED duecredit/tests/test_io.py::test_format_bibtex_zenodo_doi - ValueError... FAILED duecredit/tests/test_io.py::test_format_bibtex_with_utf_characters - V... FAILED duecredit/tests/test_io.py::test_format_bibtex_html_formatter - ValueE... FAILED duecredit/tests/test_io.py::test_format_bibtex_rst_formatter - ValueEr... FAILED duecredit/tests/test_io.py::test_format_bibtex_invalid_formatter - Ass... ============ 7 failed, 51 passed, 18 skipped, 3 deselected in 1.07s ============ make[1]: *** [debian/rules:21: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:16: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

