Package: src:sqlmodel Version: 0.0.25-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:sqlmodel, 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 pybuild --clean -i python{version} -p "3.14 3.13" rm -rf .pybuild/ find . -name \*.pyc -exec rm {} \; dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/python3-sqlmodel.substvars debian/files rm -fr -- debian/python3-sqlmodel/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' echo "pass" pass make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build -O--buildsystem=pybuild pybuild --build -i python{version} -p "3.14 3.13" 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_sqlmodel * Building wheel... - Adding .pdm-build/sqlmodel-0.0.25.dist-info/METADATA -> sqlmodel-0.0.25.dist-info/METADATA - Adding .pdm-build/sqlmodel-0.0.25.dist-info/WHEEL -> sqlmodel-0.0.25.dist-info/WHEEL - Adding .pdm-build/sqlmodel-0.0.25.dist-info/entry_points.txt -> sqlmodel-0.0.25.dist-info/entry_points.txt - Adding .pdm-build/sqlmodel-0.0.25.dist-info/licenses/LICENSE -> sqlmodel-0.0.25.dist-info/licenses/LICENSE - Adding sqlmodel/__init__.py -> sqlmodel/__init__.py - Adding sqlmodel/_compat.py -> sqlmodel/_compat.py - Adding sqlmodel/default.py -> sqlmodel/default.py - Adding sqlmodel/ext/__init__.py -> sqlmodel/ext/__init__.py - Adding sqlmodel/ext/asyncio/__init__.py -> sqlmodel/ext/asyncio/__init__.py - Adding sqlmodel/ext/asyncio/session.py -> sqlmodel/ext/asyncio/session.py - Adding sqlmodel/main.py -> sqlmodel/main.py - Adding sqlmodel/orm/__init__.py -> sqlmodel/orm/__init__.py - Adding sqlmodel/orm/session.py -> sqlmodel/orm/session.py - Adding sqlmodel/pool/__init__.py -> sqlmodel/pool/__init__.py - Adding sqlmodel/py.typed -> sqlmodel/py.typed - Adding sqlmodel/sql/__init__.py -> sqlmodel/sql/__init__.py - Adding sqlmodel/sql/_expression_select_cls.py -> sqlmodel/sql/_expression_select_cls.py - Adding sqlmodel/sql/_expression_select_gen.py -> sqlmodel/sql/_expression_select_gen.py - Adding sqlmodel/sql/_expression_select_gen.py.jinja2 -> sqlmodel/sql/_expression_select_gen.py.jinja2 - Adding sqlmodel/sql/base.py -> sqlmodel/sql/base.py - Adding sqlmodel/sql/expression.py -> sqlmodel/sql/expression.py - Adding sqlmodel/sql/sqltypes.py -> sqlmodel/sql/sqltypes.py - Adding sqlmodel-0.0.25.dist-info/RECORD -> sqlmodel-0.0.25.dist-info/RECORD Successfully built sqlmodel-0.0.25-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_sqlmodel * Building wheel... - Adding .pdm-build/sqlmodel-0.0.25.dist-info/METADATA -> sqlmodel-0.0.25.dist-info/METADATA - Adding .pdm-build/sqlmodel-0.0.25.dist-info/WHEEL -> sqlmodel-0.0.25.dist-info/WHEEL - Adding .pdm-build/sqlmodel-0.0.25.dist-info/entry_points.txt -> sqlmodel-0.0.25.dist-info/entry_points.txt - Adding .pdm-build/sqlmodel-0.0.25.dist-info/licenses/LICENSE -> sqlmodel-0.0.25.dist-info/licenses/LICENSE - Adding sqlmodel/__init__.py -> sqlmodel/__init__.py - Adding sqlmodel/_compat.py -> sqlmodel/_compat.py - Adding sqlmodel/default.py -> sqlmodel/default.py - Adding sqlmodel/ext/__init__.py -> sqlmodel/ext/__init__.py - Adding sqlmodel/ext/asyncio/__init__.py -> sqlmodel/ext/asyncio/__init__.py - Adding sqlmodel/ext/asyncio/session.py -> sqlmodel/ext/asyncio/session.py - Adding sqlmodel/main.py -> sqlmodel/main.py - Adding sqlmodel/orm/__init__.py -> sqlmodel/orm/__init__.py - Adding sqlmodel/orm/session.py -> sqlmodel/orm/session.py - Adding sqlmodel/pool/__init__.py -> sqlmodel/pool/__init__.py - Adding sqlmodel/py.typed -> sqlmodel/py.typed - Adding sqlmodel/sql/__init__.py -> sqlmodel/sql/__init__.py - Adding sqlmodel/sql/_expression_select_cls.py -> sqlmodel/sql/_expression_select_cls.py - Adding sqlmodel/sql/_expression_select_gen.py -> sqlmodel/sql/_expression_select_gen.py - Adding sqlmodel/sql/_expression_select_gen.py.jinja2 -> sqlmodel/sql/_expression_select_gen.py.jinja2 - Adding sqlmodel/sql/base.py -> sqlmodel/sql/base.py - Adding sqlmodel/sql/expression.py -> sqlmodel/sql/expression.py - Adding sqlmodel/sql/sqltypes.py -> sqlmodel/sql/sqltypes.py - Adding sqlmodel-0.0.25.dist-info/RECORD -> sqlmodel-0.0.25.dist-info/RECORD Successfully built sqlmodel-0.0.25-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild pybuild --test --test-pytest -i python{version} -p "3.14 3.13" I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlmodel/build; python3.14 -m pytest -v --ignore-glob=*test_tutorial* -k 'not test_create_db_and_table' ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.14 cachedir: .pytest_cache rootdir: /<<PKGBUILDDIR>> configfile: pyproject.toml plugins: anyio-4.11.0 collecting ... collected 45 items / 2 errors ==================================== ERRORS ==================================== __ ERROR collecting .pybuild/cpython3_3.14_sqlmodel/build/tests/test_enums.py __ tests/test_enums.py:8: in <module> from . import test_enums_models <frozen importlib._bootstrap>:1371: in _find_and_load ??? <frozen importlib._bootstrap>:1342: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:938: in _load_unlocked ??? /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:197: in exec_module exec(co, module.__dict__) tests/test_enums_models.py:17: in <module> class BaseModel(SQLModel): sqlmodel/main.py:539: in __new__ new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pydantic/_internal/_model_construction.py:132: in __new__ private_attributes = inspect_namespace( /usr/lib/python3/dist-packages/pydantic/_internal/_model_construction.py:477: in inspect_namespace raise PydanticUserError( E pydantic.errors.PydanticUserError: Field 'id' requires a type annotation E E For further information visit https://errors.pydantic.dev/2.12/u/model-field-missing-annotation _ ERROR collecting .pybuild/cpython3_3.14_sqlmodel/build/tests/test_enums_models.py _ tests/test_enums_models.py:17: in <module> class BaseModel(SQLModel): sqlmodel/main.py:539: in __new__ new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pydantic/_internal/_model_construction.py:132: in __new__ private_attributes = inspect_namespace( /usr/lib/python3/dist-packages/pydantic/_internal/_model_construction.py:477: in inspect_namespace raise PydanticUserError( E pydantic.errors.PydanticUserError: Field 'id' requires a type annotation E E For further information visit https://errors.pydantic.dev/2.12/u/model-field-missing-annotation =============================== warnings summary =============================== tests/test_validation.py:4 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlmodel/build/tests/test_validation.py:4: PydanticDeprecatedSince20: `pydantic.error_wrappers:ValidationError` has been moved to `pydantic:ValidationError`. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ from pydantic.error_wrappers import ValidationError -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_enums.py - pydantic.errors.PydanticUserError: Field 'id' req... ERROR tests/test_enums_models.py - pydantic.errors.PydanticUserError: Field '... !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ========================= 1 warning, 2 errors in 0.17s ========================= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sqlmodel/build; python3.14 -m pytest -v --ignore-glob=*test_tutorial* -k 'not test_create_db_and_table' I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlmodel/build; python3.13 -m pytest -v --ignore-glob=*test_tutorial* -k 'not test_create_db_and_table' ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.13 cachedir: .pytest_cache rootdir: /<<PKGBUILDDIR>> configfile: pyproject.toml plugins: anyio-4.11.0 collecting ... collected 51 items tests/test_annotated_uuid.py::test_annotated_optional_types PASSED [ 1%] tests/test_default.py::test_default_bool PASSED [ 3%] tests/test_default.py::test_equality PASSED [ 5%] tests/test_default.py::test_not_equality PASSED [ 7%] tests/test_default.py::test_not_equality_other PASSED [ 9%] tests/test_deprecations.py::test_deprecated_from_orm_inheritance PASSED [ 11%] tests/test_deprecations.py::test_deprecated_parse_obj PASSED [ 13%] tests/test_deprecations.py::test_deprecated_dict PASSED [ 15%] tests/test_enums.py::test_postgres_ddl_sql PASSED [ 17%] tests/test_enums.py::test_sqlite_ddl_sql PASSED [ 19%] tests/test_enums.py::test_json_schema_flat_model_pydantic_v1 SKIPPED [ 21%] tests/test_enums.py::test_json_schema_inherit_model_pydantic_v1 SKIPPED [ 23%] tests/test_enums.py::test_json_schema_flat_model_pydantic_v2 PASSED [ 25%] tests/test_enums.py::test_json_schema_inherit_model_pydantic_v2 PASSED [ 27%] tests/test_field_sa_args_kwargs.py::test_sa_column_args PASSED [ 29%] tests/test_field_sa_args_kwargs.py::test_sa_column_kargs PASSED [ 31%] tests/test_field_sa_column.py::test_sa_column_takes_precedence PASSED [ 33%] tests/test_field_sa_column.py::test_sa_column_no_sa_args PASSED [ 35%] tests/test_field_sa_column.py::test_sa_column_no_sa_kargs PASSED [ 37%] tests/test_field_sa_column.py::test_sa_column_no_type PASSED [ 39%] tests/test_field_sa_column.py::test_sa_column_no_primary_key PASSED [ 41%] tests/test_field_sa_column.py::test_sa_column_no_nullable PASSED [ 43%] tests/test_field_sa_column.py::test_sa_column_no_foreign_key PASSED [ 45%] tests/test_field_sa_column.py::test_sa_column_no_unique PASSED [ 47%] tests/test_field_sa_column.py::test_sa_column_no_index PASSED [ 49%] tests/test_field_sa_column.py::test_sa_column_no_ondelete PASSED [ 50%] tests/test_field_sa_relationship.py::test_sa_relationship_no_args PASSED [ 52%] tests/test_field_sa_relationship.py::test_sa_relationship_no_kwargs PASSED [ 54%] tests/test_fields_set.py::test_fields_set PASSED [ 56%] tests/test_instance_no_args.py::test_allow_instantiation_without_arguments PASSED [ 58%] tests/test_instance_no_args.py::test_not_allow_instantiation_without_arguments_if_not_table PASSED [ 60%] tests/test_main.py::test_should_allow_duplicate_row_if_unique_constraint_is_not_passed PASSED [ 62%] tests/test_main.py::test_should_allow_duplicate_row_if_unique_constraint_is_false PASSED [ 64%] tests/test_main.py::test_should_raise_exception_when_try_to_duplicate_row_if_unique_constraint_is_true PASSED [ 66%] tests/test_main.py::test_sa_relationship_property PASSED [ 68%] tests/test_missing_type.py::test_missing_sql_type PASSED [ 70%] tests/test_nullable.py::test_nullable_fields PASSED [ 72%] tests/test_nullable.py::test_non_nullable_optional_field_with_no_default_set PASSED [ 74%] tests/test_nullable.py::test_nullable_primary_key PASSED [ 76%] tests/test_ondelete_raises.py::test_ondelete_requires_nullable PASSED [ 78%] tests/test_ondelete_raises.py::test_ondelete_requires_foreign_key PASSED [ 80%] tests/test_pydantic/test_field.py::test_decimal PASSED [ 82%] tests/test_pydantic/test_field.py::test_discriminator PASSED [ 84%] tests/test_pydantic/test_field.py::test_repr PASSED [ 86%] tests/test_query.py::test_query PASSED [ 88%] tests/test_select_gen.py::test_select_gen PASSED [ 90%] tests/test_sqlalchemy_type_errors.py::test_type_list_breaks PASSED [ 92%] tests/test_sqlalchemy_type_errors.py::test_type_dict_breaks PASSED [ 94%] tests/test_sqlalchemy_type_errors.py::test_type_union_breaks PASSED [ 96%] tests/test_validation.py::test_validation_pydantic_v1 SKIPPED (requi...) [ 98%] tests/test_validation.py::test_validation_pydantic_v2 PASSED [100%] =============================== warnings summary =============================== tests/test_validation.py:4 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlmodel/build/tests/test_validation.py:4: PydanticDeprecatedSince20: `pydantic.error_wrappers:ValidationError` has been moved to `pydantic:ValidationError`. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ from pydantic.error_wrappers import ValidationError -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =================== 48 passed, 3 skipped, 1 warning in 0.44s =================== rm -fr -- /tmp/dh-xdg-rundir-4isYxXmA dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

