Package: src:python-beartype
Version: 0.20.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

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

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 add an affects on src:python-beartype, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3,sphinxdoc --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.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_beartype  
* Building wheel...

[... snipped ...]

../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484.py::test_decor_pep484_hint_noreturn
 PASSED [ 74%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484.py::test_decor_pep484_hint_noreturn_async
 PASSED [ 74%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484.py::test_decor_pep484_namedtuple
 PASSED [ 74%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484.py::test_decor_pep484_hint_sequence_args_1_cached
 PASSED [ 75%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484ref.py::test_pep484_ref_data
 PASSED [ 75%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484ref.py::test_pep484_ref_arg_pass
 PASSED [ 75%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484ref.py::test_pep484_ref_decor_fail
 PASSED [ 75%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484ref.py::test_pep484_ref_call_fail
 PASSED [ 76%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484ref.py::test_pep484_ref_call_arg_fail
 PASSED [ 76%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/pep484/test_pep484typevar.py::test_decor_pep484_hint_typevar_cacheunworthy
 PASSED [ 76%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep3119.py::test_decor_pep3119
 PASSED [ 76%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep435663.py::test_decor_pep435
 PASSED [ 77%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep435663.py::test_decor_pep663
 PASSED [ 77%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep484585.py::test_decor_async_coroutine
 PASSED [ 77%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep484585.py::test_decor_async_generator
 PASSED [ 77%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep484585.py::test_decor_sync_generator
 PASSED [ 78%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep544.py::test_decor_pep544
 PASSED [ 78%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep544.py::test_decor_pep544_hint_subprotocol_elision
 PASSED [ 78%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep544.py::test_typingpep544_protocol_custom_direct
 PASSED [ 78%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep544.py::test_typingpep544_protocol_custom_direct_typevar
 PASSED [ 79%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep544.py::test_typingpep544_protocol_custom_indirect
 PASSED [ 79%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep544.py::test_typingpep544_pep593_integration
 PASSED [ 79%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep557.py::test_decor_pep577
 PASSED [ 79%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_class_self_reference_reloaded
 PASSED [ 80%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_class_self_reference_override
 PASSED [ 80%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_module
 PASSED [ 80%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_class
 PASSED [ 80%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_closure_nonnested
 PASSED [ 81%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_closure_nested
 SKIPPED [ 81%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_hint_pep484_namedtuple
 PASSED [ 81%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_hint_pep484_noreturn
 PASSED [ 81%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_hint_pep604
 PASSED [ 82%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py::test_pep563_hint_pep695
 PASSED [ 82%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep585.py::test_decor_pep585_hint_nested_type_redefine
 PASSED [ 82%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep591.py::test_decor_pep591
 PASSED [ 82%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep593.py::test_decor_pep593
 PASSED [ 83%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep612.py::test_decor_pep612
 PASSED [ 83%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep613.py::test_decor_pep613
 PASSED [ 83%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep646.py::test_decor_pep646
 PASSED [ 84%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep647742.py::test_decor_pep647
 PASSED [ 84%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep647742.py::test_decor_pep742
 PASSED [ 84%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep673.py::test_decor_pep673
 PASSED [ 84%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep692.py::test_decor_pep692
 PASSED [ 85%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_contextlib.py::test_decor_contextlib_asynccontextmanager
 PASSED [ 85%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_contextlib.py::test_decor_contextlib_contextmanager
 PASSED [ 85%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_functools.py::test_decor_functools_lru_cache
 PASSED [ 85%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_mypy.py::test_decor_mypy_notimplemented
 PASSED [ 86%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_nptyping.py::test_decor_nptyping
 SKIPPED [ 86%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_numpy.py::test_decor_numpy
 PASSED [ 86%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_pandera.py::test_decor_pandera
 SKIPPED [ 86%]
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_torch.py::test_decor_torch
 SKIPPED [ 87%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_name_fail
 PASSED [ 87%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_flex
 PASSED [ 87%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_flex_optional
 SKIPPED [ 87%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_flex_varkw
 PASSED [ 88%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_kw_unknown_fail
 PASSED [ 88%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_variadic
 PASSED [ 88%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_kwonly_mixed
 PASSED [ 88%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_flex_varpos_kwonly
 PASSED [ 89%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_posonly
 PASSED [ 89%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py::test_decor_arg_kind_posonly_flex_varpos_kwonly
 PASSED [ 89%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornontype.py::test_decor_nontype_wrapper_isomorphic
 PASSED [ 89%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornontype.py::test_decor_nontype_wrapper_type
 PASSED [ 90%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornontype.py::test_decor_nontype_type_fail
 PASSED [ 90%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornoop.py::test_decor_noop_python_optimized
 PASSED [ 90%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornoop.py::test_decor_noop_unhinted_sync
 PASSED [ 90%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornoop.py::test_decor_noop_redecorated_sync
 PASSED [ 91%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornoop.py::test_decor_noop_unhinted_async
 PASSED [ 91%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornoop.py::test_decor_noop_redecorated_async
 PASSED [ 91%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornoop.py::test_decor_noop_hint_ignorable_iter
 PASSED [ 91%]
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decornoop.py::test_decor_noop_hint_ignorable_order
 PASSED [ 92%]
../../../beartype_test/a00_unit/a70_decor/a40_conf/test_decorconf.py::test_decor_conf
 PASSED [ 92%]
../../../beartype_test/a00_unit/a70_decor/a40_conf/test_decorconf.py::test_decor_conf_is_debug
 PASSED [ 92%]
../../../beartype_test/a00_unit/a70_decor/a40_conf/test_decorconf.py::test_decor_conf_strategy_O0
 PASSED [ 92%]
../../../beartype_test/a00_unit/a70_decor/a60_main/test_beartype.py::test_beartype
 PASSED [ 93%]
../../../beartype_test/a00_unit/a70_decor/a90_roar/test_roarviolation.py::test_decor_violation_culprits
 PASSED [ 93%]
../../../beartype_test/a00_unit/a70_decor/a90_roar/test_roarviolation.py::test_decor_violation_pickle
 PASSED [ 93%]
../../../beartype_test/a00_unit/a70_decor/a90_roar/test_roarviolation.py::test_decor_violation_types
 PASSED [ 93%]
../../../beartype_test/a00_unit/a70_decor/test_decorgodmode.py::test_wrapper_fail_obj_large
 SKIPPED [ 94%]
../../../beartype_test/a00_unit/a90_claw/a00_core/test_claw_api.py::test_claw_api
 PASSED [ 94%]
../../../beartype_test/a00_unit/a90_claw/a90_hook/test_claw_extraprocess.py::test_claw_extraprocess_executable_submodule
 PASSED [ 94%]
../../../beartype_test/a00_unit/a90_claw/a90_hook/test_claw_extraprocess.py::test_claw_extraprocess_executable_package
 PASSED [ 94%]
../../../beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartype_this_package
 PASSED [ 95%]
../../../beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartype_package
 PASSED [ 95%]
../../../beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartype_packages
 PASSED [ 95%]
../../../beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartype_all
 PASSED [ 95%]
../../../beartype_test/a00_unit/a90_claw/a90_hook/test_claw_intraprocess.py::test_claw_intraprocess_beartyping
 PASSED [ 96%]
../../../beartype_test/a90_func/doc/test_docreadme.py::test_doc_readme PASSED [ 
96%]
../../../beartype_test/a90_func/package/test_package_import.py::test_package_import_isolation
 PASSED [ 96%]
../../../beartype_test/a90_func/pep/test_pep561_static.py::test_pep561_mypy 
FAILED [ 96%]
../../../beartype_test/a90_func/pep/test_pep561_static.py::test_pep561_pyright 
SKIPPED [ 97%]
../../../beartype_test/a90_func/z90_lib/a00_jax/test_equinox.py::test_equinox_filter_jit
 PASSED [ 97%]
../../../beartype_test/a90_func/z90_lib/a00_jax/test_equinox.py::test_equinox_module_subclass
 SKIPPED [ 97%]
../../../beartype_test/a90_func/z90_lib/a00_jax/test_jax.py::test_jax_jit 
PASSED [ 97%]
../../../beartype_test/a90_func/z90_lib/a00_pydantic/test_langchain.py::test_langchain_baseretriever
 SKIPPED [ 98%]
../../../beartype_test/a90_func/z90_lib/a00_sphinx/test_sphinx.py::test_sphinx_docs_other
 SKIPPED [ 98%]
../../../beartype_test/a90_func/z90_lib/a00_sphinx/test_sphinx.py::test_sphinx_docs_these
 SKIPPED [ 98%]
../../../beartype_test/a90_func/z90_lib/a90_nuitka/test_nuitka.py::test_nuitka 
SKIPPED [ 98%]
../../../beartype_test/a90_func/z90_lib/test_click.py::test_click_commands 
SKIPPED [ 99%]
../../../beartype_test/a90_func/z90_lib/test_numba.py::test_numba_njit SKIPPED 
[ 99%]
../../../beartype_test/a90_func/z90_lib/test_torch.py::test_torch SKIPPED [ 99%]
../../../beartype_test/a90_func/z90_lib/test_xarray.py::test_xarray_dataset 
SKIPPED [100%]

=================================== FAILURES ===================================
_______________________________ test_pep561_mypy _______________________________

    @skip_unless_package('mypy')
    @skip_if_pypy()
    def test_pep561_mypy() -> None:
        '''
        Functional test testing this project's compliance with :pep:`561` by
        externally running :mod:`mypy` (i.e., the most popular third-party 
static
        type checker as of this test) against this project's top-level package.
        '''
    
        # ....................{ IMPORTS                        
}....................
        # Defer test-specific imports.
        from beartype._util.py.utilpyinterpreter import (
            get_interpreter_command_words)
        from beartype_test._util.command.pytcmdrun import (
            run_command_return_stdout_stderr)
        from beartype_test._util.path.pytpathmain import (
            get_main_mypy_config_file,
            get_main_package_dir,
        )
    
        # ....................{ COMMAND                        
}....................
        # Tuple of all shell words with which to run the external "mypy" 
command.
        MYPY_ARGS = get_interpreter_command_words() + (
            # Fully-qualified name of the "mypy" package to be run.
            '-m', 'mypy',
    
            # Absolute dirname of this project's top-level mypy configuration. 
Since
            # our "tox" configuration isolates testing to a temporary directory,
            # mypy is unable to find its configuration without assistance.
            '--config-file', str(get_main_mypy_config_file()),
    
            # Absolute dirname of this project's top-level package.
            str(get_main_package_dir()),
        )
    
        # Run this command, raising an exception on subprocess failure while
        # forwarding all standard output and error output by this subprocess to 
the
        # standard output and error file handles of the active Python process.
        #
        # Note that we intentionally do *NOT* assert that call to have exited 
with
        # a successful exit code. Although mypy does exit with success on local
        # developer machines, it inexplicably does *NOT* under remote GitHub
        # Actions-based continuous integration despite "mypy_stderr" being 
empty.
        # Ergo, we conveniently ignore the former in favour of the latter.
>       mypy_stdout, mypy_stderr = run_command_return_stdout_stderr(
            command_words=MYPY_ARGS)

MYPY_ARGS  = ('/usr/bin/python3.13', '-m', 'mypy', '--config-file', 
'/<<PKGBUILDDIR>>/mypy.ini', '/<<PKGBUILDDIR>>/beartype')
get_interpreter_command_words = <function get_interpreter_command_words at 
0x7fa690bf3100>
get_main_mypy_config_file = <function get_main_mypy_config_file at 
0x7fa68bdc87c0>
get_main_package_dir = <function get_main_package_dir at 0x7fa68bdc8400>
run_command_return_stdout_stderr = <function run_command_return_stdout_stderr 
at 0x7fa68bd91440>

../../../beartype_test/a90_func/pep/test_pep561_static.py:97: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../beartype_test/_util/command/pytcmdrun.py:329: in 
run_command_return_stdout_stderr
    command_result = subprocess_run(command_words, **popen_kwargs)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        command_words = ('/usr/bin/python3.13', '-m', 'mypy', '--config-file', 
'/<<PKGBUILDDIR>>/mypy.ini', '/<<PKGBUILDDIR>>/beartype')
        popen_kwargs = {'capture_output': True, 'check': True, 'env': 
{'APT_CONFIG': '/var/lib/sbuild/apt.conf', 'ASFLAGS': '', 
'ASFLAGS_FOR_...'CCACHE_DIR': '/<<PKGBUILDDIR>>/.pybuild/ccache', ...}, 
'universal_newlines': True}
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = True, timeout = None, check = True
popenargs = (('/usr/bin/python3.13', '-m', 'mypy', '--config-file', 
'/<<PKGBUILDDIR>>/mypy.ini', '/<<PKGBUILDDIR>>/beartype'),)
kwargs = {'env': {'APT_CONFIG': '/var/lib/sbuild/apt.conf', 'ASFLAGS': '', 
'ASFLAGS_FOR_BUILD': '', 'CCACHE_DIR': '/<<PKGBUILDDIR>>/.pybuild/ccache', 
...}, 'stderr': -1, 'stdout': -1, 'universal_newlines': True}
process = <Popen: returncode: 1 args: ('/usr/bin/python3.13', '-m', 'mypy', 
'--config-...>
stdout = '/<<PKGBUILDDIR>>/beartype/_data/hint/datahintpep.py:137: error: 
Variable 
"typing_...s.io/en/stable/common_issues.html#variables-vs-type-aliases\nFound 
136 errors in 49 files (checked 381 source files)\n'
stderr = '', retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, 
**kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those 
attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture 
them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return 
code
        in the returncode attribute, and output & stderr attributes if those 
streams
        were captured.
    
        If timeout (seconds) is given and the process takes too long,
         a TimeoutExpired exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this 
argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" 
should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings 
decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or 
universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be 
used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not 
None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '('/usr/bin/python3.13', 
'-m', 'mypy', '--config-file', '/<<PKGBUILDDIR>>/mypy.ini', 
'/<<PKGBUILDDIR>>/beartype')' returned non-zero exit status 1.

capture_output = True
check      = True
input      = None
kwargs     = {'env': {'APT_CONFIG': '/var/lib/sbuild/apt.conf', 'ASFLAGS': '', 
'ASFLAGS_FOR_BUILD': '', 'CCACHE_DIR': '/<<PKGBUILDDIR>>/.pybuild/ccache', 
...}, 'stderr': -1, 'stdout': -1, 'universal_newlines': True}
popenargs  = (('/usr/bin/python3.13', '-m', 'mypy', '--config-file', 
'/<<PKGBUILDDIR>>/mypy.ini', '/<<PKGBUILDDIR>>/beartype'),)
process    = <Popen: returncode: 1 args: ('/usr/bin/python3.13', '-m', 'mypy', 
'--config-...>
retcode    = 1
stderr     = ''
stdout     = '/<<PKGBUILDDIR>>/beartype/_data/hint/datahintpep.py:137: error: 
Variable 
"typing_...s.io/en/stable/common_issues.html#variables-vs-type-aliases\nFound 
136 errors in 49 files (checked 381 source files)\n'
timeout    = None

/usr/lib/python3.13/subprocess.py:577: CalledProcessError
=========================== short test summary info ============================
SKIPPED [1] 
../../../beartype_test/a00_unit/a70_decor/a20_code/a00_type/test_decortype_descriptor.py:270:
 Python 3.13.7 >= 3.11.0.
SKIPPED [1] 
../../../beartype_test/a00_unit/a70_decor/a20_code/a60_pep/test_decorpep563.py:299:
 Python 3.13.7 >= 3.10.0.
SKIPPED [1] 
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_nptyping.py:41:
 "nptyping" harmfully breaks unrelated unit tests.
SKIPPED [1] 
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_pandera.py:26:
 could not import 'pyarrow': No module named 'pyarrow'
SKIPPED [1] 
../../../beartype_test/a00_unit/a70_decor/a20_code/a90_api/test_decor_torch.py:21:
 could not import 'torch': No module named 'torch'
SKIPPED [1] 
../../../beartype_test/a00_unit/a70_decor/a20_code/test_decorarg.py:80: 
Currently broken due to known issues in decoration-time type-checking.
SKIPPED [1] ../../../beartype_test/a00_unit/a70_decor/test_decorgodmode.py:28: 
User "sbuild" lacks God-mode test privileges (i.e., is smart and knows what's 
good for them).
SKIPPED [1] ../../../beartype_test/a90_func/pep/test_pep561_static.py:167: 
Command "pyright" not found.
SKIPPED [1] 
../../../beartype_test/a90_func/z90_lib/a00_jax/test_equinox.py:149: Currently 
broken due to @beartype temporarily dropping Equinox support.
SKIPPED [1] 
../../../beartype_test/a90_func/z90_lib/a00_pydantic/test_langchain.py:34: 
could not import 'langchain': No module named 'langchain'
SKIPPED [1] 
../../../beartype_test/a90_func/z90_lib/a00_sphinx/test_sphinx.py:27: Currently 
broken due to @beartype requiring an obsolete Sphinx.
SKIPPED [1] 
../../../beartype_test/a90_func/z90_lib/a00_sphinx/test_sphinx.py:127: 
Currently broken due to Sphinx breaking backward compatibility.
SKIPPED [1] 
../../../beartype_test/a90_func/z90_lib/a90_nuitka/test_nuitka.py:31: could not 
import 'nuitka': No module named 'nuitka'
SKIPPED [1] ../../../beartype_test/a90_func/z90_lib/test_click.py:21: could not 
import 'click': No module named 'click'
SKIPPED [1] ../../../beartype_test/a90_func/z90_lib/test_numba.py:21: could not 
import 'numba': No module named 'numba'
SKIPPED [1] ../../../beartype_test/a90_func/z90_lib/test_torch.py:21: could not 
import 'torch': No module named 'torch'
SKIPPED [1] ../../../beartype_test/a90_func/z90_lib/test_xarray.py:21: could 
not import 'xarray': No module named 'xarray'
FAILED 
../../../beartype_test/a90_func/pep/test_pep561_static.py::test_pep561_mypy
================== 1 failed, 376 passed, 17 skipped in 7.17s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_beartype/build; python3.13 -m pytest 
{dir}/beartype_test
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to