Package: src:black
Version: 25.1.0-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild --with bash-completion
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild --with bash-completion
   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  --verbose
* Building wheel...

[... snipped ...]

        )

tests/test_black.py:1417: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f22bc8d40>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
_____________ BlackTestCase.test_required_version_matches_version ______________

self = <tests.test_black.BlackTestCase 
testMethod=test_required_version_matches_version>

    def test_required_version_matches_version(self) -> None:
>       self.invokeBlack(
            ["--required-version", black.__version__, "-c", "0"],
            exit_code=0,
            ignore_config=True,
        )

tests/test_black.py:1410: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f22a0ab50>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
__________________ BlackTestCase.test_single_file_force_py36 ___________________

self = <tests.test_black.BlackTestCase testMethod=test_single_file_force_py36>

    def test_single_file_force_py36(self) -> None:
        reg_mode = DEFAULT_MODE
        py36_mode = replace(DEFAULT_MODE, target_versions=PY36_VERSIONS)
        source, expected = read_data("miscellaneous", "force_py36")
        with cache_dir() as workspace:
            path = (workspace / "file.py").resolve()
            path.write_text(source, encoding="utf-8")
>           self.invokeBlack([str(path), *PY36_ARGS])

tests/test_black.py:1185: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f23c11ad0>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
___________________ BlackTestCase.test_single_file_force_pyi ___________________

self = <tests.test_black.BlackTestCase testMethod=test_single_file_force_pyi>

    def test_single_file_force_pyi(self) -> None:
        pyi_mode = replace(DEFAULT_MODE, is_pyi=True)
        contents, expected = read_data("miscellaneous", "force_pyi")
        with cache_dir() as workspace:
            path = (workspace / "file.py").resolve()
            path.write_text(contents, encoding="utf-8")
>           self.invokeBlack([str(path), "--pyi"])

tests/test_black.py:1135: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f228df310>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
_________________ BlackTestCase.test_skip_magic_trailing_comma _________________

self = <tests.test_black.BlackTestCase 
testMethod=test_skip_magic_trailing_comma>

    def test_skip_magic_trailing_comma(self) -> None:
        source, _ = read_data("cases", "expression")
        expected, _ = read_data(
            "miscellaneous", "expression_skip_magic_trailing_comma.diff"
        )
        tmp_file = Path(black.dump_to_file(source))
        diff_header = re.compile(
            rf"{re.escape(str(tmp_file))}\t\d\d\d\d-\d\d-\d\d "
            r"\d\d:\d\d:\d\d\.\d\d\d\d\d\d\+\d\d:\d\d"
        )
        try:
>           result = BlackRunner().invoke(
                black.main, ["-C", "--diff", str(tmp_file), 
f"--config={EMPTY_CONFIG}"]
            )

tests/test_black.py:401: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f228f3b60>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
__________________ BlackTestCase.test_skip_source_first_line ___________________

self = <tests.test_black.BlackTestCase testMethod=test_skip_source_first_line>

    def test_skip_source_first_line(self) -> None:
        source, _ = read_data("miscellaneous", "invalid_header")
        tmp_file = Path(black.dump_to_file(source))
        # Full source should fail (invalid syntax at header)
>       self.invokeBlack([str(tmp_file), "--diff", "--check"], exit_code=123)

tests/test_black.py:371: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f22d28230>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
_________________ BlackTestCase.test_spellcheck_pyproject_toml _________________

self = <tests.test_black.BlackTestCase 
testMethod=test_spellcheck_pyproject_toml>

    def test_spellcheck_pyproject_toml(self) -> None:
        test_toml_file = THIS_DIR / "data" / "incorrect_spelling.toml"
>       result = BlackRunner().invoke(
            black.main,
            [
                "--code=print('hello world')",
                "--verbose",
                f"--config={str(test_toml_file)}",
            ],
        )

tests/test_black.py:1514: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f22d2abd0>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
____________________ BlackTestCase.test_src_and_code_fails _____________________

self = <tests.test_black.BlackTestCase testMethod=test_src_and_code_fails>

    def test_src_and_code_fails(self) -> None:
        with cache_dir():
>           self.invokeBlack([".", "-c", "0"], exit_code=1)

tests/test_black.py:1118: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f2324d270>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
__________ BlackTestCase.test_works_in_mono_process_only_environment ___________

self = <tests.test_black.BlackTestCase 
testMethod=test_works_in_mono_process_only_environment>

    @event_loop()
    @patch("concurrent.futures.ProcessPoolExecutor", 
MagicMock(side_effect=OSError))
    def test_works_in_mono_process_only_environment(self) -> None:
        with cache_dir() as workspace:
            for f in [
                (workspace / "one.py").resolve(),
                (workspace / "two.py").resolve(),
            ]:
                f.write_text('print("hello")\n', encoding="utf-8")
>           self.invokeBlack([str(workspace)])

tests/test_black.py:1098: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f2339e800>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
______________________ TestCaching.test_cache_broken_file ______________________

self = <tests.test_black.TestCaching object at 0x7f6f23a69350>

    def test_cache_broken_file(self) -> None:
        mode = DEFAULT_MODE
        with cache_dir() as workspace:
            cache_file = get_cache_file(mode)
            cache_file.write_text("this is not a pickle", encoding="utf-8")
            assert black.Cache.read(mode).file_data == {}
            src = (workspace / "test.py").resolve()
            src.write_text("print('hello')", encoding="utf-8")
>           invokeBlack([str(src)])

tests/test_black.py:2134: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f22690730>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
______________ TestCaching.test_cache_single_file_already_cached _______________

self = <tests.test_black.TestCaching object at 0x7f6f23ad69e0>

    def test_cache_single_file_already_cached(self) -> None:
        mode = DEFAULT_MODE
        with cache_dir() as workspace:
            src = (workspace / "test.py").resolve()
            src.write_text("print('hello')", encoding="utf-8")
            cache = black.Cache.read(mode)
            cache.write([src])
>           invokeBlack([str(src)])

tests/test_black.py:2145: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f233b5a40>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
____________________ TestCaching.test_cache_multiple_files _____________________

self = <tests.test_black.TestCaching object at 0x7f6f23d75eb0>

    @event_loop()
    def test_cache_multiple_files(self) -> None:
        mode = DEFAULT_MODE
        with (
            cache_dir() as workspace,
            patch("concurrent.futures.ProcessPoolExecutor", 
new=ThreadPoolExecutor),
        ):
            one = (workspace / "one.py").resolve()
            one.write_text("print('hello')", encoding="utf-8")
            two = (workspace / "two.py").resolve()
            two.write_text("print('hello')", encoding="utf-8")
            cache = black.Cache.read(mode)
            cache.write([one])
>           invokeBlack([str(workspace)])

tests/test_black.py:2161: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f233b73e0>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
________ TestCaching.test_output_locking_when_writeback_diff[no-color] _________

self = <tests.test_black.TestCaching object at 0x7f6f23c37e50>, color = False

    @pytest.mark.parametrize("color", [False, True], ids=["no-color", 
"with-color"])
    @event_loop()
    def test_output_locking_when_writeback_diff(self, color: bool) -> None:
        with cache_dir() as workspace:
            for tag in range(0, 4):
                src = (workspace / f"test{tag}.py").resolve()
                src.write_text("print('hello')", encoding="utf-8")
            with patch(
                "black.concurrency.Manager", wraps=multiprocessing.Manager
            ) as mgr:
                cmd = ["--diff", str(workspace)]
                if color:
                    cmd.append("--color")
>               invokeBlack(cmd, exit_code=0)

tests/test_black.py:2201: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f233b7890>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
_______ TestCaching.test_output_locking_when_writeback_diff[with-color] ________

self = <tests.test_black.TestCaching object at 0x7f6f23db4050>, color = True

    @pytest.mark.parametrize("color", [False, True], ids=["no-color", 
"with-color"])
    @event_loop()
    def test_output_locking_when_writeback_diff(self, color: bool) -> None:
        with cache_dir() as workspace:
            for tag in range(0, 4):
                src = (workspace / f"test{tag}.py").resolve()
                src.write_text("print('hello')", encoding="utf-8")
            with patch(
                "black.concurrency.Manager", wraps=multiprocessing.Manager
            ) as mgr:
                cmd = ["--diff", str(workspace)]
                if color:
                    cmd.append("--color")
>               invokeBlack(cmd, exit_code=0)

tests/test_black.py:2201: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f233b7cf0>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
____________ TestCaching.test_failed_formatting_does_not_get_cached ____________

self = <tests.test_black.TestCaching object at 0x7f6f23ce2990>

    @event_loop()
    def test_failed_formatting_does_not_get_cached(self) -> None:
        mode = DEFAULT_MODE
        with (
            cache_dir() as workspace,
            patch("concurrent.futures.ProcessPoolExecutor", 
new=ThreadPoolExecutor),
        ):
            failing = (workspace / "failing.py").resolve()
            failing.write_text("not actually python", encoding="utf-8")
            clean = (workspace / "clean.py").resolve()
            clean.write_text('print("hello")\n', encoding="utf-8")
>           invokeBlack([str(workspace)], exit_code=123)

tests/test_black.py:2315: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_black.py:123: in invokeBlack
    runner = BlackRunner()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f228410e0>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
__________________ TestFileCollection.test_invalid_gitignore ___________________

self = <tests.test_black.TestFileCollection object at 0x7f6f23db4450>

    def test_invalid_gitignore(self) -> None:
        path = THIS_DIR / "data" / "invalid_gitignore_tests"
        empty_config = path / "pyproject.toml"
>       result = BlackRunner().invoke(
            black.main, ["--verbose", "--config", str(empty_config), str(path)]
        )

tests/test_black.py:2518: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f2324cc30>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
_______________ TestFileCollection.test_invalid_nested_gitignore _______________

self = <tests.test_black.TestFileCollection object at 0x7f6f23db4550>

    def test_invalid_nested_gitignore(self) -> None:
        path = THIS_DIR / "data" / "invalid_nested_gitignore_tests"
        empty_config = path / "pyproject.toml"
>       result = BlackRunner().invoke(
            black.main, ["--verbose", "--config", str(empty_config), str(path)]
        )

tests/test_black.py:2534: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_black.BlackRunner object at 0x7f6f22691b80>

    def __init__(self) -> None:
>       super().__init__(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/test_black.py:117: TypeError
=========================== short test summary info ============================
FAILED tests/test_black.py::BlackTestCase::test_async_as_identifier - TypeErr...
FAILED tests/test_black.py::BlackTestCase::test_bpo_2142_workaround - TypeErr...
FAILED tests/test_black.py::BlackTestCase::test_broken_symlink - TypeError: C...
FAILED tests/test_black.py::BlackTestCase::test_check_diff_use_together - Typ...
FAILED tests/test_black.py::BlackTestCase::test_cli_unstable - TypeError: Cli...
FAILED tests/test_black.py::BlackTestCase::test_expression_diff - TypeError: ...
FAILED tests/test_black.py::BlackTestCase::test_expression_diff_with_color - ...
FAILED tests/test_black.py::BlackTestCase::test_invalid_cli_regex - TypeError...
FAILED tests/test_black.py::BlackTestCase::test_invalid_config_return_code - ...
FAILED tests/test_black.py::BlackTestCase::test_line_ranges_in_pyproject_toml
FAILED tests/test_black.py::BlackTestCase::test_line_ranges_with_stdin - Type...
FAILED tests/test_black.py::BlackTestCase::test_multi_file_force_py36 - TypeE...
FAILED tests/test_black.py::BlackTestCase::test_multi_file_force_pyi - TypeEr...
FAILED tests/test_black.py::BlackTestCase::test_no_src_fails - TypeError: Cli...
FAILED tests/test_black.py::BlackTestCase::test_piping - TypeError: CliRunner...
FAILED tests/test_black.py::BlackTestCase::test_piping_diff - TypeError: CliR...
FAILED tests/test_black.py::BlackTestCase::test_piping_diff_with_color - Type...
FAILED tests/test_black.py::BlackTestCase::test_preserves_line_endings_via_stdin
FAILED tests/test_black.py::BlackTestCase::test_python37 - TypeError: CliRunn...
FAILED 
tests/test_black.py::BlackTestCase::test_required_version_does_not_match_on_minor_version
FAILED 
tests/test_black.py::BlackTestCase::test_required_version_does_not_match_version
FAILED 
tests/test_black.py::BlackTestCase::test_required_version_matches_partial_version
FAILED tests/test_black.py::BlackTestCase::test_required_version_matches_version
FAILED tests/test_black.py::BlackTestCase::test_single_file_force_py36 - Type...
FAILED tests/test_black.py::BlackTestCase::test_single_file_force_pyi - TypeE...
FAILED tests/test_black.py::BlackTestCase::test_skip_magic_trailing_comma - T...
FAILED tests/test_black.py::BlackTestCase::test_skip_source_first_line - Type...
FAILED tests/test_black.py::BlackTestCase::test_spellcheck_pyproject_toml - T...
FAILED tests/test_black.py::BlackTestCase::test_src_and_code_fails - TypeErro...
FAILED 
tests/test_black.py::BlackTestCase::test_works_in_mono_process_only_environment
FAILED tests/test_black.py::TestCaching::test_cache_broken_file - TypeError: ...
FAILED tests/test_black.py::TestCaching::test_cache_single_file_already_cached
FAILED tests/test_black.py::TestCaching::test_cache_multiple_files - TypeErro...
FAILED 
tests/test_black.py::TestCaching::test_output_locking_when_writeback_diff[no-color]
FAILED 
tests/test_black.py::TestCaching::test_output_locking_when_writeback_diff[with-color]
FAILED 
tests/test_black.py::TestCaching::test_failed_formatting_does_not_get_cached
FAILED tests/test_black.py::TestFileCollection::test_invalid_gitignore - Type...
FAILED tests/test_black.py::TestFileCollection::test_invalid_nested_gitignore
========== 38 failed, 311 passed, 22 skipped, 16 deselected in 19.19s ==========
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest 
--run-optional no_jupyter,no_blackd -k "not (incompatible_with_mypyc)"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.13" returned exit code 13
make: *** [debian/rules:11: 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/202502/

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

Thanks.

Reply via email to