Package: src:python-returns
Version: 0.23.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 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:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
* Building wheel...
Successfully built returns-0.23.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/setup.cfg /<<PKGBUILDDIR>>/typesafety 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m pytest returns tests typesafety

[... snipped ...]

E     ...
E   Expected:
E     ...
E     main:35: error: Return type "MyClass[_ReturnType, _EnvType]" of "from_context" incompatible 
with return type "KindN[MyClass[_ReturnType, _EnvType], _ValueType, _EnvType, Any]" in supertype 
"ReaderLike2"  [override] (diff)
E     ...
E   Alignment of first line difference:
E     E: ...yClass[_ReturnType, _EnvType]" of "from_context" incompatible with 
re...
E     A: ...yClass[_ReturnType, _EnvType@MyClass]" of "from_context" 
incompatible...
E                                       ^
___________________________ reader_inheritance_wrong ___________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_interfaces/test_specific/test_reader/test_reader_like3.yml:118:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     ...
E     main:39: error: Return type "MyClass[_ValueType@MyClass, Exception, _EnvType@MyClass]" of 
"from_context" incompatible with return type "KindN[MyClass[_ValueType@MyClass, _ErrorType, 
_EnvType@MyClass], _ValueType@from_context, _ErrorType, _EnvType@from_context]" in supertype 
"ReaderLike3"  [override] (diff)
E     ...
E   Expected:
E     ...
E     main:39: error: Return type "MyClass[_ValueType, Exception, _EnvType]" of "from_context" 
incompatible with return type "KindN[MyClass[_ValueType, _ErrorType, _EnvType], _ValueType, _ErrorType, 
_EnvType]" in supertype "ReaderLike3"  [override] (diff)
E     ...
E   Alignment of first line difference:
E     E: ...rn type "MyClass[_ValueType, Exception, _EnvType]" of 
"from_context" ...
E     A: ...rn type "MyClass[_ValueType@MyClass, Exception, _EnvType@MyClass]" 
of...
E                                      ^
__________________________ result_inheritance_wrong2 ___________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_interfaces/test_specific/test_result/test_resultlike_inheritance.yml:120:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:17: error: Return type "MyClass[_ValueType, _ErrorType]" of "bind_result" incompatible 
with return type "KindN[MyClass[_ValueType, _ErrorType], _UpdatedType, _ErrorType, Never]" in supertype 
"ResultLikeN"  [override] (diff)
E    main:19: error: Argument 1 of "bind_result" is incompatible with supertype 
"ResultLikeN"; supertype ...
E    main:19: note: This violates the Liskov substitution principle
E    main:19: note: See 
https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
E    main:26: error: Signature of "from_result" incompatible with supertype 
"ResultLikeN"  [override]
E    main:26: note:      Superclass:
E     main:26: note:          def [_ValueType, _ErrorType] from_result(cls, 
inner_value: Result[_ValueType, _ErrorType]) -> 
KindN[MyClass[_ValueType@MyClass, _ErrorType@MyClass], _ValueType@from_result, 
_ErrorType@from_result, Never] (diff)
E     ...
E   Expected:
E     main:17: error: Return type "MyClass[_ValueType, _ErrorType]" of "bind_result" incompatible 
with return type "KindN[MyClass[_ValueType, _ErrorType], _UpdatedType, _ErrorType, NoReturn]" in supertype 
"ResultLikeN"  [override] (diff)
E    main:19: error: Argument 1 of "bind_result" is incompatible with supertype 
"ResultLikeN"; supertype ...
E    main:19: note: This violates the Liskov substitution principle
E    main:19: note: See 
https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
E    main:26: error: Signature of "from_result" incompatible with supertype 
"ResultLikeN"  [override]
E    main:26: note:      Superclass:
E     main:26: note:          def [_ValueType, _ErrorType] from_result(cls, 
inner_value: Result[_ValueType, _ErrorType]) -> KindN[MyClass[_ValueType, 
_ErrorType], _ValueType, _ErrorType, NoReturn] (diff)
E     ...
E   Alignment of first line difference:
E     E: ...UpdatedType, _ErrorType, NoReturn]" in supertype "ResultLikeN"  
[over...
E     A: ...UpdatedType, _ErrorType, Never]" in supertype "ResultLikeN"  
[overrid...
E                                     ^
__________________________ result_inheritance_wrong3 ___________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_interfaces/test_specific/test_result/test_resultlike_inheritance.yml:174:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     ...
E     main:28: error: Return type "MyClass[_NewValueType, _NewErrorType, bool]" of "from_result" 
incompatible with return type "KindN[MyClass[_ValueType@MyClass, _ErrorType@MyClass, _T], _ValueType@from_result, 
_ErrorType@from_result, _T]" in supertype "ResultLikeN"  [override] (diff)
E   Expected:
E     ...
E     main:28: error: Return type "MyClass[_NewValueType, _NewErrorType, bool]" of "from_result" 
incompatible with return type "KindN[MyClass[_ValueType, _ErrorType, _T], _ValueType, _ErrorType, _T]" in 
supertype "ResultLikeN"  [override] (diff)
E   Alignment of first line difference:
E     E: ... "KindN[MyClass[_ValueType, _ErrorType, _T], _ValueType, 
_ErrorType, ...
E     A: ... "KindN[MyClass[_ValueType@MyClass, _ErrorType@MyClass, _T], 
_ValueTy...
E                                     ^
_______________________ swappable_inheritance_incorrect2 _______________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_interfaces/test_swappable/test_inheritance.yml:54:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:13: error: Return type "MyClass[_FirstType, _SecondType]" of "swap" incompatible with 
return type "KindN[MyClass[_FirstType, _SecondType], _SecondType, _FirstType, Never]" in supertype 
"SwappableN"  [override] (diff)
E   Expected:
E     main:13: error: Return type "MyClass[_FirstType, _SecondType]" of "swap" incompatible with 
return type "KindN[MyClass[_FirstType, _SecondType], _SecondType, _FirstType, NoReturn]" in supertype 
"SwappableN"  [override] (diff)
E   Alignment of first line difference:
E     E: ...dType, _FirstType, NoReturn]" in supertype "SwappableN"  [override]
E     A: ...dType, _FirstType, Never]" in supertype "SwappableN"  [override]
E                               ^
________________________ managed_with_non_none_release _________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pipeline/test_managed/test_managed_errors.yml:18:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:15: error: Argument 2 to "managed" has incompatible type "Callable[[int, 
Result[float, str]], IOResult[float, str]]"; expected "Callable[[int, Result[float, str]], 
KindN[IOResult[Any, Any], None, str, Never]]"  [arg-type] (diff)
E   Expected:
E     main:15: error: Argument 2 to "managed" has incompatible type "Callable[[int, 
Result[float, str]], IOResult[float, str]]"; expected "Callable[[int, Result[float, str]], 
KindN[IOResult[Any, Any], None, str, NoReturn]]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...ult[Any, Any], None, str, NoReturn]]"  [arg-type]
E     A: ...ult[Any, Any], None, str, Never]]"  [arg-type]
E                                      ^
______________________ managed_with_wrong_container_input ______________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pipeline/test_managed/test_managed_errors.yml:58:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:15: error: Argument 1 has incompatible type "IOResult[str, str]"; expected 
"KindN[IOResult[Any, Any], int, str, Never]"  [arg-type] (diff)
E   Expected:
E     main:15: error: Argument 1 has incompatible type "IOResult[str, str]"; expected 
"KindN[IOResult[Any, Any], int, str, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...esult[Any, Any], int, str, NoReturn]"  [arg-type]
E     A: ...esult[Any, Any], int, str, Never]"  [arg-type]
E                                       ^
____________________________ pipe_wrong_steps_error ____________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pipeline/test_pipe/test_pipe_errors.yml:20:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     ...
E     main:3: error: "Never" not callable  [misc]   (diff)
E     main:3: error: Argument 1 to "__call__" of "_Pipe" has incompatible type "str"; 
expected "Never"  [arg-type] (diff)
E   Expected:
E     ...
E     main:3: error: Never not callable  [misc]     (diff)
E     main:3: error: Argument 1 to "__call__" of "_Pipe" has incompatible type 
"str"; expected Never  [arg-type] (diff)
E   Alignment of first line difference:
E     E: main:3: error: Never not callable  [misc]
E     A: main:3: error: "Never" not callable  [misc]
E                       ^
___________________________ bind_wrong_instance_type ___________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind.yml:28:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "Result[str, str]"; expected 
"KindN[Result[Any, Any], float, str, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "Result[str, str]"; expected 
"KindN[Result[Any, Any], float, str, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...[Any, Any], float, str, NoReturn]"  [arg-type]
E     A: ...[Any, Any], float, str, Never]"  [arg-type]
E                                    ^
____________________________ bind_wrong_error_type _____________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind.yml:43:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "Result[float, str]"; expected 
"KindN[Result[Any, Any], float, Exception, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "Result[float, str]"; expected 
"KindN[Result[Any, Any], float, Exception, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...y], float, Exception, NoReturn]"  [arg-type]
E     A: ...y], float, Exception, Never]"  [arg-type]
E                                  ^
____________________________ bind_async_wrong_value ____________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_async.yml:11:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "Future[float]"; expected 
"KindN[Future[Any], str, Never, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "Future[float]"; expected 
"KindN[Future[Any], str, NoReturn, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...[Future[Any], str, NoReturn, NoReturn]"  [arg-type]
E     A: ...[Future[Any], str, Never, Never]"  [arg-type]
E                               ^
_________________________ bind_async_wrong_second_type _________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_async.yml:24:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "FutureResult[str, bool]"; expected 
"KindN[FutureResult[Any, Any], str, str, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "FutureResult[str, bool]"; expected 
"KindN[FutureResult[Any, Any], str, str, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...ult[Any, Any], str, str, NoReturn]"  [arg-type]
E     A: ...ult[Any, Any], str, str, Never]"  [arg-type]
E                                     ^
________________________ bind_async_wrong_instance_type ________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_async.yml:37:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     ...
E     main:8: error: Argument 1 has incompatible type "IO[float]"; expected 
"KindN[IO[Any], str, Never, Never]"  [arg-type] (diff)
E   Expected:
E     ...
E     main:8: error: Argument 1 has incompatible type "IO[float]"; expected 
"KindN[IO[Any], str, NoReturn, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ..."KindN[IO[Any], str, NoReturn, NoReturn]"  [arg-type]
E     A: ..."KindN[IO[Any], str, Never, Never]"  [arg-type]
E                                 ^
________________________ bind_async_wrong_function_type ________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_async.yml:53:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     ...
E     main:8: error: Argument 1 has incompatible type "Future[float]"; expected 
"KindN[IO[Any], float, Never, Never]"  [arg-type] (diff)
E     ...
E   Expected:
E     ...
E     main:8: error: Argument 1 has incompatible type "Future[float]"; expected 
"KindN[IO[Any], float, NoReturn, NoReturn]"  [arg-type] (diff)
E     ...
E   Alignment of first line difference:
E     E: ...ted "KindN[IO[Any], float, NoReturn, NoReturn]"  [arg-type]
E     A: ...ted "KindN[IO[Any], float, Never, Never]"  [arg-type]
E                                       ^
_____________________ bind_async_future_result_wrong_value _____________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_async_future_result.yml:11:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, str]"; 
expected "KindN[FutureResult[Any, Any], str, str, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, str]"; 
expected "KindN[FutureResult[Any, Any], str, str, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...sult[Any, Any], str, str, NoReturn]"  [arg-type]
E     A: ...sult[Any, Any], str, str, Never]"  [arg-type]
E                                      ^
_____________________ bind_async_future_result_wrong_error _____________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_async_future_result.yml:24:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, bool]"; 
expected "KindN[FutureResult[Any, Any], float, str, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, bool]"; 
expected "KindN[FutureResult[Any, Any], float, str, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ... Any], float, str, NoReturn]"  [arg-type]
E     A: ... Any], float, str, Never]"  [arg-type]
E                               ^
__________________________ bind_awaitable_wrong_value __________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_awaitable.yml:11:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "Future[float]"; expected 
"KindN[Future[Any], str, Never, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "Future[float]"; expected 
"KindN[Future[Any], str, NoReturn, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...[Future[Any], str, NoReturn, NoReturn]"  [arg-type]
E     A: ...[Future[Any], str, Never, Never]"  [arg-type]
E                               ^
______________________ bind_awaitable_wrong_instance_type ______________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_awaitable.yml:24:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     ...
E     main:8: error: Argument 1 has incompatible type "IO[float]"; expected 
"KindN[IO[Any], str, Never, Never]"  [arg-type] (diff)
E   Expected:
E     ...
E     main:8: error: Argument 1 has incompatible type "IO[float]"; expected 
"KindN[IO[Any], str, NoReturn, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ..."KindN[IO[Any], str, NoReturn, NoReturn]"  [arg-type]
E     A: ..."KindN[IO[Any], str, Never, Never]"  [arg-type]
E                                 ^
________________________ bind_future_result_wrong_value ________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_future_result.yml:11:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, str]"; 
expected "KindN[FutureResult[Any, Any], str, str, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, str]"; 
expected "KindN[FutureResult[Any, Any], str, str, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...sult[Any, Any], str, str, NoReturn]"  [arg-type]
E     A: ...sult[Any, Any], str, str, Never]"  [arg-type]
E                                      ^
________________________ bind_future_result_wrong_error ________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_future_result.yml:24:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, bool]"; 
expected "KindN[FutureResult[Any, Any], float, str, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "FutureResult[float, bool]"; 
expected "KindN[FutureResult[Any, Any], float, str, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ... Any], float, str, NoReturn]"  [arg-type]
E     A: ... Any], float, str, Never]"  [arg-type]
E                               ^
_________________________ bind_io_wrong_instance_type __________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_io.yml:42:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:8: error: Argument 1 has incompatible type "IO[str]"; expected 
"KindN[IO[Any], float, Never, Never]"  [arg-type] (diff)
E   Expected:
E     main:8: error: Argument 1 has incompatible type "IO[str]"; expected 
"KindN[IO[Any], float, NoReturn, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ...indN[IO[Any], float, NoReturn, NoReturn]"  [arg-type]
E     A: ...indN[IO[Any], float, Never, Never]"  [arg-type]
E                                 ^
________________________ bind_io_wrong_unsupported_type ________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_io.yml:58:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     ...
E     main:9: error: Argument 1 has incompatible type "Maybe[str]"; expected 
"KindN[Maybe[Any], float, Never, Never]"  [arg-type] (diff)
E   Expected:
E     ...
E     main:9: error: Argument 1 has incompatible type "Maybe[str]"; expected 
"KindN[Maybe[Any], float, NoReturn, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ... "KindN[Maybe[Any], float, NoReturn, NoReturn]"  [arg-type]
E     A: ... "KindN[Maybe[Any], float, Never, Never]"  [arg-type]
E                                       ^
______________________ bind_optional_wrong_instance_type _______________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_pointfree/test_bind_optional.yml:12:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:9: error: Argument 1 has incompatible type "Maybe[str]"; expected 
"KindN[Maybe[Any], float, Never, Never]"  [arg-type] (diff)
E   Expected:
E     main:9: error: Argument 1 has incompatible type "Maybe[str]"; expected 
"KindN[Maybe[Any], float, NoReturn, NoReturn]"  [arg-type] (diff)
E   Alignment of first line difference:
E     E: ... "KindN[Maybe[Any], float, NoReturn, NoReturn]"  [arg-type]
E     A: ... "KindN[Maybe[Any], float, Never, Never]"  [arg-type]
E                                       ^
________________________ supports_kind_getattr_existing ________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_primitives/test_hkt/test_supports_kind.yml:8:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:5: error: "SupportsKindN[List[Any], int, Never, Never]" has no attribute 
"pop"  [attr-defined] (diff)
E   Expected:
E     main:5: error: "SupportsKindN[List[Any], int, NoReturn, NoReturn]" has no attribute 
"pop"  [attr-defined] (diff)
E   Alignment of first line difference:
E     E: ...ortsKindN[List[Any], int, NoReturn, NoReturn]" has no attribute 
"pop"...
E     A: ...ortsKindN[List[Any], int, Never, Never]" has no attribute "pop"  
[att...
E                                      ^
________________ collect_traces_context_manager_return_type_one ________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_primitives/test_tracing/test_collect_traces.yml:6:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:3: note: Revealed type is "Overload(def () -> typing.ContextManager[None], def 
[_FunctionType <: def (*Any, **Any) -> Any] (function: _FunctionType`-1) -> 
_FunctionType`-1)" (diff)
E   Expected:
E     main:3: note: Revealed type is "Overload(def () -> 
contextlib.AbstractContextManager[None], def [_FunctionType <: def (*Any, **Any) -> Any] 
(function: _FunctionType`-1) -> _FunctionType`-1)" (diff)
E   Alignment of first line difference:
E     E: ... "Overload(def () -> contextlib.AbstractContextManager[None], def 
[_F...
E     A: ... "Overload(def () -> typing.ContextManager[None], def 
[_FunctionType ...
E                                ^
________________ collect_traces_context_manager_return_type_two ________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/typesafety/test_primitives/test_tracing/test_collect_traces.yml:13:
E   pytest_mypy_plugins.utils.TypecheckAssertionError: Invalid output:
E   Actual:
E     main:3: note: Revealed type is "typing.ContextManager[None]" (diff)
E   Expected:
E     main:3: note: Revealed type is "contextlib.AbstractContextManager[None]" 
(diff)
E   Alignment of first line difference:
E     E: ...te: Revealed type is "contextlib.AbstractContextManager[None]"
E     A: ...te: Revealed type is "typing.ContextManager[None]"
E                                 ^
=============================== warnings summary ===============================
tests/test_laws.py::test_future_containern_left_identity_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_identity at 0x7fbac7308b80>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_identity' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_future_containern_associative_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_identity at 0x7fbac5cb87c0>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_identity' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_future_applicativen_interchange_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_identity at 0x7fbac64ab340>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_identity' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_future_applicativen_composition_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_apply at 0x7fbac5c11700>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_apply' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_future_mappablen_associative_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_map at 0x7fbac59b67a0>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_map' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_futureresult_containern_left_identity_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_identity at 0x7fbac64a9240>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_identity' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_futureresult_containern_associative_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_identity at 0x7fbac64a8700>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_identity' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_futureresult_applicativen_interchange_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_identity at 0x7fbac64a81c0>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_identity' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_futureresult_applicativen_composition_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_identity at 0x7fbac64a9540>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_identity' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_laws.py::test_futureresult_mappablen_associative_law
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object 
async_map at 0x7fbac617fd30>
Traceback (most recent call last):
    File "/usr/lib/python3.12/warnings.py", line 555, in 
_warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'async_map' was never awaited
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.12.7-final-0 -----------
Name    Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------
TOTAL    2485      0    872      0   100%

88 files skipped due to complete coverage.
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml

Required test coverage of 100% reached. Total coverage: 100.00%
=========================== short test summary info ============================
FAILED 
typesafety/test_converters/test_flatten.yml::flatten_wrong_flatten_error_type
FAILED 
typesafety/test_interfaces/test_altable/test_inheritance.yml::altable_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_applicative/test_inheritance.yml::applicative_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_bindable/test_inheritance.yml::bindable_inheritance_wrong1
FAILED 
typesafety/test_interfaces/test_bindable/test_inheritance.yml::bindable_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_failable/test_diverse_failable.yml::diverse_failable_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_lashable/test_inheritance.yml::lashable_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_mappable/test_inheritance.yml::mappable_inheritance_wrong1
FAILED 
typesafety/test_interfaces/test_mappable/test_inheritance.yml::mappable_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_specific/test_future/test_futurebased_inheritance.yml::future_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_specific/test_future/test_futurelike_inheritance.yml::future_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_specific/test_future_result/test_future_result_based.yml::future_result_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_specific/test_future_result/test_future_result_like.yml::future_result_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_specific/test_io/test_io_like.yml::io_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_specific/test_ioresult/test_ioresultbased_inheritance.yml::ioresult_inheritance_wrong3
FAILED 
typesafety/test_interfaces/test_specific/test_ioresult/test_ioresultlike_inheritance.yml::ioresult_inheritance_wrong3
FAILED 
typesafety/test_interfaces/test_specific/test_maybe/test_maybe_like.yml::maybe_like_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_specific/test_reader/test_reader_based2.yml::reader_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_specific/test_reader/test_reader_like2.yml::reader_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_specific/test_reader/test_reader_like3.yml::reader_inheritance_wrong
FAILED 
typesafety/test_interfaces/test_specific/test_result/test_resultlike_inheritance.yml::result_inheritance_wrong2
FAILED 
typesafety/test_interfaces/test_specific/test_result/test_resultlike_inheritance.yml::result_inheritance_wrong3
FAILED 
typesafety/test_interfaces/test_swappable/test_inheritance.yml::swappable_inheritance_incorrect2
FAILED 
typesafety/test_pipeline/test_managed/test_managed_errors.yml::managed_with_non_none_release
FAILED 
typesafety/test_pipeline/test_managed/test_managed_errors.yml::managed_with_wrong_container_input
FAILED 
typesafety/test_pipeline/test_pipe/test_pipe_errors.yml::pipe_wrong_steps_error
FAILED typesafety/test_pointfree/test_bind.yml::bind_wrong_instance_type -
FAILED typesafety/test_pointfree/test_bind.yml::bind_wrong_error_type -
FAILED typesafety/test_pointfree/test_bind_async.yml::bind_async_wrong_value
FAILED 
typesafety/test_pointfree/test_bind_async.yml::bind_async_wrong_second_type
FAILED 
typesafety/test_pointfree/test_bind_async.yml::bind_async_wrong_instance_type
FAILED 
typesafety/test_pointfree/test_bind_async.yml::bind_async_wrong_function_type
FAILED 
typesafety/test_pointfree/test_bind_async_future_result.yml::bind_async_future_result_wrong_value
FAILED 
typesafety/test_pointfree/test_bind_async_future_result.yml::bind_async_future_result_wrong_error
FAILED 
typesafety/test_pointfree/test_bind_awaitable.yml::bind_awaitable_wrong_value
FAILED 
typesafety/test_pointfree/test_bind_awaitable.yml::bind_awaitable_wrong_instance_type
FAILED 
typesafety/test_pointfree/test_bind_future_result.yml::bind_future_result_wrong_value
FAILED 
typesafety/test_pointfree/test_bind_future_result.yml::bind_future_result_wrong_error
FAILED typesafety/test_pointfree/test_bind_io.yml::bind_io_wrong_instance_type
FAILED 
typesafety/test_pointfree/test_bind_io.yml::bind_io_wrong_unsupported_type
FAILED 
typesafety/test_pointfree/test_bind_optional.yml::bind_optional_wrong_instance_type
FAILED 
typesafety/test_primitives/test_hkt/test_supports_kind.yml::supports_kind_getattr_existing
FAILED 
typesafety/test_primitives/test_tracing/test_collect_traces.yml::collect_traces_context_manager_return_type_one
FAILED 
typesafety/test_primitives/test_tracing/test_collect_traces.yml::collect_traces_context_manager_return_type_two
= 44 failed, 1765 passed, 4 xfailed, 10 warnings, 60 subtests passed in 370.59s 
(0:06:10) =
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest returns 
tests typesafety
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to