Package: src:pydantic Version: 2.12.5-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/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:pydantic, 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 dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --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 pydantic-2.12.5-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 pydantic-2.12.5-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=True warmup_iterations=100000) rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build configfile: pyproject.toml plugins: benchmark-5.2.3, run-parallel-0.8.0, Faker-33.3.1, typeguard-4.4.4, mock-3.15.1 collected 5861 items Collected 0 items to run in parallel tests/benchmarks/test_attribute_access.py .. [ 0%] tests/benchmarks/test_discriminated_unions.py .. [ 0%] tests/benchmarks/test_fastapi_startup_generics.py . [ 0%] tests/benchmarks/test_fastapi_startup_simple.py . [ 0%] tests/benchmarks/test_imports.py .. [ 0%] tests/benchmarks/test_isinstance.py . [ 0%] tests/benchmarks/test_model_schema_generation.py ............sssssssssss [ 0%] ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 1%] sssssssssssssssssssssssss [ 2%] tests/benchmarks/test_model_schema_generation_recursive.py ...... [ 2%] tests/benchmarks/test_model_serialization.py ..... [ 2%] tests/benchmarks/test_model_validation.py ........ [ 2%] tests/benchmarks/test_north_star.py ........ [ 2%] tests/mypy/test_mypy.py ssssssssssssssssssssssssssssssssssssssssssssssss [ 3%] s [ 3%] tests/plugin/test_plugin.py s [ 3%] tests/test_abc.py ... [ 3%] tests/test_aliases.py .................................................. [ 4%] ............s.....s..s.....ssssssssss..s.....s..s.....s..s.....s..s..... [ 5%] s..s.....ssssssssss.......... [ 6%] tests/test_allow_partial.py ................... [ 6%] tests/test_annotated.py .................................... [ 7%] tests/test_assert_in_validators.py . [ 7%] tests/test_callable.py ........ [ 7%] tests/test_color.py .................................................... [ 8%] ...................................... [ 8%] tests/test_computed_fields.py ................s...........x...s.. [ 9%] tests/test_config.py ................................................... [ 10%] ................................. [ 10%] tests/test_construction.py ............................................. [ 11%] ...... [ 11%] tests/test_create_model.py ............................ [ 12%] tests/test_dataclasses.py .............................................. [ 12%] ........................................................................ [ 14%] ..........................ss............................................ [ 15%] ....................................... [ 16%] tests/test_datetime.py ................................................. [ 16%] ........................................................................ [ 18%] ........................................................................ [ 19%] ........................................ [ 20%] tests/test_decorators.py ............................ [ 20%] tests/test_deferred_annotations.py .F... [ 20%] tests/test_deprecated.py ............................................... [ 21%] . [ 21%] tests/test_deprecated_fields.py ............ [ 21%] tests/test_deprecated_validate_arguments.py ..................... [ 21%] tests/test_discriminated_union.py ...................................... [ 22%] .....................x.........x...x. [ 23%] tests/test_docs_extraction.py ...........x.... [ 23%] tests/test_dunder_all.py .. [ 23%] tests/test_edge_cases.py ............................................... [ 24%] ........................................................................ [ 25%] s....................................................................... [ 26%] ... [ 26%] tests/test_errors.py .... [ 26%] tests/test_experimental_arguments_schema.py .......... [ 27%] tests/test_exports.py .................................................. [ 27%] ........................................................................ [ 29%] ................................... [ 29%] tests/test_fields.py ................................................... [ 30%] ................ [ 30%] tests/test_forward_ref.py .............................................x [ 31%] x..........x....... [ 32%] tests/test_generics.py ...............................................s. [ 32%] .........................x.....................sx.......xx.............. [ 34%] ..... [ 34%] tests/test_internal.py ...xx....s......... [ 34%] tests/test_json.py ..................................................... [ 35%] ....... [ 35%] tests/test_json_schema.py .............................................. [ 36%] ........................................................................ [ 37%] ........................................................................ [ 38%] ........................................................................ [ 40%] .....................................................x.................. [ 41%] ...................................................................s.... [ 42%] ........................................................................ [ 43%] ...................................................... [ 44%] tests/test_main.py ..................................................... [ 45%] ........................................................ssssssssssssssss [ 46%] sssssssss................................x.............................. [ 47%] x.................................................................... [ 49%] tests/test_meta.py x [ 49%] tests/test_migration.py ................................................ [ 49%] ........................................................................ [ 51%] ........................................................................ [ 52%] .................................... [ 53%] tests/test_missing_sentinel.py ..x.. [ 53%] tests/test_model_signature.py ..............s [ 53%] tests/test_model_validator.py ......... [ 53%] tests/test_networks.py ................................................. [ 54%] ....................s................................................... [ 55%] ........................................................................ [ 56%] .......x................................................................ [ 58%] ........................................ [ 58%] tests/test_networks_ipaddress.py ....................................... [ 59%] ........................................................................ [ 60%] .................................................... [ 61%] tests/test_parse.py ........... [ 61%] tests/test_pickle.py ..................... [ 62%] tests/test_pipeline.py ................................................. [ 62%] ............... [ 63%] tests/test_plugin_loader.py ...... [ 63%] tests/test_plugins.py ............. [ 63%] tests/test_private_attributes.py ................................ [ 64%] tests/test_rich_repr.py .. [ 64%] tests/test_root_model.py ............................................... [ 64%] ............................. [ 65%] tests/test_serialize.py ................................................ [ 66%] .........................s........... [ 66%] tests/test_serialize_as_any.py .............. [ 67%] tests/test_strict.py ...... [ 67%] tests/test_structural_pattern_matching.py . [ 67%] tests/test_titles.py ................................................... [ 68%] ................................................................. [ 69%] tests/test_tools.py ......... [ 69%] tests/test_type_adapter.py ............................................. [ 70%] ............x........................................................... [ 71%] ........................................................................ [ 72%] ................... [ 72%] tests/test_type_alias_type.py .................. [ 73%] tests/test_type_hints.py ...... [ 73%] tests/test_types.py ..................................................s. [ 74%] .........................x.............................................. [ 75%] ........................................................................ [ 76%] ........................................................................ [ 77%] ..............................................ss........................ [ 79%] ........................................................................ [ 80%] ........................................................................ [ 81%] ........................................................................ [ 82%] ........................................................................ [ 83%] ........................................................................ [ 85%] ........................................................................ [ 86%] ........................................................................ [ 87%] ........................................................................ [ 88%] .................................... [ 89%] tests/test_types_namedtuple.py ........... [ 89%] tests/test_types_payment_card_number.py ................................ [ 90%] .............. [ 90%] tests/test_types_self.py .......................... [ 90%] tests/test_types_typeddict.py .......................................... [ 91%] ................................... [ 92%] tests/test_types_zoneinfo.py ...... [ 92%] tests/test_typing.py ..............s... [ 92%] tests/test_utils.py .................................................... [ 93%] ......................s................................................. [ 94%] ........................................... [ 95%] tests/test_v1.py .s. [ 95%] tests/test_validate_call.py ............................................ [ 96%] ................... [ 96%] tests/test_validators.py ............................................... [ 97%] ........................................................................ [ 98%] ..................................................x....... [ 99%] tests/test_validators_dataclass.py ........ [ 99%] tests/test_version.py ....... [ 99%] tests/test_warnings.py ..... [100%] =================================== FAILURES =================================== ____________________ test_deferred_annotations_nested_model ____________________ [XPASS(strict)] When rebuilding model fields, we individually re-evaluate all fields (using `_eval_type()`) and as such we don't benefit from PEP 649's capabilities. =========================== short test summary info ============================ FAILED tests/test_deferred_annotations.py::test_deferred_annotations_nested_model =========== 1 failed, 5604 passed, 233 skipped, 23 xfailed in 12.74s =========== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=True warmup_iterations=100000) rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build configfile: pyproject.toml plugins: benchmark-5.2.3, run-parallel-0.8.0, Faker-33.3.1, typeguard-4.4.4, mock-3.15.1 collected 5861 items Collected 0 items to run in parallel tests/benchmarks/test_attribute_access.py .. [ 0%] tests/benchmarks/test_discriminated_unions.py .. [ 0%] tests/benchmarks/test_fastapi_startup_generics.py . [ 0%] tests/benchmarks/test_fastapi_startup_simple.py . [ 0%] tests/benchmarks/test_imports.py .. [ 0%] tests/benchmarks/test_isinstance.py . [ 0%] tests/benchmarks/test_model_schema_generation.py ............sssssssssss [ 0%] ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 1%] sssssssssssssssssssssssss [ 2%] tests/benchmarks/test_model_schema_generation_recursive.py ...... [ 2%] tests/benchmarks/test_model_serialization.py ..... [ 2%] tests/benchmarks/test_model_validation.py ........ [ 2%] tests/benchmarks/test_north_star.py ........ [ 2%] tests/mypy/test_mypy.py ssssssssssssssssssssssssssssssssssssssssssssssss [ 3%] s [ 3%] tests/plugin/test_plugin.py s [ 3%] tests/test_abc.py ... [ 3%] tests/test_aliases.py .................................................. [ 4%] ............s.....s..s.....ssssssssss..s.....s..s.....s..s.....s..s..... [ 5%] s..s.....ssssssssss.......... [ 6%] tests/test_allow_partial.py ................... [ 6%] tests/test_annotated.py .................................... [ 7%] tests/test_assert_in_validators.py . [ 7%] tests/test_callable.py ........ [ 7%] tests/test_color.py .................................................... [ 8%] ...................................... [ 8%] tests/test_computed_fields.py ................s...........x...s.. [ 9%] tests/test_config.py ................................................... [ 10%] ................................. [ 10%] tests/test_construction.py ............................................. [ 11%] ...... [ 11%] tests/test_create_model.py ............................ [ 12%] tests/test_dataclasses.py .............................................. [ 12%] ........................................................s............... [ 14%] ..........................ss............................................ [ 15%] ....................................... [ 16%] tests/test_datetime.py ................................................. [ 16%] ........................................................................ [ 18%] ........................................................................ [ 19%] ........................................ [ 20%] tests/test_decorators.py ............................ [ 20%] tests/test_deferred_annotations.py sssss [ 20%] tests/test_deprecated.py ............................................... [ 21%] . [ 21%] tests/test_deprecated_fields.py ............ [ 21%] tests/test_deprecated_validate_arguments.py ..................... [ 21%] tests/test_discriminated_union.py ...................................... [ 22%] .....................x.........x...x. [ 23%] tests/test_docs_extraction.py ...........x.... [ 23%] tests/test_dunder_all.py .. [ 23%] tests/test_edge_cases.py ............................................... [ 24%] ........................................................................ [ 25%] s....................................................................... [ 26%] ... [ 26%] tests/test_errors.py .... [ 26%] tests/test_experimental_arguments_schema.py .......... [ 27%] tests/test_exports.py .................................................. [ 27%] ........................................................................ [ 29%] ................................... [ 29%] tests/test_fields.py ................................................... [ 30%] ................ [ 30%] tests/test_forward_ref.py .............................................x [ 31%] x..........x....... [ 32%] tests/test_generics.py ...............................................s. [ 32%] .........................x.....................sx.......xx.............. [ 34%] ..... [ 34%] tests/test_internal.py ...xx....s......... [ 34%] tests/test_json.py ..................................................... [ 35%] ....... [ 35%] tests/test_json_schema.py .............................................. [ 36%] ........................................................................ [ 37%] ........................................................................ [ 38%] ........................................................................ [ 40%] ...........ss........................................x.................. [ 41%] ...................................................................s.... [ 42%] ........................................................................ [ 43%] ...................................................... [ 44%] tests/test_main.py ..................................................... [ 45%] ........................................................ssssssssssssssss [ 46%] sssssssss................................x.............................. [ 47%] x.................................................................... [ 49%] tests/test_meta.py x [ 49%] tests/test_migration.py ................................................ [ 49%] ........................................................................ [ 51%] ........................................................................ [ 52%] .................................... [ 53%] tests/test_missing_sentinel.py ..x.. [ 53%] tests/test_model_signature.py ............... [ 53%] tests/test_model_validator.py ......... [ 53%] tests/test_networks.py ................................................. [ 54%] ....................s................................................... [ 55%] ........................................................................ [ 56%] .......x................................................................ [ 58%] ........................................ [ 58%] tests/test_networks_ipaddress.py ....................................... [ 59%] ........................................................................ [ 60%] .................................................... [ 61%] tests/test_parse.py ........... [ 61%] tests/test_pickle.py ..................... [ 62%] tests/test_pipeline.py ................................................. [ 62%] ............... [ 63%] tests/test_plugin_loader.py ...... [ 63%] tests/test_plugins.py ............. [ 63%] tests/test_private_attributes.py ................................ [ 64%] tests/test_rich_repr.py .. [ 64%] tests/test_root_model.py ............................................... [ 64%] ............................. [ 65%] tests/test_serialize.py ................................................ [ 66%] .........................s........... [ 66%] tests/test_serialize_as_any.py .............. [ 67%] tests/test_strict.py ...... [ 67%] tests/test_structural_pattern_matching.py . [ 67%] tests/test_titles.py ................................................... [ 68%] ................................................................. [ 69%] tests/test_tools.py ......... [ 69%] tests/test_type_adapter.py ............................................. [ 70%] ............x........................................................... [ 71%] ........................................................................ [ 72%] ................... [ 72%] tests/test_type_alias_type.py .................. [ 73%] tests/test_type_hints.py ...... [ 73%] tests/test_types.py ..................................................s. [ 74%] .........................x.............................................. [ 75%] ........................................................................ [ 76%] ........................................................................ [ 77%] ..............................................ss........................ [ 79%] ........................................................................ [ 80%] ........................................................................ [ 81%] ........................................................................ [ 82%] ........................................................................ [ 83%] ........................................................................ [ 85%] ........................................................................ [ 86%] ........................................................................ [ 87%] ........................................................................ [ 88%] .................................... [ 89%] tests/test_types_namedtuple.py ........... [ 89%] tests/test_types_payment_card_number.py ................................ [ 90%] .............. [ 90%] tests/test_types_self.py .......................... [ 90%] tests/test_types_typeddict.py .......................................... [ 91%] ................................... [ 92%] tests/test_types_zoneinfo.py ...... [ 92%] tests/test_typing.py ..............s... [ 92%] tests/test_utils.py .................................................... [ 93%] ......................s................................................. [ 94%] ........................................... [ 95%] tests/test_v1.py ... [ 95%] tests/test_validate_call.py ............................................ [ 96%] ................... [ 96%] tests/test_validators.py ............................................... [ 97%] ........................................................................ [ 98%] ..................................................x....... [ 99%] tests/test_validators_dataclass.py ........ [ 99%] tests/test_version.py ....... [ 99%] tests/test_warnings.py ..... [100%] ================ 5599 passed, 239 skipped, 23 xfailed in 12.18s ================ dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:13: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

