Package: src:python-stack-data
Version: 0.6.3-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/202512/

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

Thanks.

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

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

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/stack_data
copying stack_data/version.py -> build/lib/stack_data
copying stack_data/formatting.py -> build/lib/stack_data
copying stack_data/utils.py -> build/lib/stack_data
copying stack_data/core.py -> build/lib/stack_data
copying stack_data/serializing.py -> build/lib/stack_data
copying stack_data/__init__.py -> build/lib/stack_data
running egg_info
writing stack_data.egg-info/PKG-INFO
writing dependency_links to stack_data.egg-info/dependency_links.txt
writing requirements to stack_data.egg-info/requires.txt
writing top-level names to stack_data.egg-info/top_level.txt
reading manifest file 'stack_data.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'stack_data.egg-info/SOURCES.txt'
copying stack_data/py.typed -> build/lib/stack_data
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/stack_data
copying build/lib/stack_data/py.typed -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/version.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/formatting.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/utils.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/core.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/serializing.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/__init__.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
running install_egg_info
Copying stack_data.egg-info to 
build/bdist.linux-x86_64/wheel/./stack_data-0.6.3.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/stack_data-0.6.3.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/.tmp-glfqnehj/stack_data-0.6.3-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'stack_data/__init__.py'
adding 'stack_data/core.py'
adding 'stack_data/formatting.py'
adding 'stack_data/py.typed'
adding 'stack_data/serializing.py'
adding 'stack_data/utils.py'
adding 'stack_data/version.py'
adding 'stack_data-0.6.3.dist-info/licenses/LICENSE.txt'
adding 'stack_data-0.6.3.dist-info/METADATA'
adding 'stack_data-0.6.3.dist-info/WHEEL'
adding 'stack_data-0.6.3.dist-info/top_level.txt'
adding 'stack_data-0.6.3.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built stack_data-0.6.3-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
/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 :: MIT License

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

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
copying stack_data/version.py -> build/lib/stack_data
running egg_info
writing stack_data.egg-info/PKG-INFO
writing dependency_links to stack_data.egg-info/dependency_links.txt
writing requirements to stack_data.egg-info/requires.txt
writing top-level names to stack_data.egg-info/top_level.txt
reading manifest file 'stack_data.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'stack_data.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/stack_data
copying build/lib/stack_data/py.typed -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/version.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/formatting.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/utils.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/core.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/serializing.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
copying build/lib/stack_data/__init__.py -> 
build/bdist.linux-x86_64/wheel/./stack_data
running install_egg_info
Copying stack_data.egg-info to 
build/bdist.linux-x86_64/wheel/./stack_data-0.6.3.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/stack_data-0.6.3.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-dojyvh45/stack_data-0.6.3-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'stack_data/__init__.py'
adding 'stack_data/core.py'
adding 'stack_data/formatting.py'
adding 'stack_data/py.typed'
adding 'stack_data/serializing.py'
adding 'stack_data/utils.py'
adding 'stack_data/version.py'
adding 'stack_data-0.6.3.dist-info/licenses/LICENSE.txt'
adding 'stack_data-0.6.3.dist-info/METADATA'
adding 'stack_data-0.6.3.dist-info/WHEEL'
adding 'stack_data-0.6.3.dist-info/top_level.txt'
adding 'stack_data-0.6.3.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built stack_data-0.6.3-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 21 items

tests/test_core.py ...............                                       [ 71%]
tests/test_formatter.py F.                                               [ 80%]
tests/test_serializer.py .                                               [ 85%]
tests/test_utils.py ...                                                  [100%]

=================================== FAILURES ===================================
_________________________________ test_example _________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7fa3cd4563c0>

    def test_example(capsys):
        from .samples.formatter_example import bar, print_stack1, 
format_stack1, format_frame, f_string, blank_lines
    
        @contextmanager
        def check_example(name):
            yield
            stderr = capsys.readouterr().err
            compare_to_file(stderr, name)
    
        with check_example("variables"):
            try:
                bar()
            except Exception:
                MyFormatter(show_variables=True).print_exception()
    
        with check_example("pygmented"):
            try:
                bar()
            except Exception:
                MyFormatter(pygmented=True).print_exception()
    
        with check_example("plain"):
            MyFormatter().set_hook()
            try:
                bar()
            except Exception:
                sys.excepthook(*sys.exc_info())
    
        with check_example("pygmented_error"):
            h = pygments.highlight
            pygments.highlight = lambda *args, **kwargs: 1/0
            try:
                bar()
            except Exception:
                MyFormatter(pygmented=True).print_exception()
            finally:
                pygments.highlight = h
    
        with check_example("print_stack"):
            print_stack1(MyFormatter())
    
        with check_example("format_stack"):
            formatter = MyFormatter()
            formatted = format_stack1(formatter)
            formatter.print_lines(formatted)
    
        with check_example("format_frame"):
            formatter = BaseFormatter()
            formatted = format_frame(formatter)
            formatter.print_lines(formatted)
    
        if sys.version_info[:2] < (3, 8):
            f_string_suffix = 'old'
        elif not fstring_positions_work():
            f_string_suffix = '3.8'
        else:
            f_string_suffix = 'new'
    
        with check_example(f"f_string_{f_string_suffix}"):
            try:
                f_string()
            except Exception:
                MyFormatter().print_exception()
    
        from .samples.formatter_example import block_right, block_left
    
        with check_example(f"block_right_{'old' if sys.version_info[:2] < (3, 
8) else 'new'}"):
            try:
                block_right()
            except Exception:
                MyFormatter().print_exception()
    
        with check_example(f"block_left_{'old' if sys.version_info[:2] < (3, 8) 
else 'new'}"):
            try:
                block_left()
            except Exception:
                MyFormatter().print_exception()
    
        from .samples import cython_example
    
        with check_example("cython_example"):
            try:
                cython_example.foo()
            except Exception:
                MyFormatter().print_exception()
    
>       with check_example("blank_visible"):
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_formatter.py:119: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.14/contextlib.py:148: in __exit__
    next(self.gen)
tests/test_formatter.py:40: in check_example
    compare_to_file(stderr, name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

text = 'Traceback (most recent call last):\n File "formatter_example.py", line 
85, in blank_lines\n      79 | def blank_lines...     length = len(a)\n      83 
| \n      84 | \n-->   85 |     return a[length]\nIndexError: list index out of 
range\n'
name = 'blank_visible'

    def compare_to_file(text, name):
        if old_pygments and "pygment" in name:
            return
        filename = os.path.join(
            os.path.dirname(__file__),
            'golden_files',
            name + '.txt',
        )
        if os.environ.get('FIX_STACK_DATA_TESTS'):
            string_to_file(text, filename)
        else:
            expected_output = file_to_string(filename)
>           assert text == expected_output
                   ^^^^^^^^^^^^^^^^^^^^^^^
E           AssertionError

tests/utils.py:26: AssertionError
=========================== short test summary info ============================
FAILED tests/test_formatter.py::test_example - AssertionError
========================= 1 failed, 20 passed in 1.60s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 21 items

tests/test_core.py ...............                                       [ 71%]
tests/test_formatter.py ..                                               [ 80%]
tests/test_serializer.py .                                               [ 85%]
tests/test_utils.py ...                                                  [100%]

============================== 21 passed in 1.57s ==============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
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