Package: src:napari-svg
Version: 0.2.1-1
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:napari-svg, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild --test-pytest
   dh_auto_clean -O--buildsystem=pybuild -O--test-pytest
   dh_autoreconf_clean -O--buildsystem=pybuild -O--test-pytest
   dh_clean -O--buildsystem=pybuild -O--test-pytest
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild --test-pytest
   dh_update_autotools_config -O--buildsystem=pybuild -O--test-pytest
   dh_autoreconf -O--buildsystem=pybuild -O--test-pytest
   dh_auto_configure -O--buildsystem=pybuild -O--test-pytest
   dh_auto_build -O--buildsystem=pybuild -O--test-pytest
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_napari-svg  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

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

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:55: 
SetuptoolsDeprecationWarning: 'tool.setuptools.license-files' is deprecated in 
favor of 'project.license-files' (available on setuptools>=77.0.0).
!!

        
********************************************************************************

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

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

!!
  _apply_tool_table(dist, config, filename)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

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

        License :: OSI Approved :: BSD License

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

!!
  dist._finalize_license_expression()
/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 :: BSD 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/napari_svg
copying napari_svg/hook_implementations.py -> build/lib/napari_svg
copying napari_svg/xml_to_svg.py -> build/lib/napari_svg
copying napari_svg/layer_to_xml.py -> build/lib/napari_svg
copying napari_svg/_version.py -> build/lib/napari_svg
copying napari_svg/_shape_to_xml.py -> build/lib/napari_svg
copying napari_svg/__init__.py -> build/lib/napari_svg
running egg_info
creating napari_svg.egg-info
writing napari_svg.egg-info/PKG-INFO
writing dependency_links to napari_svg.egg-info/dependency_links.txt
writing entry points to napari_svg.egg-info/entry_points.txt
writing requirements to napari_svg.egg-info/requires.txt
writing top-level names to napari_svg.egg-info/top_level.txt
writing manifest file 'napari_svg.egg-info/SOURCES.txt'
reading manifest file 'napari_svg.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.txt' under directory 'requirements'
warning: no files found matching 'requirements.txt'
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
adding license file 'LICENSE'
writing manifest file 'napari_svg.egg-info/SOURCES.txt'
copying napari_svg/napari.yaml -> build/lib/napari_svg
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/napari_svg
copying build/lib/napari_svg/hook_implementations.py -> 
build/bdist.linux-x86_64/wheel/./napari_svg
copying build/lib/napari_svg/napari.yaml -> 
build/bdist.linux-x86_64/wheel/./napari_svg
copying build/lib/napari_svg/xml_to_svg.py -> 
build/bdist.linux-x86_64/wheel/./napari_svg
copying build/lib/napari_svg/layer_to_xml.py -> 
build/bdist.linux-x86_64/wheel/./napari_svg
copying build/lib/napari_svg/_version.py -> 
build/bdist.linux-x86_64/wheel/./napari_svg
copying build/lib/napari_svg/_shape_to_xml.py -> 
build/bdist.linux-x86_64/wheel/./napari_svg
copying build/lib/napari_svg/__init__.py -> 
build/bdist.linux-x86_64/wheel/./napari_svg
running install_egg_info
Copying napari_svg.egg-info to 
build/bdist.linux-x86_64/wheel/./napari_svg-0.2.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/napari_svg-0.2.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_napari-svg/.tmp-o4w15uy0/napari_svg-0.2.1-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'napari_svg/__init__.py'
adding 'napari_svg/_shape_to_xml.py'
adding 'napari_svg/_version.py'
adding 'napari_svg/hook_implementations.py'
adding 'napari_svg/layer_to_xml.py'
adding 'napari_svg/napari.yaml'
adding 'napari_svg/xml_to_svg.py'
adding 'napari_svg-0.2.1.dist-info/licenses/LICENSE'
adding 'napari_svg-0.2.1.dist-info/METADATA'
adding 'napari_svg-0.2.1.dist-info/WHEEL'
adding 'napari_svg-0.2.1.dist-info/entry_points.txt'
adding 'napari_svg-0.2.1.dist-info/top_level.txt'
adding 'napari_svg-0.2.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built napari_svg-0.2.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   debian/rules execute_before_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
set -e ; for v in $(py3versions -sv) ; do cp -r napari_svg/_tests 
.pybuild/cpython3_${v}_napari-svg/build ; done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild -O--test-pytest
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_napari-svg/build; python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: napari-0.6.4, napari-plugin-engine-0.2.0, zarr-3.1.2, typeguard-4.4.4, 
npe2-0.7.9
collected 54 items

_tests/test_get_writer.py ....                                           [  7%]
_tests/test_write_layer.py ............................................. [ 90%]
....F                                                                    [100%]

=================================== FAILURES ===================================
______________________ test_write_points_with_attributes _______________________

request = <FixtureRequest for <Function test_write_points_with_attributes>>
tmp_path = 
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_write_points_with_attribu0')

    def test_write_points_with_attributes(request, tmp_path):
        data = [
            [0, 0],
            [0, 128],
            [128, 128],
        ]
        size = [16, 20, 24]
        face_color = ['red', 'green', 'blue']
        edge_color = ['cyan', 'magenta', 'yellow']
        edge_width = [0.05, 0.25, 0.5]
>       layer = Points(
            data,
            opacity=0.5,
            size=size,
            face_color=face_color,
            edge_color=edge_color,
            edge_width=edge_width,
            edge_width_is_relative=True,
        )

_tests/test_write_layer.py:202: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <class 'napari.layers.points.points.Points'>
args = ([[0, 0], [0, 128], [128, 128]],)
kwargs = {'edge_color': ['cyan', 'magenta', 'yellow'], 'edge_width': [0.05, 
0.25, 0.5], 'edge_width_is_relative': True, 'face_color': ['red', 'green', 
'blue'], ...}

    def __call__(self, *args, **kwargs):
>       obj = super().__call__(*args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       TypeError: Points.__init__() got an unexpected keyword argument 
'edge_color'. Did you mean 'face_color'?

/usr/lib/python3/dist-packages/napari/layers/base/base.py:111: TypeError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3.13/copy.py:152
  /usr/lib/python3.13/copy.py:152: DeprecationWarning: Pickle, copy, and 
deepcopy support will be removed from itertools in Python 3.14.
    rv = reductor(4)

../../../../../../usr/lib/python3.13/copy.py:262
  /usr/lib/python3.13/copy.py:262: DeprecationWarning: Pickle, copy, and 
deepcopy support will be removed from itertools in Python 3.14.
    y.__setstate__(state)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED _tests/test_write_layer.py::test_write_points_with_attributes - TypeEr...
=================== 1 failed, 53 passed, 2 warnings in 1.82s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_napari-svg/build; python3.13 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to