#1123333 qcengine: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13

#1123333#5
Date:
2025-12-16 19:50:00 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/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:qcengine, 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
I: pybuild base:317: python3.14 setup.py clean
/<<PKGBUILDDIR>>/versioneer.py:564: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
  mo = re.search(r'=\s*"(.*)"', line)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:334: InformationOnly: Normalizing 'v0.30.0' to '0.30.0'
  self.metadata.version = self._normalize_version(self.metadata.version)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: python3.13 setup.py clean

[... snipped ...]

/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>: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
    ???
qcengine/__init__.py:5: in <module>
    from . import config, exceptions
qcengine/config.py:72: in <module>
    class NodeDescriptor(pydantic.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 "scratch_directory"
_ ERROR collecting .pybuild/cpython3_3.14/build/qcengine/tests/test_procedures.py _
/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>: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
    ???
qcengine/__init__.py:5: in <module>
    from . import config, exceptions
qcengine/config.py:72: in <module>
    class NodeDescriptor(pydantic.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 "scratch_directory"
_ ERROR collecting .pybuild/cpython3_3.14/build/qcengine/tests/test_program_utils.py _
/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>: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
    ???
qcengine/__init__.py:5: in <module>
    from . import config, exceptions
qcengine/config.py:72: in <module>
    class NodeDescriptor(pydantic.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 "scratch_directory"
__ ERROR collecting .pybuild/cpython3_3.14/build/qcengine/tests/test_utils.py __
/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>: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
    ???
qcengine/__init__.py:5: in <module>
    from . import config, exceptions
qcengine/config.py:72: in <module>
    class NodeDescriptor(pydantic.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 "scratch_directory"
=============================== warnings summary ===============================
qcengine/config.py:13
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/qcengine/config.py:13: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
    import pydantic.v1 as pydantic

#1123333#10
Date:
2026-05-09 10:49:46 UTC
From:
To:
reassign 1123333 python3-pydantic
affects 1123333 src:qcengine
found 1123333 2.12.5-2
close 1123333 2.13.3-1
thanks

Same as #1123331.

#1123333#29
Date:
2026-05-11 14:22:23 UTC
From:
To:
This makes sense, because the failure mentioned pydantic.v1 and was for
Python 3.14 only, and:

"This release contains the updated `pydantic.v1` namespace, matching
version 1.10.26 which includes support for Python 3.14."