Package: src:black
Version: 26.10.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

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

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

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:black, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
src/black/linegen.py:1670: in delimiter_split
    yield from append_comments(leaf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   def append_comments(leaf: Leaf) -> Iterator[Line]:
E   AttributeError: attribute 'append_comments' of 'delimiter_split_env' 
undefined

src/black/linegen.py:1655: AttributeError
=========================== short test summary info ============================
FAILED tests/test_black.py::BlackTestCase::test_check_diff_use_together - Ass...
FAILED tests/test_black.py::BlackTestCase::test_expression_diff - AssertionEr...
FAILED tests/test_black.py::BlackTestCase::test_expression_diff_with_color - ...
FAILED tests/test_black.py::BlackTestCase::test_expression_ff - AttributeErro...
FAILED tests/test_black.py::BlackTestCase::test_multi_file_force_py36 - Asser...
FAILED tests/test_black.py::BlackTestCase::test_pipe_force_py36 - AssertionEr...
FAILED tests/test_black.py::BlackTestCase::test_piping - AssertionError: 123 ...
FAILED tests/test_black.py::BlackTestCase::test_piping_diff - AssertionError:...
FAILED tests/test_black.py::BlackTestCase::test_piping_diff_with_color - Asse...
FAILED tests/test_black.py::BlackTestCase::test_python315 - AttributeError: a...
FAILED tests/test_black.py::BlackTestCase::test_python37 - AttributeError: at...
FAILED tests/test_black.py::BlackTestCase::test_root_logger_not_used_directly
FAILED tests/test_black.py::BlackTestCase::test_single_file_force_py36 - Asse...
FAILED tests/test_black.py::BlackTestCase::test_skip_magic_trailing_comma - A...
FAILED tests/test_format.py::test_line_ranges_line_by_line[basic] - Attribute...
FAILED tests/test_format.py::test_line_ranges_line_by_line[pattern_matching]
========== 16 failed, 197 passed, 37 skipped, 270 deselected in 2.68s ==========
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest 
--run-optional no_jupyter,no_blackd -k "not (incompatible_with_mypyc or 
test_simple_format)"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 
--parallel=1 returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to