[From nobody Fri May  8 13:37:06 2026
Received: (at submit) by bugs.debian.org; 1 May 2026 23:12:45 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
 WEIRD_PORT,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 133; hammy, 150; neutral, 332; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--forky, 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:57058)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wIx2L-000E3m-2F
 for submit@bugs.debian.org; Fri, 01 May 2026 23:12:45 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wIx2J-0005R3-2u
 for submit@bugs.debian.org; Fri, 01 May 2026 23:12:44 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=t2bIElfqoB9PPNcACNtCNNwdZGPOv/xqSB6nrSRm6Ao=; b=G79/3RxWThBZ4aFIbfxugYW7s4
 C/O/CNb//Q2jBTSt6BedfJ+SRhbec5XoFERQlS6lT5M2sDFFdxtA/3G+zV2Ek1RXWSc6mATRUI+sR
 EEz/m49KECybifX5qyHP5TQUYgm3d/i7oqtNTI8nqqS8zJK0Yc6MrgkkdJ99dAVYcGmvCrPWlJbgI
 KjdIbmrEkdddsy2YvG5ZPXSoKRHBfAMykgBHYQTsiqBvYd+yzecnku9Svpx1maQnRroQRTVOQLt2B
 ZhiXV3EOCnkVI2vD89MIXcF1WFlmw0t5mcKvg3yolgrLHBpjUerwAW6/nfYmOSA0aFZYfGsagWZBA
 qHhuF6vA==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wIx2I-0005IH-13
 for submit@bugs.debian.org; Fri, 01 May 2026 23:12:42 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: heudiconv: FTBFS: E       ModuleNotFoundError: No module named 'ci'
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wIx2I-0005IH-13@paradis.debian.org&gt;
Date: Fri, 01 May 2026 23:12:42 +0000
Delivered-To: submit@bugs.debian.org

Package: src:heudiconv
Version: 1.3.2-1
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/202605/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
	pybuild --clean -i python{version} -p &quot;3.14 3.13&quot; --parallel=2
I: pybuild base:385: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

[... snipped ...]

    except ImportError:
        import warnings
        warnings.warn(
            &quot;Deprecated version of ci-info found, upgrade to remove this warning&quot;, DeprecationWarning
        )
&gt;       import ci as ci_info
E       ModuleNotFoundError: No module named 'ci'

/usr/lib/python3/dist-packages/etelemetry/client.py:11: ModuleNotFoundError
------------------------------ Captured log call -------------------------------
WARNING  heudiconv.main:main.py:362 Could not check for version updates: No module named 'ci'
WARNING  heudiconv.dicoms:dicoms.py:190 Ignoring /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13_heudiconv/build/heudiconv/tests/data/sample_nifti.json since not quite a &quot;normal&quot; DICOM: 'FileDataset' object has no attribute 'SeriesNumber'
WARNING  heudiconv.dicoms:dicoms.py:190 Ignoring /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13_heudiconv/build/heudiconv/tests/data/sample_nifti.nii.gz since not quite a &quot;normal&quot; DICOM: 'FileDataset' object has no attribute 'SeriesNumber'
WARNING  heudiconv.dicoms:dicoms.py:190 Ignoring /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13_heudiconv/build/heudiconv/tests/data/sample_nifti_params.txt since not quite a &quot;normal&quot; DICOM: 'FileDataset' object has no attribute 'SeriesNumber'
WARNING  heudiconv.bids:bids.py:1028 We cannot add the IntendedFor field: no fmap/ in /tmp/pytest-of-sbuild/pytest-1/test_notop_bidsoptions1_0/head/advanced applications libraries/sub-dbictest1
WARNING  heudiconv:reproin.py:458 Could not determine the series name by looking at protocol_name, series_description fields
WARNING  heudiconv:reproin.py:667 Could not figure out where to stick 1 sequences: ['99-Phoenix Document']
WARNING  heudiconv.bids:bids.py:1028 We cannot add the IntendedFor field: no fmap/ in /tmp/pytest-of-sbuild/pytest-1/test_notop_bidsoptions1_0/Development/Functional/sub-o6jgilro
_________________________ test_phoenix_doc_conversion __________________________

    import os
    from packaging.version import Version
    
    try:
&gt;       import ci_info
E       ModuleNotFoundError: No module named 'ci_info'

/usr/lib/python3/dist-packages/etelemetry/client.py:5: ModuleNotFoundError

During handling of the above exception, another exception occurred:

tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_phoenix_doc_conversion0')

    def test_phoenix_doc_conversion(tmp_path: Path) -&gt; None:
        subID = &quot;Phoenix&quot;
        args = [
            &quot;-c&quot;,
            &quot;dcm2niix&quot;,
            &quot;-o&quot;,
            str(tmp_path),
            &quot;-b&quot;,
            &quot;-f&quot;,
            &quot;bids_PhoenixReport&quot;,
            &quot;--files&quot;,
            pjoin(TESTS_DATA_PATH, &quot;Phoenix&quot;),
            &quot;-s&quot;,
            subID,
        ]
&gt;       runner(args)

heudiconv/tests/test_heuristics.py:236: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
heudiconv/cli/run.py:30: in main
    workflow(**kwargs)
heudiconv/main.py:479: in workflow
    prep_conversion(
heudiconv/convert.py:259: in prep_conversion
    convert(
heudiconv/convert.py:629: in convert
    res, prov_file = nipype_convert(
heudiconv/convert.py:825: in nipype_convert
    convertnode = Node(Dcm2niix(from_file=fromfile), name=&quot;convert&quot;)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/nipype/interfaces/base/core.py:633: in __init__
    super().__init__(**inputs)
/usr/lib/python3/dist-packages/nipype/interfaces/base/core.py:191: in __init__
    BaseInterface._etelemetry_version_data = check_latest_version() or &quot;n/a&quot;
                                             ^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/nipype/__init__.py:84: in check_latest_version
    import etelemetry
/usr/lib/python3/dist-packages/etelemetry/__init__.py:1: in &lt;module&gt;
    from .client import get_project, check_available_version, BadVersionError
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import os
    from packaging.version import Version
    
    try:
        import ci_info
    except ImportError:
        import warnings
        warnings.warn(
            &quot;Deprecated version of ci-info found, upgrade to remove this warning&quot;, DeprecationWarning
        )
&gt;       import ci as ci_info
E       ModuleNotFoundError: No module named 'ci'

/usr/lib/python3/dist-packages/etelemetry/client.py:11: ModuleNotFoundError
------------------------------ Captured log call -------------------------------
WARNING  heudiconv.main:main.py:362 Could not check for version updates: No module named 'ci'
__________________________________ test_cache __________________________________

    import os
    from packaging.version import Version
    
    try:
&gt;       import ci_info
E       ModuleNotFoundError: No module named 'ci_info'

/usr/lib/python3/dist-packages/etelemetry/client.py:5: ModuleNotFoundError

During handling of the above exception, another exception occurred:

tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_cache0')

    def test_cache(tmp_path: Path) -&gt; None:
        args = [
            &quot;-f&quot;,
            &quot;convertall&quot;,
            &quot;--files&quot;,
            f&quot;{TESTS_DATA_PATH}/axasc35.dcm&quot;,
            &quot;-s&quot;,
            &quot;S01&quot;,
            &quot;-o&quot;,
            str(tmp_path),
        ]
&gt;       runner(args)

heudiconv/tests/test_main.py:304: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
heudiconv/cli/run.py:30: in main
    workflow(**kwargs)
heudiconv/main.py:479: in workflow
    prep_conversion(
heudiconv/convert.py:259: in prep_conversion
    convert(
heudiconv/convert.py:629: in convert
    res, prov_file = nipype_convert(
heudiconv/convert.py:825: in nipype_convert
    convertnode = Node(Dcm2niix(from_file=fromfile), name=&quot;convert&quot;)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/nipype/interfaces/base/core.py:633: in __init__
    super().__init__(**inputs)
/usr/lib/python3/dist-packages/nipype/interfaces/base/core.py:191: in __init__
    BaseInterface._etelemetry_version_data = check_latest_version() or &quot;n/a&quot;
                                             ^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/nipype/__init__.py:84: in check_latest_version
    import etelemetry
/usr/lib/python3/dist-packages/etelemetry/__init__.py:1: in &lt;module&gt;
    from .client import get_project, check_available_version, BadVersionError
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import os
    from packaging.version import Version
    
    try:
        import ci_info
    except ImportError:
        import warnings
        warnings.warn(
            &quot;Deprecated version of ci-info found, upgrade to remove this warning&quot;, DeprecationWarning
        )
&gt;       import ci as ci_info
E       ModuleNotFoundError: No module named 'ci'

/usr/lib/python3/dist-packages/etelemetry/client.py:11: ModuleNotFoundError
------------------------------ Captured log call -------------------------------
WARNING  heudiconv.main:main.py:362 Could not check for version updates: No module named 'ci'
____________________________ test_grouping[merged] _____________________________

    import os
    from packaging.version import Version
    
    try:
&gt;       import ci_info
E       ModuleNotFoundError: No module named 'ci_info'

/usr/lib/python3/dist-packages/etelemetry/client.py:5: ModuleNotFoundError

During handling of the above exception, another exception occurred:

tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_grouping_merged_0')
subject = 'merged'

    @pytest.mark.parametrize(&quot;subject&quot;, [&quot;merged&quot;])
    def test_grouping(tmp_path: Path, subject: str) -&gt; None:
        dicoms = [op.join(TESTS_DATA_PATH, fl) for fl in [&quot;axasc35.dcm&quot;, &quot;phantom.dcm&quot;]]
        # ensure DICOMs are different studies
        studyuids = {
            dcm.dcmread(fl, stop_before_pixels=True).StudyInstanceUID for fl in dicoms
        }
        assert len(studyuids) == len(dicoms)
        # symlink to common location
        outdir = tmp_path / &quot;out&quot;
        outdir.mkdir()
        datadir = tmp_path / subject
        datadir.mkdir()
        for fl in dicoms:
            os.symlink(fl, datadir / op.basename(fl))
    
        template = op.join(&quot;{subject}/*.dcm&quot;)
        hargs = gen_heudiconv_args(
            str(tmp_path), str(outdir), subject, &quot;convertall.py&quot;, template=template
        )
    
        with pytest.raises(AssertionError):
            runner(hargs)
    
        # group all found DICOMs under subject, despite conflicts
        hargs += [&quot;-g&quot;, &quot;all&quot;]
&gt;       runner(hargs)

heudiconv/tests/test_regression.py:176: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
heudiconv/cli/run.py:30: in main
    workflow(**kwargs)
heudiconv/main.py:479: in workflow
    prep_conversion(
heudiconv/convert.py:259: in prep_conversion
    convert(
heudiconv/convert.py:629: in convert
    res, prov_file = nipype_convert(
heudiconv/convert.py:825: in nipype_convert
    convertnode = Node(Dcm2niix(from_file=fromfile), name=&quot;convert&quot;)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/nipype/interfaces/base/core.py:633: in __init__
    super().__init__(**inputs)
/usr/lib/python3/dist-packages/nipype/interfaces/base/core.py:191: in __init__
    BaseInterface._etelemetry_version_data = check_latest_version() or &quot;n/a&quot;
                                             ^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/nipype/__init__.py:84: in check_latest_version
    import etelemetry
/usr/lib/python3/dist-packages/etelemetry/__init__.py:1: in &lt;module&gt;
    from .client import get_project, check_available_version, BadVersionError
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import os
    from packaging.version import Version
    
    try:
        import ci_info
    except ImportError:
        import warnings
        warnings.warn(
            &quot;Deprecated version of ci-info found, upgrade to remove this warning&quot;, DeprecationWarning
        )
&gt;       import ci as ci_info
E       ModuleNotFoundError: No module named 'ci'

/usr/lib/python3/dist-packages/etelemetry/client.py:11: ModuleNotFoundError
------------------------------ Captured log call -------------------------------
WARNING  heudiconv.main:main.py:362 Could not check for version updates: No module named 'ci'
WARNING  heudiconv.main:main.py:362 Could not check for version updates: No module named 'ci'
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:258
  /usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:258: DeprecationWarning: module 'sre_parse' is deprecated
    import sre_parse

../../../../../../usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:259
  /usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:259: DeprecationWarning: module 'sre_constants' is deprecated
    import sre_constants

heudiconv/tests/test_convert.py: 2 warnings
heudiconv/tests/test_dicoms.py: 2 warnings
heudiconv/tests/test_heuristics.py: 13 warnings
heudiconv/tests/test_main.py: 4 warnings
heudiconv/tests/test_queue.py: 2 warnings
heudiconv/tests/test_regression.py: 3 warnings
  /usr/lib/python3/dist-packages/etelemetry/client.py:8: DeprecationWarning: Deprecated version of ci-info found, upgrade to remove this warning
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED heudiconv/tests/test_convert.py::test_b0dwi_for_fmap - ModuleNotFoundE...
FAILED heudiconv/tests/test_dicoms.py::test_embed_dicom_and_nifti_metadata - ...
FAILED heudiconv/tests/test_heuristics.py::test_scans_keys_reproin[invocation0]
FAILED heudiconv/tests/test_heuristics.py::test_scout_conversion - ModuleNotF...
FAILED heudiconv/tests/test_heuristics.py::test_notop[bidsoptions0] - ModuleN...
FAILED heudiconv/tests/test_heuristics.py::test_notop[bidsoptions1] - ModuleN...
FAILED heudiconv/tests/test_heuristics.py::test_phoenix_doc_conversion - Modu...
FAILED heudiconv/tests/test_main.py::test_cache - ModuleNotFoundError: No mod...
FAILED heudiconv/tests/test_regression.py::test_grouping[merged] - ModuleNotF...
===== 9 failed, 151 passed, 10 skipped, 5 deselected, 28 warnings in 7.62s =====
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13_heudiconv/build; python3.13 -m pytest heudiconv/tests/test_* -k 'not test_bvals_are_zero and not test_reproin_largely_smoke'
	rm -fr -- /tmp/dh-xdg-rundir-71DyBsmI
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p &quot;3.14 3.13&quot; --parallel=2 returned exit code 13
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]