[Debichem-devel] Bug#1123331: qcelemental: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13

Santiago Vila sanvila at debian.org
Tue Dec 16 19:49:58 GMT 2025


Package: src:qcelemental
Version: 0.29.0-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/202512/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with=python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with=python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
* Building wheel...
Successfully built qcelemental-0.29.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with "installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
Successfully built qcelemental-0.29.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: cov-5.0.0, typeguard-4.4.4
collected 0 items / 1 error

==================================== ERRORS ====================================
_________________________ ERROR collecting qcelemental _________________________
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1398: in _gcd_import
    ???
<frozen importlib._bootstrap>:1371: in _find_and_load
    ???
<frozen importlib._bootstrap>:1314: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:491: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1398: in _gcd_import
    ???
<frozen importlib._bootstrap>:1371: in _find_and_load
    ???
<frozen importlib._bootstrap>:1342: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:938: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:759: in exec_module
    ???
<frozen importlib._bootstrap>:491: in _call_with_frames_removed
    ???
qcelemental/__init__.py:10: in <module>
    from . import covalent_radii, models, molparse, molutil, periodic_table, physical_constants, util, vanderwaals_radii
qcelemental/covalent_radii.py:9: in <module>
    from .datum import Datum, print_variables
qcelemental/datum.py:16: in <module>
    class Datum(BaseModel):
/usr/lib/python3/dist-packages/pydantic/v1/main.py:221: in __new__
    inferred = ModelField.infer(
/usr/lib/python3/dist-packages/pydantic/v1/fields.py:504: in infer
    return cls(
/usr/lib/python3/dist-packages/pydantic/v1/fields.py:434: in __init__
    self.prepare()
/usr/lib/python3/dist-packages/pydantic/v1/fields.py:544: in prepare
    self._set_default_and_type()
/usr/lib/python3/dist-packages/pydantic/v1/fields.py:576: in _set_default_and_type
    raise errors_.ConfigError(f'unable to infer type for attribute "{self.name}"')
E   pydantic.v1.errors.ConfigError: unable to infer type for attribute "doi"
=============================== warnings summary ===============================
qcelemental/datum.py:11
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/qcelemental/datum.py:11: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
    from pydantic.v1 import BaseModel, validator

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR qcelemental - pydantic.v1.errors.ConfigError: unable to infer type for ...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.19s ==========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: cov-5.0.0, typeguard-4.4.4
collected 1196 items

qcelemental/molutil/test_molutil.py s..sss..sss.ss...s.................. [  3%]
.                                                                        [  3%]
qcelemental/tests/test_constants.py .................................... [  6%]
.....X....                                                               [  6%]
qcelemental/tests/test_covalentradii.py .........................        [  9%]
qcelemental/tests/test_datum.py ..............                           [ 10%]
qcelemental/tests/test_gph_uno_bipartite.py ssss                         [ 10%]
qcelemental/tests/test_importing.py ............................         [ 12%]
qcelemental/tests/test_info.py ........................................  [ 16%]
qcelemental/tests/test_model_general.py ........                         [ 16%]
qcelemental/tests/test_model_results.py ................................ [ 19%]
..............                                                           [ 20%]
qcelemental/tests/test_molecule.py ..................................... [ 23%]
..........s............................................................. [ 29%]
......                                                                   [ 30%]
qcelemental/tests/test_molparse_align_chiral.py ssssssssss               [ 31%]
qcelemental/tests/test_molparse_from_schema.py ............              [ 32%]
qcelemental/tests/test_molparse_from_string.py ......................... [ 34%]
........................................................................ [ 40%]
....                                                                     [ 40%]
qcelemental/tests/test_molparse_parse_nucleus_label.py .............     [ 41%]
qcelemental/tests/test_molparse_pubchem.py sssssssss                     [ 42%]
qcelemental/tests/test_molparse_reconcile_nucleus.py ................... [ 44%]
................................                                         [ 46%]
qcelemental/tests/test_molparse_to_schema.py ..............              [ 47%]
qcelemental/tests/test_molparse_to_string.py ........................... [ 50%]
.....                                                                    [ 50%]
qcelemental/tests/test_molparse_validate_and_fill_chgmult.py ........... [ 51%]
........................................................................ [ 57%]
...........................s............................                 [ 62%]
qcelemental/tests/test_molutil.py s..sss..sss.ss...s...................  [ 65%]
qcelemental/tests/test_periodictable.py ................................ [ 67%]
........................................................................ [ 73%]
............X                                                            [ 75%]
qcelemental/tests/test_scipy_hungarian.py ..                             [ 75%]
qcelemental/tests/test_testing.py ...................................... [ 78%]
......................                                                   [ 80%]
qcelemental/tests/test_units.py ........................................ [ 83%]
........................................................................ [ 89%]
...........                                                              [ 90%]
qcelemental/tests/test_utils.py ........................................ [ 93%]
................................................                         [ 97%]
qcelemental/tests/test_vanderwaalsradii.py ........................      [ 99%]
qcelemental/tests/test_zqcschema.py s                                    [100%]

================= 1148 passed, 46 skipped, 2 xpassed in 2.28s ==================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debichem-devel mailing list