Package: src:strawberry-graphql Version: 0.314.3-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/202605/ 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:strawberry-graphql, 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 debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_clean rm -rf .mypy_cache make[1]: Leaving directory '/<<PKGBUILDDIR>>' 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 [... snipped ...] continue > possible_func = getattr(obj, funcname) ^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: __provides__ /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:314: AttributeError ________________ TestReplaceScalarWrappers.test_replace_decimal ________________ self = <tests.codemods.test_replace_scalar_wrappers.TestReplaceScalarWrappers testMethod=test_replace_decimal> def test_replace_decimal(self) -> None: before = """ from strawberry.schema.types.base_scalars import Decimal field: Decimal """ after = """ from decimal import Decimal field: Decimal """ > self.assertCodemod(before, after) tests/codemods/test_replace_scalar_wrappers.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/libcst/codemod/_testing.py:102: in assertCodemod transform_instance = self.TRANSFORM(context, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ strawberry/codemods/replace_scalar_wrappers.py:29: in __init__ super().__init__(context) /usr/lib/python3/dist-packages/libcst/codemod/_visitor.py:29: in __init__ MatcherDecoratableTransformer.__init__(self) /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:456: in __init__ ] = _gather_constructed_visit_funcs(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <strawberry.codemods.replace_scalar_wrappers.ReplaceScalarWrappers object at 0x7f6a60199e50> def _gather_constructed_visit_funcs( obj: object, ) -> Dict[BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]]]: constructed_visitors: Dict[ BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]] ] = {} for funcname in dir(obj): if is_property(obj, funcname): continue > possible_func = getattr(obj, funcname) ^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: __provides__ /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:314: AttributeError ___________ TestReplaceScalarWrappers.test_replace_multiple_scalars ____________ self = <tests.codemods.test_replace_scalar_wrappers.TestReplaceScalarWrappers testMethod=test_replace_multiple_scalars> def test_replace_multiple_scalars(self) -> None: before = """ from strawberry.schema.types.base_scalars import Date, DateTime, UUID date_field: Date datetime_field: DateTime uuid_field: UUID """ after = """ import datetime from uuid import UUID date_field: datetime.date datetime_field: datetime.datetime uuid_field: UUID """ > self.assertCodemod(before, after) tests/codemods/test_replace_scalar_wrappers.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/libcst/codemod/_testing.py:102: in assertCodemod transform_instance = self.TRANSFORM(context, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ strawberry/codemods/replace_scalar_wrappers.py:29: in __init__ super().__init__(context) /usr/lib/python3/dist-packages/libcst/codemod/_visitor.py:29: in __init__ MatcherDecoratableTransformer.__init__(self) /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:456: in __init__ ] = _gather_constructed_visit_funcs(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <strawberry.codemods.replace_scalar_wrappers.ReplaceScalarWrappers object at 0x7f6a656fac10> def _gather_constructed_visit_funcs( obj: object, ) -> Dict[BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]]]: constructed_visitors: Dict[ BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]] ] = {} for funcname in dir(obj): if is_property(obj, funcname): continue > possible_func = getattr(obj, funcname) ^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: __provides__ /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:314: AttributeError _________________ TestReplaceScalarWrappers.test_replace_time __________________ self = <tests.codemods.test_replace_scalar_wrappers.TestReplaceScalarWrappers testMethod=test_replace_time> def test_replace_time(self) -> None: before = """ from strawberry.schema.types.base_scalars import Time field: Time """ after = """ import datetime field: datetime.time """ > self.assertCodemod(before, after) tests/codemods/test_replace_scalar_wrappers.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/libcst/codemod/_testing.py:102: in assertCodemod transform_instance = self.TRANSFORM(context, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ strawberry/codemods/replace_scalar_wrappers.py:29: in __init__ super().__init__(context) /usr/lib/python3/dist-packages/libcst/codemod/_visitor.py:29: in __init__ MatcherDecoratableTransformer.__init__(self) /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:456: in __init__ ] = _gather_constructed_visit_funcs(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <strawberry.codemods.replace_scalar_wrappers.ReplaceScalarWrappers object at 0x7f6a656f9450> def _gather_constructed_visit_funcs( obj: object, ) -> Dict[BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]]]: constructed_visitors: Dict[ BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]] ] = {} for funcname in dir(obj): if is_property(obj, funcname): continue > possible_func = getattr(obj, funcname) ^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: __provides__ /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:314: AttributeError _________________ TestReplaceScalarWrappers.test_replace_uuid __________________ self = <tests.codemods.test_replace_scalar_wrappers.TestReplaceScalarWrappers testMethod=test_replace_uuid> def test_replace_uuid(self) -> None: before = """ from strawberry.schema.types.base_scalars import UUID field: UUID """ after = """ from uuid import UUID field: UUID """ > self.assertCodemod(before, after) tests/codemods/test_replace_scalar_wrappers.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/libcst/codemod/_testing.py:102: in assertCodemod transform_instance = self.TRANSFORM(context, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ strawberry/codemods/replace_scalar_wrappers.py:29: in __init__ super().__init__(context) /usr/lib/python3/dist-packages/libcst/codemod/_visitor.py:29: in __init__ MatcherDecoratableTransformer.__init__(self) /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:456: in __init__ ] = _gather_constructed_visit_funcs(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <strawberry.codemods.replace_scalar_wrappers.ReplaceScalarWrappers object at 0x7f6a656f9310> def _gather_constructed_visit_funcs( obj: object, ) -> Dict[BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]]]: constructed_visitors: Dict[ BaseMatcherNode, Sequence[Callable[[cst.CSTNode], None]] ] = {} for funcname in dir(obj): if is_property(obj, funcname): continue > possible_func = getattr(obj, funcname) ^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: __provides__ /usr/lib/python3/dist-packages/libcst/matchers/_visitors.py:314: AttributeError =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1434 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1434: PytestConfigWarning: Unknown config option: DJANGO_SETTINGS_MODULE self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED ð° tests/cli/test_upgrade.py::test_upgrade_works_annotated_unions - A... FAILED ð° tests/cli/test_upgrade.py::test_upgrade_works_annotated_unions_typing_extensions FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_noop_other_union FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_noop_with_annotated_unions FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_supports_directives_and_description FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_update_positional_arguments FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_update_swapped_kwargs FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_update_union FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_update_union_list FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_update_union_positional_name FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_update_union_typing_extensions FAILED ð° tests/codemods/test_annotated_unions.py::TestConvertConstantCommand::test_update_union_using_import FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_noop_other_union FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_noop_with_annotated_unions FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_supports_directives_and_description FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_update_positional_arguments FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_update_swapped_kwargs FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_update_union FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_update_union_list FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_update_union_positional_name FAILED ð° tests/codemods/test_annotated_unions_pipe.py::TestConvertConstantCommand::test_update_union_using_import FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_field FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_arguments FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_auto FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_enum FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_lazy_type FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_object_type FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_strawberry_type FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_strawberry_type_object_definition FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_strawberry_type_object_definition_only FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_union FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_import_unset FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_is_private FAILED ð° tests/codemods/test_imports.py::TestConvertConstantCommand::test_update_types_types FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_already_has_none_pipe FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_already_has_none_union FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_function_annotation FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_generic_type FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_multiple_maybe_fields FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_nested_type FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_simple_maybe FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_simple_maybe_union_syntax FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_strawberry_maybe FAILED ð° tests/codemods/test_maybe_optional.py::TestConvertMaybeToOptional::test_union_type_inside_maybe FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_imported_but_unused_scalar FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_no_changes_when_no_scalar_imports FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_preserve_other_imports FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_replace_aliased_import FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_replace_date FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_replace_datetime FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_replace_decimal FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_replace_multiple_scalars FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_replace_time FAILED ð° tests/codemods/test_replace_scalar_wrappers.py::TestReplaceScalarWrappers::test_replace_uuid = 54 failed, 3047 passed, 1572 skipped, 4 deselected, 49 xfailed, 11 xpassed, 1 warning in 49.20s = E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_strawberry/build; python3.13 -m pytest --ignore=tests/cli/test_locate_definition.py --ignore=tests/extensions/tracing/test_apollo_federation.py --ignore=tests/http/test_graphql_ide.py --ignore=tests/http/test_upload.py --ignore=tests/litestar/test_context.py --ignore=tests/litestar/test_response_headers.py --ignore=tests/litestar/test_response_status.py --ignore=tests/sanic/test_file_upload.py -k ' not test_fetch_data_from_db and not test_lazy_types_loaded_from_same_module ' -W "ignore::pytest.PytestRemovedIn9Warning" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:32: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

