Package: src:dacite
Version: 1.9.2-2
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:dacite, 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:317: python3.14 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 :: MIT License

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

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build' (and everything 
under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: 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 :: MIT License

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

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/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:317: python3.14 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 :: MIT License

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

!!
  self._finalize_license_expression()
running config
I: pybuild base:317: 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 :: MIT License

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

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:317: /usr/bin/python3.14 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 :: MIT License

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

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/generics.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/dataclasses.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/config.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/frozen_dict.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/core.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/cache.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/data.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
copying dacite/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/dacite
I: pybuild base:317: /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 :: MIT License

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

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/generics.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/dataclasses.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/config.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/frozen_dict.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/core.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/cache.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/data.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
copying dacite/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/dacite
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False 
min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 
warmup=False warmup_iterations=100000)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build
configfile: pyproject.toml
plugins: benchmark-5.2.3, typeguard-4.4.4
collected 199 items

tests/core/test_base.py ..................                               [  9%]
tests/core/test_collection.py ......................                     [ 20%]
tests/core/test_config.py .................                              [ 28%]
tests/core/test_convert_key.py .                                         [ 29%]
tests/core/test_forward_reference.py ...                                 [ 30%]
tests/core/test_generics.py ...                                          [ 32%]
tests/core/test_init_var.py ...                                          [ 33%]
tests/core/test_literal.py ....                                          [ 35%]
tests/core/test_optional.py ..............                               [ 42%]
tests/core/test_type.py .                                                [ 43%]
tests/core/test_union.py ..F..........                                   [ 49%]
tests/performance/test_from_dict.py ........                             [ 53%]
tests/test_cache.py ..                                                   [ 54%]
tests/test_dataclasses.py ......                                         [ 57%]
tests/test_types.py .................................................... [ 83%]
................................                                         [100%]
Wrote benchmark data in: <_io.BufferedWriter name='benchmark.json'>

Saved benchmark data in: 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build/.benchmarks/Linux-CPython-3.14-64bit/0001_unversioned_20251216_151739.json


=================================== FAILURES ===================================
___________________ test_from_dict_with_union_and_wrong_data ___________________

    def test_from_dict_with_union_and_wrong_data():
        @dataclass
        class X:
            i: Union[int, str]
    
        with pytest.raises(UnionMatchError) as exception_info:
            from_dict(X, {"i": 1.0})
    
>       assert str(exception_info.value) == 'can not match type "float" to any 
> type of "i" union: typing.Union[int, str]'
E       assert 'can not matc...on: int | str' == 'can not matc...ion[int, str]'
E         
E         Skipping 43 identical leading characters in diff, use -v to show
E         - i" union: typing.Union[int, str]
E         + i" union: int | str

tests/core/test_union.py:45: AssertionError

---------------------------------------------------------------------------------------------------
 benchmark: 8 tests 
---------------------------------------------------------------------------------------------------
Name (time in us)                       Min                    Max              
     Mean                StdDev                 Median                 IQR      
      Outliers           OPS            Rounds  Iterations
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_casting                         2.3200 (1.0)          33.5800 (1.0)        
   2.5013 (1.0)          0.4927 (1.0)           2.4600 (1.0)        0.0600 
(1.0)       150;503  399,799.1927 (1.0)       13521           1
test_basic_scenario                 20.4600 (8.82)         55.1900 (1.64)       
  21.2296 (8.49)         1.1935 (2.42)         21.0700 (8.57)       0.3500 
(5.83)       89;200   47,104.0868 (0.12)       4495           1
test_collection_of_union            37.5000 (16.16)       104.9600 (3.13)       
  38.4902 (15.39)        1.5697 (3.19)         38.2400 (15.54)      0.4000 
(6.67)      179;333   25,980.6480 (0.06)       5389           1
test_strict_unions_match           786.9100 (339.19)      833.4100 (24.82)      
 797.6731 (318.91)       7.1304 (14.47)       795.3000 (323.29)     9.2847 
(154.75)     266;18    1,253.6464 (0.00)       1069           1
test_forward_references            789.6300 (340.36)      882.2200 (26.27)      
 801.7723 (320.55)       8.0000 (16.24)       799.7700 (325.11)     9.8800 
(164.67)     224;16    1,247.2369 (0.00)        868           1
test_union_matching                793.8700 (342.19)      851.3000 (25.35)      
 805.3864 (321.99)       7.2636 (14.74)       803.7200 (326.72)     9.5400 
(159.00)     223;19    1,241.6400 (0.00)        889           1
test_type_hooks                    795.9700 (343.09)      856.2590 (25.50)      
 809.2003 (323.52)       7.5573 (15.34)       807.5900 (328.29)     9.8300 
(163.83)     290;22    1,235.7879 (0.00)       1047           1
test_parsing_multiple_items     20,030.7090 (>1000.0)  26,333.3780 (784.20)   
20,493.5606 (>1000.0)  1,034.2565 (>1000.0)  20,293.5790 (>1000.0)  194.4450 
(>1000.0)       3;5       48.7958 (0.00)         49           1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 
1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean
=========================== short test summary info ============================
FAILED tests/core/test_union.py::test_from_dict_with_union_and_wrong_data - a...
======================== 1 failed, 198 passed in 6.97s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dacite/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False 
min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 
warmup=False warmup_iterations=100000)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build
configfile: pyproject.toml
plugins: benchmark-5.2.3, typeguard-4.4.4
collected 199 items

tests/core/test_base.py ..................                               [  9%]
tests/core/test_collection.py ......................                     [ 20%]
tests/core/test_config.py .................                              [ 28%]
tests/core/test_convert_key.py .                                         [ 29%]
tests/core/test_forward_reference.py ...                                 [ 30%]
tests/core/test_generics.py ...                                          [ 32%]
tests/core/test_init_var.py ...                                          [ 33%]
tests/core/test_literal.py ....                                          [ 35%]
tests/core/test_optional.py ..............                               [ 42%]
tests/core/test_type.py .                                                [ 43%]
tests/core/test_union.py .............                                   [ 49%]
tests/performance/test_from_dict.py ........                             [ 53%]
tests/test_cache.py ..                                                   [ 54%]
tests/test_dataclasses.py ......                                         [ 57%]
tests/test_types.py .................................................... [ 83%]
................................                                         [100%]
Wrote benchmark data in: <_io.BufferedWriter name='benchmark.json'>

Saved benchmark data in: 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dacite/build/.benchmarks/Linux-CPython-3.13-64bit/0001_unversioned_20251216_151746.json



-------------------------------------------------------------------------------------------------
 benchmark: 8 tests 
-------------------------------------------------------------------------------------------------
Name (time in us)                       Min                    Max              
     Mean             StdDev                 Median                IQR          
  Outliers           OPS            Rounds  Iterations
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_casting                         2.2710 (1.0)          14.9510 (1.0)        
   2.4266 (1.0)       0.2829 (1.0)           2.4100 (1.0)       0.0600 (1.0)    
   120;566  412,106.7260 (1.0)       19040           1
test_basic_scenario                 19.7610 (8.70)         36.0500 (2.41)       
  20.6599 (8.51)      0.8658 (3.06)         20.5410 (8.52)      0.3610 (6.02)   
   115;172   48,402.9022 (0.12)       4963           1
test_collection_of_union            49.8540 (21.95)        74.4650 (4.98)       
  51.0885 (21.05)     1.4030 (4.96)         50.8440 (21.10)     0.4410 (7.35)   
   210;371   19,573.8771 (0.05)       6380           1
test_forward_references            774.7410 (341.15)      823.3760 (55.07)      
 784.6785 (323.37)    5.3308 (18.84)       783.2420 (325.00)    7.4465 (124.11) 
     297;6    1,274.4074 (0.00)        971           1
test_type_hooks                    781.7220 (344.22)      834.4490 (55.81)      
 791.5412 (326.20)    5.7512 (20.33)       790.2430 (327.90)    7.5890 (126.48) 
    298;15    1,263.3581 (0.00)       1106           1
test_strict_unions_match           784.6250 (345.50)      833.0100 (55.72)      
 793.9744 (327.20)    5.5973 (19.78)       792.1220 (328.68)    7.4200 (123.67) 
    337;19    1,259.4865 (0.00)       1174           1
test_union_matching                787.8960 (346.94)      826.9190 (55.31)      
 797.2223 (328.54)    6.3375 (22.40)       795.3870 (330.04)    9.1755 (152.93) 
     105;4    1,254.3552 (0.00)        424           1
test_parsing_multiple_items     19,534.5670 (>1000.0)  19,852.7170 (>1000.0)  
19,642.3798 (>1000.0)  50.4091 (178.17)   19,639.5930 (>1000.0)  59.5355 
(992.26)       11;1       50.9103 (0.00)         49           1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 
1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean
============================= 199 passed in 6.79s ==============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
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