Package: src:python-marshmallow-dataclass
Version: 8.7.1-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-marshmallow-dataclass, 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/marshmallow_dataclass
copying marshmallow_dataclass/lazy_class_attribute.py -> 
build/lib/marshmallow_dataclass
copying marshmallow_dataclass/union_field.py -> build/lib/marshmallow_dataclass
copying marshmallow_dataclass/collection_field.py -> 
build/lib/marshmallow_dataclass
copying marshmallow_dataclass/typing.py -> build/lib/marshmallow_dataclass
copying marshmallow_dataclass/mypy.py -> build/lib/marshmallow_dataclass
copying marshmallow_dataclass/__init__.py -> build/lib/marshmallow_dataclass
copying marshmallow_dataclass/py.typed -> build/lib/marshmallow_dataclass
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/marshmallow_dataclass
copying build/lib/marshmallow_dataclass/lazy_class_attribute.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/union_field.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/py.typed -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/collection_field.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/typing.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/mypy.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/__init__.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
running install_egg_info
running egg_info
creating marshmallow_dataclass.egg-info
writing marshmallow_dataclass.egg-info/PKG-INFO
writing dependency_links to marshmallow_dataclass.egg-info/dependency_links.txt
writing requirements to marshmallow_dataclass.egg-info/requires.txt
writing top-level names to marshmallow_dataclass.egg-info/top_level.txt
writing manifest file 'marshmallow_dataclass.egg-info/SOURCES.txt'
reading manifest file 'marshmallow_dataclass.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'marshmallow_dataclass.egg-info/SOURCES.txt'
Copying marshmallow_dataclass.egg-info to 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass-8.7.1.egg-info
running install_scripts
creating 
build/bdist.linux-x86_64/wheel/marshmallow_dataclass-8.7.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/.tmp-mvi9xj_2/marshmallow_dataclass-8.7.1-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'marshmallow_dataclass/__init__.py'
adding 'marshmallow_dataclass/collection_field.py'
adding 'marshmallow_dataclass/lazy_class_attribute.py'
adding 'marshmallow_dataclass/mypy.py'
adding 'marshmallow_dataclass/py.typed'
adding 'marshmallow_dataclass/typing.py'
adding 'marshmallow_dataclass/union_field.py'
adding 'marshmallow_dataclass-8.7.1.dist-info/licenses/LICENSE'
adding 'marshmallow_dataclass-8.7.1.dist-info/METADATA'
adding 'marshmallow_dataclass-8.7.1.dist-info/WHEEL'
adding 'marshmallow_dataclass-8.7.1.dist-info/top_level.txt'
adding 'marshmallow_dataclass-8.7.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built marshmallow_dataclass-8.7.1-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
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/marshmallow_dataclass
copying build/lib/marshmallow_dataclass/lazy_class_attribute.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/union_field.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/py.typed -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/collection_field.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/typing.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/mypy.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
copying build/lib/marshmallow_dataclass/__init__.py -> 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass
running install_egg_info
running egg_info
writing marshmallow_dataclass.egg-info/PKG-INFO
writing dependency_links to marshmallow_dataclass.egg-info/dependency_links.txt
writing requirements to marshmallow_dataclass.egg-info/requires.txt
writing top-level names to marshmallow_dataclass.egg-info/top_level.txt
reading manifest file 'marshmallow_dataclass.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'marshmallow_dataclass.egg-info/SOURCES.txt'
Copying marshmallow_dataclass.egg-info to 
build/bdist.linux-x86_64/wheel/./marshmallow_dataclass-8.7.1.egg-info
running install_scripts
creating 
build/bdist.linux-x86_64/wheel/marshmallow_dataclass-8.7.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-ijjztm6g/marshmallow_dataclass-8.7.1-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'marshmallow_dataclass/__init__.py'
adding 'marshmallow_dataclass/collection_field.py'
adding 'marshmallow_dataclass/lazy_class_attribute.py'
adding 'marshmallow_dataclass/mypy.py'
adding 'marshmallow_dataclass/py.typed'
adding 'marshmallow_dataclass/typing.py'
adding 'marshmallow_dataclass/union_field.py'
adding 'marshmallow_dataclass-8.7.1.dist-info/licenses/LICENSE'
adding 'marshmallow_dataclass-8.7.1.dist-info/METADATA'
adding 'marshmallow_dataclass-8.7.1.dist-info/WHEEL'
adding 'marshmallow_dataclass-8.7.1.dist-info/top_level.txt'
adding 'marshmallow_dataclass-8.7.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built marshmallow_dataclass-8.7.1-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 113 items

tests/test_annotated.py .                                                [  0%]
tests/test_attribute_copy.py ....                                        [  4%]
tests/test_city_building_examples.py ..                                  [  6%]
tests/test_class_schema.py ...............                               [ 19%]
tests/test_collection.py ..............F.....                            [ 37%]
tests/test_field_for_schema.py .......................x..........        [ 67%]
tests/test_forward_references.py ...........                             [ 76%]
tests/test_memory_leak.py ......                                         [ 82%]
tests/test_optional.py ...                                               [ 84%]
tests/test_post_load.py ..                                               [ 86%]
tests/test_postdump.py ..                                                [ 88%]
tests/test_union.py .............                                        [100%]

=================================== FAILURES ===================================
______________ TestSetField.test_set_only_work_in_hashable_types _______________

self = <tests.test_collection.TestSetField 
testMethod=test_set_only_work_in_hashable_types>

    def test_set_only_work_in_hashable_types(self):
        @dataclass
        class SetIntSet:
            value: Set[Set[int]]
    
        schema = SetIntSet.Schema()
    
        with self.assertRaises(TypeError) as err_info:
            schema.load({"value": {set()}})
>       self.assertEqual(str(err_info.exception), "unhashable type: 'set'")
E       AssertionError: "cannot use 'set' as a set element (unhashable type: 
'set')" != "unhashable type: 'set'"
E       - cannot use 'set' as a set element (unhashable type: 'set')
E       + unhashable type: 'set'

tests/test_collection.py:191: AssertionError
=========================== short test summary info ============================
FAILED 
tests/test_collection.py::TestSetField::test_set_only_work_in_hashable_types
=================== 1 failed, 111 passed, 1 xfailed in 0.25s ===================
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 113 items

tests/test_annotated.py .                                                [  0%]
tests/test_attribute_copy.py ....                                        [  4%]
tests/test_city_building_examples.py ..                                  [  6%]
tests/test_class_schema.py ...............                               [ 19%]
tests/test_collection.py ....................                            [ 37%]
tests/test_field_for_schema.py .......................x..........        [ 67%]
tests/test_forward_references.py ...........                             [ 76%]
tests/test_memory_leak.py ......                                         [ 82%]
tests/test_optional.py ...                                               [ 84%]
tests/test_post_load.py ..                                               [ 86%]
tests/test_postdump.py ..                                                [ 88%]
tests/test_union.py .............                                        [100%]

======================== 112 passed, 1 xfailed in 0.24s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to