Package: src:python-briefcase
Version: 0.3.22-3
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-briefcase, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with 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 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_briefcase  
* Building wheel...

[... snipped ...]

tests/platforms/macOS/xcode/test_mixin.py::test_unsupported_host_os[Linux] 
PASSED [ 93%]
tests/platforms/macOS/xcode/test_mixin.py::test_unsupported_host_os[Windows] 
PASSED [ 93%]
tests/platforms/macOS/xcode/test_mixin.py::test_unsupported_host_os[WeirdOS] 
PASSED [ 93%]
tests/platforms/macOS/xcode/test_mixin.py::test_project_path PASSED      [ 93%]
tests/platforms/macOS/xcode/test_open.py::test_open SKIPPED (macOS s...) [ 93%]
tests/platforms/macOS/xcode/test_package.py::test_verify PASSED          [ 93%]
tests/platforms/macOS/xcode/test_run.py::test_run_app PASSED             [ 93%]
tests/platforms/macOS/xcode/test_run.py::test_run_app_with_passthrough PASSED [ 
93%]
tests/platforms/web/static/test_build.py::test_build_app[0] PASSED       [ 93%]
tests/platforms/web/static/test_build.py::test_build_app[3] PASSED       [ 93%]
tests/platforms/web/static/test_build.py::test_build_app_custom_pyscript_toml 
PASSED [ 93%]
tests/platforms/web/static/test_build.py::test_build_app_no_template_pyscript_toml
 PASSED [ 93%]
tests/platforms/web/static/test_build.py::test_build_app_invalid_template_pyscript_toml
 PASSED [ 94%]
tests/platforms/web/static/test_build.py::test_build_app_invalid_extra_pyscript_toml_content
 PASSED [ 94%]
tests/platforms/web/static/test_build.py::test_build_app_missing_wheel_dir 
PASSED [ 94%]
tests/platforms/web/static/test_build.py::test_build_app_no_requirements PASSED 
[ 94%]
tests/platforms/web/static/test_build.py::test_app_package_fail PASSED   [ 94%]
tests/platforms/web/static/test_build.py::test_dependency_fail PASSED    [ 94%]
tests/platforms/web/static/test_build__process_wheel.py::test_process_wheel 
PASSED [ 94%]
tests/platforms/web/static/test_build__process_wheel.py::test_process_wheel_no_content
 PASSED [ 94%]
tests/platforms/web/static/test_build__trim_file.py::test_trim_file PASSED [ 
94%]
tests/platforms/web/static/test_build__trim_file.py::test_trim_no_sentinel 
PASSED [ 94%]
tests/platforms/web/static/test_build__trim_file.py::test_trim_file_multiple_sentinels
 PASSED [ 94%]
tests/platforms/web/static/test_build__trim_file.py::test_trim_sentinel_last_line
 PASSED [ 94%]
tests/platforms/web/static/test_build__trim_file.py::test_trim_sentinel_EOF 
PASSED [ 94%]
tests/platforms/web/static/test_create.py::test_unsupported_host_os[WeirdOS] 
PASSED [ 94%]
tests/platforms/web/static/test_mixin.py::test_project_path PASSED       [ 94%]
tests/platforms/web/static/test_mixin.py::test_wheel_path PASSED         [ 94%]
tests/platforms/web/static/test_package.py::test_packaging_formats PASSED [ 94%]
tests/platforms/web/static/test_package.py::test_default_packaging_format 
PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_default_options PASSED      [ 94%]
tests/platforms/web/static/test_run.py::test_options PASSED              [ 94%]
tests/platforms/web/static/test_run.py::test_run PASSED                  [ 94%]
tests/platforms/web/static/test_run.py::test_run_with_fallback_port[exception0] 
PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_run_with_fallback_port[exception1] 
PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_run_with_args PASSED        [ 94%]
tests/platforms/web/static/test_run.py::test_cleanup_server_error[localhost-80-exception0-Try
 using a port > 1023\\.] PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_cleanup_server_error[localhost-8080-exception1-Did
 you specify a valid host and port\\?] PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_cleanup_server_error[999.999.999.999-8080-exception2-999.999.999.999
 is not a valid hostname.] PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_cleanup_server_error[999.999.999.999-8080-exception3-999.999.999.999
 is not a valid hostname.] PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_cleanup_server_error[localhost-8080-exception4-Unknown
 error] PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_cleanup_server_error[localhost-99999-exception5-Port
 must be in the range 0-65535.] PASSED [ 94%]
tests/platforms/web/static/test_run.py::test_cleanup_runtime_server_error 
PASSED [ 95%]
tests/platforms/web/static/test_run.py::test_run_without_browser PASSED  [ 95%]
tests/platforms/web/static/test_run.py::test_run_autoselect_port PASSED  [ 95%]
tests/platforms/web/static/test_run.py::test_served_paths PASSED         [ 95%]
tests/platforms/web/static/test_run.py::test_cache_headers PASSED        [ 95%]
tests/platforms/web/static/test_run.py::test_log_requests_to_logger PASSED [ 
95%]
tests/platforms/web/static/test_run.py::test_test_mode PASSED            [ 95%]
tests/platforms/windows/app/test_build.py::test_verify_without_windows_sdk 
PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_verify_with_windows_sdk PASSED 
[ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_without_windows_sdk[True-True]
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_without_windows_sdk[True-False]
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_without_windows_sdk[False-True]
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_without_windows_sdk[False-False]
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_with_windows_sdk[True]
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_with_windows_sdk[False]
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_without_any_digital_signatures
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_error_remove_signature
 PASSED [ 95%]
tests/platforms/windows/app/test_build.py::test_build_app_failure PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_unsupported_host_os[Darwin] 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_unsupported_host_os[Linux] 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_unsupported_host_os[WeirdOS] 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_unsupported_arch[i686] PASSED 
[ 95%]
tests/platforms/windows/app/test_create.py::test_unsupported_arch[ARM64] PASSED 
[ 95%]
tests/platforms/windows/app/test_create.py::test_unsupported_arch[wonky] PASSED 
[ 95%]
tests/platforms/windows/app/test_create.py::test_unsupported_32bit_python 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_version_triple[1-1.0.0] PASSED 
[ 95%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2-1.2.0] 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2.3-1.2.3] 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2.3.4-1.2.3] 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2.3a4-1.2.3] 
PASSED [ 95%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2.3b5-1.2.3] 
PASSED [ 96%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2.3rc6-1.2.3] 
PASSED [ 96%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2.3.dev7-1.2.3]
 PASSED [ 96%]
tests/platforms/windows/app/test_create.py::test_version_triple[1.2.3.post8-1.2.3]
 PASSED [ 96%]
tests/platforms/windows/app/test_create.py::test_explicit_version_triple PASSED 
[ 96%]
tests/platforms/windows/app/test_create.py::test_guid PASSED             [ 96%]
tests/platforms/windows/app/test_create.py::test_explicit_guid PASSED    [ 96%]
tests/platforms/windows/app/test_create.py::test_support_package_url PASSED [ 
96%]
tests/platforms/windows/app/test_create.py::test_default_install_scope PASSED [ 
96%]
tests/platforms/windows/app/test_create.py::test_per_machine_install_scope 
PASSED [ 96%]
tests/platforms/windows/app/test_create.py::test_per_user_install_scope PASSED 
[ 96%]
tests/platforms/windows/app/test_mixin.py::test_project_path PASSED      [ 96%]
tests/platforms/windows/app/test_open.py::test_open_windows SKIPPED      [ 96%]
tests/platforms/windows/app/test_package.py::test_package_formats PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_verify PASSED          [ 96%]
tests/platforms/windows/app/test_package.py::test_verify_with_signing PASSED [ 
96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args0-signing_options0-False]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args1-signing_options1-False]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args2-signing_options2-False]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args3-signing_options3-True]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args4-signing_options4-True]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args5-signing_options5-True]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args6-signing_options6-True]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_parse_options[cli_args7-signing_options7-True]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_package_msi[kwargs0] PASSED [ 
96%]
tests/platforms/windows/app/test_package.py::test_package_msi[kwargs1] PASSED [ 
96%]
tests/platforms/windows/app/test_package.py::test_package_zip[kwargs0] PASSED [ 
96%]
tests/platforms/windows/app/test_package.py::test_package_zip[kwargs1] PASSED [ 
96%]
tests/platforms/windows/app/test_package.py::test_package_msi_with_codesigning[False-additional_args0]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_package_msi_with_codesigning[True-additional_args1]
 PASSED [ 96%]
tests/platforms/windows/app/test_package.py::test_package_zip_with_codesigning[False-additional_args0]
 PASSED [ 97%]
tests/platforms/windows/app/test_package.py::test_package_zip_with_codesigning[True-additional_args1]
 PASSED [ 97%]
tests/platforms/windows/app/test_package.py::test_package_msi_invalid_identity 
PASSED [ 97%]
tests/platforms/windows/app/test_package.py::test_package_msi_failed_sign_app 
PASSED [ 97%]
tests/platforms/windows/app/test_package.py::test_package_msi_failed_manifest 
PASSED [ 97%]
tests/platforms/windows/app/test_package.py::test_package_msi_failed_compile 
PASSED [ 97%]
tests/platforms/windows/app/test_package.py::test_package_msi_failed_link 
PASSED [ 97%]
tests/platforms/windows/app/test_package.py::test_package_msi_failed_signing_msi
 PASSED [ 97%]
tests/platforms/windows/visualstudio/test_build.py::test_verify PASSED   [ 97%]
tests/platforms/windows/visualstudio/test_build.py::test_build_app[True] PASSED 
[ 97%]
tests/platforms/windows/visualstudio/test_build.py::test_build_app[False] 
PASSED [ 97%]
tests/platforms/windows/visualstudio/test_build.py::test_build_app_failure 
PASSED [ 97%]
tests/platforms/windows/visualstudio/test_mixin.py::test_unsupported_host_os[Darwin]
 PASSED [ 97%]
tests/platforms/windows/visualstudio/test_mixin.py::test_unsupported_host_os[Linux]
 PASSED [ 97%]
tests/platforms/windows/visualstudio/test_mixin.py::test_unsupported_host_os[WeirdOS]
 PASSED [ 97%]
tests/platforms/windows/visualstudio/test_mixin.py::test_project_path PASSED [ 
97%]
tests/platforms/windows/visualstudio/test_open.py::test_open SKIPPED     [ 97%]
tests/platforms/windows/visualstudio/test_package.py::test_package_msi PASSED [ 
97%]
tests/platforms/windows/visualstudio/test_run.py::test_run_app PASSED    [ 97%]
tests/platforms/windows/visualstudio/test_run.py::test_run_app_with_args PASSED 
[ 97%]
tests/test_cmdline.py::test_empty PASSED                                 [ 97%]
tests/test_cmdline.py::test_help_only PASSED                             [ 97%]
tests/test_cmdline.py::test_version_only PASSED                          [ 97%]
tests/test_cmdline.py::test_unknown_command PASSED                       [ 97%]
tests/test_cmdline.py::test_new_command[new-expected_options0-expected_overrides0]
 PASSED [ 97%]
tests/test_cmdline.py::test_new_command[new --template=path/to/template 
--template-branch=experiment -C version=\\'1.2.3\\' -C 
other=42-expected_options1-expected_overrides1] PASSED [ 97%]
tests/test_cmdline.py::test_convert_command[convert-expected_options0-expected_overrides0]
 PASSED [ 97%]
tests/test_cmdline.py::test_convert_command[convert --template=path/to/template 
--template-branch=experiment -C version=\\'1.2.3\\' -C 
other=42-expected_options1-expected_overrides1] PASSED [ 97%]
tests/test_cmdline.py::test_dev_command[dev 
-expected_options0-expected_overrides0] PASSED [ 97%]
tests/test_cmdline.py::test_dev_command[dev 
-r-expected_options1-expected_overrides1] PASSED [ 97%]
tests/test_cmdline.py::test_dev_command[dev -r -C version=\\'1.2.3\\' -C 
other=42-expected_options2-expected_overrides2] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev 
--update-requirements-expected_options3-expected_overrides3] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev 
--test-expected_options4-expected_overrides4] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev --test 
-r-expected_options5-expected_overrides5] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev 
---expected_options6-expected_overrides6] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev -- 
''-expected_options7-expected_overrides7] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev -- 
--test-expected_options8-expected_overrides8] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev --test -- 
--test-expected_options9-expected_overrides9] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev --test -- 
-r-expected_options10-expected_overrides10] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev -r -- 
--test-expected_options11-expected_overrides11] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev -- -y --no 
maybe-expected_options12-expected_overrides12] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev --test -- -y --no 
maybe-expected_options13-expected_overrides13] PASSED [ 98%]
tests/test_cmdline.py::test_dev_command[dev 
--no-run-expected_options14-expected_overrides14] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
-expected_options0-expected_overrides0] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
-r-expected_options1-expected_overrides1] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run -r -C version=\\'1.2.3\\' -C 
other=42-expected_options2-expected_overrides2] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
--update-requirements-expected_options3-expected_overrides3] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
--test-expected_options4-expected_overrides4] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run --test 
-r-expected_options5-expected_overrides5] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
---expected_options6-expected_overrides6] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run -- 
''-expected_options7-expected_overrides7] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run -- 
--test-expected_options8-expected_overrides8] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run --test -- 
--test-expected_options9-expected_overrides9] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run --test -- 
-r-expected_options10-expected_overrides10] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run -r -- 
--test-expected_options11-expected_overrides11] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run -- -y --no 
maybe-expected_options12-expected_overrides12] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run --test -- -y --no 
maybe-expected_options13-expected_overrides13] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
-u-expected_options14-expected_overrides14] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
--update-expected_options15-expected_overrides15] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
--update-resources-expected_options16-expected_overrides16] PASSED [ 98%]
tests/test_cmdline.py::test_run_command[run 
--update-support-expected_options17-expected_overrides17] PASSED [ 99%]
tests/test_cmdline.py::test_run_command[run 
--update-stub-expected_options18-expected_overrides18] PASSED [ 99%]
tests/test_cmdline.py::test_run_command[run 
--no-update-expected_options19-expected_overrides19] PASSED [ 99%]
tests/test_cmdline.py::test_upgrade_command[upgrade-expected_options0-expected_overrides0]
 PASSED [ 99%]
tests/test_cmdline.py::test_upgrade_command[upgrade -C version='1.2.3' -C 
other=42-expected_options1-expected_overrides1] PASSED [ 99%]
tests/test_cmdline.py::test_bare_command PASSED                          [ 99%]
tests/test_cmdline.py::test_linux_default PASSED                         [ 99%]
tests/test_cmdline.py::test_macOS_default SKIPPED (requires macOS)       [ 99%]
tests/test_cmdline.py::test_windows_default SKIPPED (requires Windows)   [ 99%]
tests/test_cmdline.py::test_bare_command_help PASSED                     [ 99%]
tests/test_cmdline.py::test_bare_command_version PASSED                  [ 99%]
tests/test_cmdline.py::test_command_unknown_platform PASSED              [ 99%]
tests/test_cmdline.py::test_command_explicit_platform PASSED             [ 99%]
tests/test_cmdline.py::test_command_explicit_platform_case_handling PASSED [ 
99%]
tests/test_cmdline.py::test_command_explicit_platform_help PASSED        [ 99%]
tests/test_cmdline.py::test_command_explicit_format PASSED               [ 99%]
tests/test_cmdline.py::test_command_unknown_format PASSED                [ 99%]
tests/test_cmdline.py::test_command_explicit_unsupported_format PASSED   [ 99%]
tests/test_cmdline.py::test_command_explicit_format_help PASSED          [ 99%]
tests/test_cmdline.py::test_command_disable_input PASSED                 [ 99%]
tests/test_cmdline.py::test_command_options PASSED                       [ 99%]
tests/test_cmdline.py::test_command_overrides PASSED                     [ 99%]
tests/test_cmdline.py::test_unknown_command_options PASSED               [ 99%]
tests/test_mainline.py::test_help PASSED                                 [ 99%]
tests/test_mainline.py::test_command PASSED                              [ 99%]
tests/test_mainline.py::test_command_warning PASSED                      [ 99%]
tests/test_mainline.py::test_command_error PASSED                        [ 99%]
tests/test_mainline.py::test_unknown_command_error PASSED                [ 99%]
tests/test_mainline.py::test_interrupted_command PASSED                  [ 99%]
tests/test_mainline.py::test_interrupted_command_with_log PASSED         [ 99%]
tests/test_mainline.py::test_test_failure PASSED                         [100%]

=================================== FAILURES ===================================
______________________________ test_merge_problem ______________________________

dummy_command = <tests.platforms.macOS.conftest.DummyInstallCommand object at 
0x7f26aa1962a0>
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_merge_problem0')

    def test_merge_problem(dummy_command, tmp_path):
        "If a binary cannot be merged, an exception is raised."
    
        # Create 2 packages in the "gothic" architecture app package sources
        create_installed_package(tmp_path / "app_packages.gothic", "first", 
"1.2.3")
        create_installed_package(
            tmp_path / "app_packages.gothic",
            "second",
            "2.3.4",
            tag="macOS_11_0_gothic",
            extra_content=[
                ("second/sub1/module1.dylib", "dylib-gothic"),
            ],
        )
        # Create 2 packages in the "modern" architecture app package sources
        # The first package is pure, so it won't exist in the second 
app_packages.
        # The "second" package:
        # - is missing the "other" python file and "module3" dylib
        # - has a "module4" dylib and an "extra" python file in a unique folder.
        create_installed_package(
            tmp_path / "app_packages.modern",
            "second",
            "2.3.4",
            tag="macOS_11_0_modern",
            extra_content=[
                ("second/sub1/module1.dylib", "dylib-modern"),
            ],
        )
    
        # Mock subprocess so that lipo generates an exception
        dummy_command.tools.subprocess.run.side_effect = 
subprocess.CalledProcessError(
            returncode=1, cmd="lipo"
        )
    
        # Merge the two sources into a final location. This will raise an 
exception.
>       with pytest.raises(BriefcaseCommandError, match=r""):
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/platforms/macOS/test_AppPackagesMergeMixin__merge_app_packages.py:195: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/_pytest/raises.py:624: in __init__
    super().__init__(match=match, check=check)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <[AttributeError("'RaisesExc' object has no attribute 
'expected_exceptions'") raised in repr()] RaisesExc object at 0x7f26ab7d9590>

    def __init__(
        self,
        *,
        match: str | Pattern[str] | None,
        check: Callable[[BaseExcT_co], bool] | None,
    ) -> None:
        if isinstance(match, str):
            # juggle error in order to avoid context to fail (necessary?)
            re_error = None
            try:
                self.match: Pattern[str] | None = re.compile(match)
            except re.error as e:
                re_error = e
            if re_error is not None:
                fail(f"Invalid regex pattern provided to 'match': {re_error}")
            if match == "":
>               warnings.warn(
                    PytestWarning(
                        "matching against an empty string will *always* pass. 
If you want "
                        "to check for an empty message you need to pass '^$'. 
If you don't "
                        "want to match you should pass `None` or leave out the 
parameter."
                    ),
                    stacklevel=2,
                )
E               pytest.PytestWarning: matching against an empty string will 
*always* pass. If you want to check for an empty message you need to pass '^$'. 
If you don't want to match you should pass `None` or leave out the parameter.

/usr/lib/python3/dist-packages/_pytest/raises.py:401: PytestWarning
=========================== short test summary info ============================
FAILED 
tests/platforms/macOS/test_AppPackagesMergeMixin__merge_app_packages.py::test_merge_problem
========= 1 failed, 2968 passed, 41 skipped, 174 deselected in 21.26s ==========
E: pybuild pybuild:389: test: plugin pyproject failed with:  
[too-long-redacted] _verify_tools_download_failure'
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:48: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to