Package: src:deepdiff Version: 8.1.1-4 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:deepdiff, 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 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_deepdiff/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_deepdiff/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 --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_deepdiff/build/deepdiff copying deepdiff/anyset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/diff.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/deephash.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/search.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/distance.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/delta.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/serialization.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/operator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/lfucache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/helper.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/model.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff copying deepdiff/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff running egg_info creating deepdiff.egg-info writing deepdiff.egg-info/PKG-INFO writing dependency_links to deepdiff.egg-info/dependency_links.txt writing entry points to deepdiff.egg-info/entry_points.txt writing requirements to deepdiff.egg-info/requires.txt writing top-level names to deepdiff.egg-info/top_level.txt writing manifest file 'deepdiff.egg-info/SOURCES.txt' reading manifest file 'deepdiff.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' warning: no files found matching 'CHANGELOG' warning: no files found matching '*.rst' warning: no files found matching 'deepdiff/*.rst' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS.md' writing manifest file 'deepdiff.egg-info/SOURCES.txt' copying deepdiff/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff 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_deepdiff/build/deepdiff copying deepdiff/anyset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/diff.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/deephash.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/search.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/distance.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/delta.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/serialization.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/operator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/lfucache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/helper.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/model.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff copying deepdiff/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff running egg_info writing deepdiff.egg-info/PKG-INFO writing dependency_links to deepdiff.egg-info/dependency_links.txt writing entry points to deepdiff.egg-info/entry_points.txt writing requirements to deepdiff.egg-info/requires.txt writing top-level names to deepdiff.egg-info/top_level.txt reading manifest file 'deepdiff.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' warning: no files found matching 'CHANGELOG' warning: no files found matching '*.rst' warning: no files found matching 'deepdiff/*.rst' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS.md' writing manifest file 'deepdiff.egg-info/SOURCES.txt' copying deepdiff/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff dh_auto_test -O--buildsystem=pybuild I: pybuild pybuild:308: cp -a conftest.py /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build; python3.14 -m pytest -k 'not test_polars' ============================= 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_deepdiff/build configfile: pytest.ini plugins: benchmark-5.2.3, typeguard-4.4.4 collected 956 items / 1 deselected / 955 selected tests/test_anyset.py ..... [ 0%] tests/test_cache.py ss.... [ 1%] tests/test_command.py ....................... [ 3%] tests/test_delta.py .............F...................................... [ 9%] ................................................................ [ 15%] tests/test_diff_datetime.py ... [ 16%] tests/test_diff_include_paths.py ............. [ 17%] tests/test_diff_math.py .... [ 17%] tests/test_diff_numpy.py .............. [ 19%] tests/test_diff_other.py ............. [ 20%] tests/test_diff_text.py ................................................ [ 25%] ........................................................................ [ 33%] ..sss...................................................... [ 39%] tests/test_diff_tree.py ..............s [ 40%] tests/test_distance.py ...................................... [ 44%] tests/test_hash.py ..................................................... [ 50%] ................................................ [ 55%] tests/test_helper.py ................................................... [ 60%] ........................................................................ [ 68%] ...................................... [ 72%] tests/test_ignore_order.py .....................sss.s................... [ 77%] ....................................... [ 81%] tests/test_lfucache.py .... [ 81%] tests/test_model.py ...................... [ 83%] tests/test_operators.py ........ [ 84%] tests/test_path.py .................. [ 86%] tests/test_search.py ................................................... [ 91%] .......... [ 92%] tests/test_serialization.py ............................................ [ 97%] ....................... [100%] =================================== FAILURES =================================== _________________ TestBasicsOfDelta.test_simple_set_elem_value _________________ self = <tests.test_delta.TestBasicsOfDelta object at 0x7f55c7de58b0> def test_simple_set_elem_value(self): delta = Delta({}, raise_errors=True) with pytest.raises(DeltaError) as excinfo: delta._simple_set_elem_value( obj=None, elem=None, value=None, action='mayo on salad', path_for_err_reporting=None) assert INVALID_ACTION_WHEN_CALLING_SIMPLE_SET_ELEM.format('mayo on salad') == str(excinfo.value) with pytest.raises(DeltaError) as excinfo: delta._simple_set_elem_value( obj={}, elem={1}, value=None, action=GET, path_for_err_reporting='mypath') > assert str(excinfo.value) in {"Failed to set mypath due to unhashable > type: 'set'", "Failed to set mypath due to 'set' objects are unhashable"} E assert "Failed to set mypath due to cannot use 'set' as a dict key (unhashable type: 'set')" in {"Failed to set mypath due to 'set' objects are unhashable", "Failed to set mypath due to unhashable type: 'set'"} E + where "Failed to set mypath due to cannot use 'set' as a dict key (unhashable type: 'set')" = str(DeltaError("Failed to set mypath due to cannot use 'set' as a dict key (unhashable type: 'set')")) E + where DeltaError("Failed to set mypath due to cannot use 'set' as a dict key (unhashable type: 'set')") = <ExceptionInfo DeltaError("Failed to set mypath due to cannot use 'set' as a dict key (unhashable type: 'set')") tblen=3>.value tests/test_delta.py:196: AssertionError =============================== warnings summary =============================== tests/test_serialization.py:391 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/tests/test_serialization.py:391: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). (7, datetime.datetime.utcnow(), datetime.datetime.fromisoformat), tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff/helper.py:718: PydanticDeprecatedSince211: Accessing the 'model_computed_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. value = getattr(obj, key) tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build/deepdiff/helper.py:718: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. value = getattr(obj, key) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html --------------------------------------------------------------------------------------------------- benchmark: 3 tests -------------------------------------------------------------------------------------------------- Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS (Kops/s) Rounds Iterations ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- test_lfu[items0-3-expected_results0-1.333] 11.4400 (1.0) 9,702.5700 (1.0) 13.6323 (1.0) 116.6554 (1.31) 11.9900 (1.0) 0.3200 (1.0) 1;500 73.3551 (1.0) 6901 1 test_lfu[items1-3-expected_results1-1.666] 14.7000 (1.28) 13,105.9200 (1.35) 16.6140 (1.22) 89.2356 (1.0) 15.2800 (1.27) 0.3490 (1.09) 15;2336 60.1901 (0.82) 24649 1 test_lfu[items2-3-expected_results2-3.333] 19.8300 (1.73) 15,076.4040 (1.55) 21.6610 (1.59) 102.0775 (1.14) 20.5300 (1.71) 0.4390 (1.37) 1;2817 46.1659 (0.63) 21758 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/test_delta.py::TestBasicsOfDelta::test_simple_set_elem_value - a... ===== 1 failed, 944 passed, 10 skipped, 1 deselected, 13 warnings in 5.17s ===== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_deepdiff/build; python3.14 -m pytest -k 'not test_polars' I: pybuild pybuild:308: cp -a conftest.py /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build; python3.13 -m pytest -k 'not test_polars' ============================= 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_deepdiff/build configfile: pytest.ini plugins: benchmark-5.2.3, typeguard-4.4.4 collected 956 items / 1 deselected / 955 selected tests/test_anyset.py ..... [ 0%] tests/test_cache.py ss.... [ 1%] tests/test_command.py ....................... [ 3%] tests/test_delta.py .................................................... [ 9%] ................................................................ [ 15%] tests/test_diff_datetime.py ... [ 16%] tests/test_diff_include_paths.py ............. [ 17%] tests/test_diff_math.py .... [ 17%] tests/test_diff_numpy.py .............. [ 19%] tests/test_diff_other.py ............. [ 20%] tests/test_diff_text.py ................................................ [ 25%] ........................................................................ [ 33%] ..sss...................................................... [ 39%] tests/test_diff_tree.py ..............s [ 40%] tests/test_distance.py ...................................... [ 44%] tests/test_hash.py ..................................................... [ 50%] ................................................ [ 55%] tests/test_helper.py ................................................... [ 60%] ........................................................................ [ 68%] ...................................... [ 72%] tests/test_ignore_order.py .....................sss.s................... [ 77%] ....................................... [ 81%] tests/test_lfucache.py .... [ 81%] tests/test_model.py ...................... [ 83%] tests/test_operators.py ........ [ 84%] tests/test_path.py .................. [ 86%] tests/test_search.py ................................................... [ 91%] .......... [ 92%] tests/test_serialization.py ............................................ [ 97%] ....................... [100%] =============================== warnings summary =============================== tests/test_serialization.py:391 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/tests/test_serialization.py:391: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). (7, datetime.datetime.utcnow(), datetime.datetime.fromisoformat), tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff/helper.py:718: PydanticDeprecatedSince211: Accessing the 'model_computed_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. value = getattr(obj, key) tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic1 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 tests/test_diff_text.py::TestDeepDiffText::test_pydantic2 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_deepdiff/build/deepdiff/helper.py:718: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0. value = getattr(obj, key) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html --------------------------------------------------------------------------------------------------- benchmark: 3 tests -------------------------------------------------------------------------------------------------- Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS (Kops/s) Rounds Iterations ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- test_lfu[items0-3-expected_results0-1.333] 11.9000 (1.0) 32,665.6610 (148.07) 19.4829 (1.17) 456.9537 (55.94) 12.4700 (1.0) 0.3290 (1.10) 2;295 51.3270 (0.85) 5109 1 test_lfu[items1-3-expected_results1-1.666] 15.3510 (1.29) 271.3040 (1.23) 16.5895 (1.0) 8.1691 (1.0) 16.0600 (1.29) 0.3000 (1.0) 167;1153 60.2792 (1.0) 24957 1 test_lfu[items2-3-expected_results2-3.333] 20.5710 (1.73) 220.6140 (1.0) 22.0706 (1.33) 8.6366 (1.06) 21.4310 (1.72) 0.4105 (1.37) 169;1138 45.3092 (0.75) 21920 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 ========== 945 passed, 10 skipped, 1 deselected, 13 warnings in 4.13s ========== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

