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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
warning: pypandoc module not found, could not convert Markdown to RST
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under 
it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
warning: pypandoc module not found, could not convert Markdown to RST
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
warning: pypandoc module not found, could not convert Markdown to RST
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
copying redbaron/syntax_highlight.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
copying redbaron/nodes.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
copying redbaron/redbaron.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
copying redbaron/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
copying redbaron/base_nodes.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
copying redbaron/private_config.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
copying redbaron/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: hypothesis-6.138.0, typeguard-4.4.4
collected 1464 items

tests/test_at.py .                                                       [  0%]
tests/test_bounding_box.py .................................             [  2%]
tests/test_helpers.py ..............................                     [  4%]
tests/test_indentation.py ....                                           [  4%]
tests/test_initial_parsing.py .......................................... [  7%]
........................................................................ [ 12%]
...................................                                      [ 14%]
tests/test_insert.py .............................                       [ 16%]
tests/test_no_pygments.py ........F                                      [ 17%]
tests/test_path.py ............................                          [ 19%]
tests/test_position.py ............................                      [ 21%]
tests/test_proxy_list.py ............................................... [ 24%]
........................................................................ [ 29%]
...........................................................              [ 33%]
tests/test_redbaron.py .....                                             [ 33%]
tests/test_regressions.py ....                                           [ 34%]
tests/test_render.py ....                                                [ 34%]
tests/test_root.py ..                                                    [ 34%]
tests/test_setter.py ................................................... [ 37%]
........................................................................ [ 42%]
........................................................................ [ 47%]
........................................................................ [ 52%]
........................................................................ [ 57%]
........................................................................ [ 62%]
........................................................................ [ 67%]
........................................................................ [ 72%]
........................................................................ [ 77%]
........................................................................ [ 82%]
........................................................................ [ 87%]
........................................................................ [ 92%]
........................................................................ [ 96%]
.............................................                            [100%]

=================================== FAILURES ===================================
________________________________ test_highlight ________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7fe713353e00>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe7132efbb0>

    def test_highlight(capsys, monkeypatch):
        try:
            import pygments  # noqa
        except ImportError:
            pytest.skip('missing pygments.')
        monkeypatch.setattr(redbaron, 'force_ipython_behavior', True)
    
        RedBaron("a = []").help()
        captured = capsys.readouterr()
    
        if tuple(map(int, pytest.__version__.split('.'))) <= (3, 3):
            out = captured[0]
        else:
            out = captured.out
>       assert out == """\
    0 -----------------------------------------------------
    
\x1b[38;5;148mAssignmentNode\x1b[39m\x1b[38;5;197m(\x1b[39m\x1b[38;5;197m)\x1b[39m
    \x1b[38;5;15m  \x1b[39m\x1b[38;5;242m# identifiers: assign, assignment, 
assignment_, assignmentnode\x1b[39m
    \x1b[38;5;15m  
\x1b[39m\x1b[38;5;15moperator\x1b[39m\x1b[38;5;197m=\x1b[39m\x1b[38;5;186m''\x1b[39m
    \x1b[38;5;15m  \x1b[39m\x1b[38;5;15mtarget\x1b[39m\x1b[38;5;15m 
\x1b[39m\x1b[38;5;197m->\x1b[39m
    \x1b[38;5;15m    
\x1b[39m\x1b[38;5;148mNameNode\x1b[39m\x1b[38;5;197m(\x1b[39m\x1b[38;5;197m)\x1b[39m
    \x1b[38;5;15m      \x1b[39m\x1b[38;5;242m# identifiers: name, name_, 
namenode\x1b[39m
    \x1b[38;5;15m      
\x1b[39m\x1b[38;5;15mvalue\x1b[39m\x1b[38;5;197m=\x1b[39m\x1b[38;5;186m'a'\x1b[39m
    \x1b[38;5;15m  \x1b[39m\x1b[38;5;15mannotation\x1b[39m\x1b[38;5;15m 
\x1b[39m\x1b[38;5;197m->\x1b[39m
    \x1b[38;5;15m    \x1b[39m\x1b[38;5;186mNone\x1b[39m
    \x1b[38;5;15m  \x1b[39m\x1b[38;5;15mvalue\x1b[39m\x1b[38;5;15m 
\x1b[39m\x1b[38;5;197m->\x1b[39m
    \x1b[38;5;15m    \x1b[39m\x1b[38;5;15m[\x1b[39m\x1b[38;5;15m]\x1b[39m
    """
E       AssertionError: assert '0 ----------...39m\x1b[39m\n' == '0 
----------...5m]\x1b[39m\n'
E         
E         Skipping 83 identical leading characters in diff, use -v to show
E         - 39m()
E         ?           ^^^              ^^^
E         + 39m()
E         ?           ^^^              ^^^
E         -   # identifiers: assign, assignment, 
assignment_, assignmentnode...
E         
E         ...Full output truncated (35 lines hidden), use '-vv' to show

tests/test_no_pygments.py:56: AssertionError
=============================== warnings summary ===============================
redbaron/base_nodes.py:1256
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/redbaron/base_nodes.py:1256: 
SyntaxWarning: invalid escape sequence '\s'
    if re.match("^\s*%s" % indented_type, string):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_no_pygments.py::test_highlight - AssertionError: assert '0 ...
================== 1 failed, 1463 passed, 1 warning in 3.89s ===================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to