Source: pydantic
Version: 1.8.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with=python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config
> running config
> I: pybuild base:237: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/env_settings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/errors.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/tools.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/typing.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/error_wrappers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/schema.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/decorator.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/networks.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/parse.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/validators.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/json.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/color.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/datetime_parse.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/mypy.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/annotated_types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/main.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/fields.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/class_validators.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/_hypothesis_plugin.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/generics.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/dataclasses.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> copying pydantic/py.typed ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pydantic
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/env_settings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/errors.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/tools.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/typing.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/error_wrappers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/schema.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/decorator.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/networks.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/parse.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/validators.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/json.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/color.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/datetime_parse.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/mypy.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/annotated_types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/main.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/fields.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/class_validators.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/_hypothesis_plugin.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/generics.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/dataclasses.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> copying pydantic/py.typed ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pydantic
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build;
> python3.10 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: mock-3.6.1
> collected 1983 items / 1 error / 1982 selected
>
> ==================================== ERRORS
> ====================================
> ______ ERROR collecting .pybuild/cpython3_3.10/build/tests/test_utils.py
> _______
> tests/test_utils.py:8: in <module>
> from distutils.version import StrictVersion
> /usr/lib/python3.10/distutils/__init__.py:19: in <module>
> warnings.warn(_DEPRECATION_MESSAGE,
> E DeprecationWarning: The distutils package is deprecated and slated for
> removal in Python 3.12. Use setuptools or check PEP 632 for potential
> alternatives
> =========================== short test summary info
> ============================
> ERROR tests/test_utils.py - DeprecationWarning: The distutils package is
> depr...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 1.24s
> ===============================
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=2: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build;
> python3.9 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: mock-3.6.1
> collected 2067 items
>
> tests/test_abc.py .. [
> 0%]
> tests/test_aliases.py ................. [
> 0%]
> tests/test_annotated.py ............ [
> 1%]
> tests/test_annotated_types.py ......s.. [
> 1%]
> tests/test_assert_in_validators.py . [
> 1%]
> tests/test_callable.py .... [
> 2%]
> tests/test_color.py .................................................... [
> 4%]
> .................. [
> 5%]
> tests/test_construction.py ........................... [
> 6%]
> tests/test_create_model.py ................. [
> 7%]
> tests/test_dataclasses.py .............................................. [
> 9%]
> . [
> 9%]
> tests/test_datetime_parse.py ........................................... [
> 12%]
> ........................................................................ [
> 15%]
> ........................... [
> 16%]
> tests/test_decorator.py .................... [
> 17%]
> tests/test_edge_cases.py ............................................... [
> 20%]
> ........................................................................ [
> 23%]
> ............................s....... [
> 25%]
> tests/test_errors.py ................. [
> 26%]
> tests/test_forward_ref.py .................... [
> 27%]
> tests/test_generics.py ................................................. [
> 29%]
> ............ [
> 30%]
> tests/test_hypothesis_plugin.py sssssssssss [
> 30%]
> tests/test_json.py ........................................... [
> 32%]
> tests/test_main.py ..................................................... [
> 35%]
> ......................................................... [
> 37%]
> tests/test_model_signature.py .......... [
> 38%]
> tests/test_networks.py ................................................. [
> 40%]
> ........................................................................ [
> 44%]
> .............................s.. [
> 45%]
> tests/test_networks_ipaddress.py ....................................... [
> 47%]
> ........................................................................ [
> 51%]
> ............................................. [
> 53%]
> tests/test_orm_mode.py ........... [
> 53%]
> tests/test_parse.py ...................... [
> 55%]
> tests/test_private_attributes.py .......... [
> 55%]
> tests/test_schema.py ................................................... [
> 57%]
> ........................................................................ [
> 61%]
> ........................................................................ [
> 64%]
> ................................. [
> 66%]
> tests/test_settings.py .........................................s....... [
> 68%]
> ....... [
> 69%]
> tests/test_tools.py ........... [
> 69%]
> tests/test_types.py .................................................... [
> 72%]
> ........................................................................ [
> 75%]
> .........ss............................................................. [
> 79%]
> ........................................................................ [
> 82%]
> ........................................................................ [
> 86%]
> ............................ [
> 87%]
> tests/test_types_payment_card_number.py ................................ [
> 89%]
> ............... [
> 89%]
> tests/test_typing.py ... [
> 89%]
> tests/test_utils.py .......................ss........................... [
> 92%]
> ................................ [
> 94%]
> tests/test_validators.py ............................................... [
> 96%]
> ........................................................ [
> 99%]
> tests/test_validators_dataclass.py ....... [
> 99%]
> tests/mypy/test_mypy.py ssssssssss...
> [100%]
>
> ======================= 2038 passed, 29 skipped in 3.35s
> =======================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10
> 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/pydantic_1.8.2-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.