--- Begin Message ---
Source: deepdiff
Version: 5.6.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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:239: python3.9 setup.py config
> running config
> I: pybuild base:239: python3.10 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:239: /usr/bin/python3.9 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/lfucache.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/commands.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/model.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/base.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/search.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/distance.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/deephash.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/diff.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/path.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/delta.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/helper.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/anyset.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/serialization.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/deepdiff
> copying deepdiff/operator.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/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'
> I: pybuild base:239: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/lfucache.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/commands.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/model.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/base.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/search.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/distance.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/deephash.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/diff.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/path.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/delta.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/helper.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/anyset.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/serialization.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/deepdiff
> copying deepdiff/operator.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/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'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build;
> python3.9 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.12, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 645 items
>
> tests/test_anyset.py ..... [
> 0%]
> tests/test_cache.py ss.... [
> 1%]
> tests/test_command.py ....................... [
> 5%]
> tests/test_delta.py .................................................... [
> 13%]
> ................................. [
> 18%]
> tests/test_diff_math.py .... [
> 19%]
> tests/test_diff_numpy.py ............ [
> 20%]
> tests/test_diff_other.py ......... [
> 22%]
> tests/test_diff_text.py ................................................ [
> 29%]
> ....................................................sss................. [
> 40%]
> ............... [
> 43%]
> tests/test_diff_tree.py .............s [
> 45%]
> tests/test_distance.py ...............................F...... [
> 51%]
> tests/test_hash.py ..................................................... [
> 59%]
> ........................... [
> 63%]
> tests/test_helper.py ................................... [
> 69%]
> tests/test_ignore_order.py ............................................. [
> 76%]
> .................. [
> 78%]
> tests/test_lfucache.py .... [
> 79%]
> tests/test_model.py ..................... [
> 82%]
> tests/test_operators.py .... [
> 83%]
> tests/test_path.py ............ [
> 85%]
> tests/test_search.py ................................................... [
> 93%]
> .......... [
> 94%]
> tests/test_serialization.py ..................................
> [100%]
>
> =================================== FAILURES
> ===================================
> _
> TestDeepDistance.test_get_numeric_types_distance[num11-num21-1-0.002707370659621624]
> _
>
> self = <tests.test_distance.TestDeepDistance object at 0x7f44327d7250>
> num1 = datetime.datetime(2022, 5, 25, 21, 24, 35, 179722)
> num2 = datetime.datetime(2022, 9, 2, 21, 24, 35, 179728), max_ = 1
> expected = 0.002707370659621624
>
> @pytest.mark.parametrize('num1, num2, max_, expected', [
> (10, -10.1, .3, 0.3),
> (datetime.datetime.utcnow(), datetime.datetime.utcnow() +
> datetime.timedelta(days=100), 1, 0.002707370659621624),
> (1589703146.9556487, 1001589703146.9557, 1, 0.9968306702929068),
> (datetime.time(10, 11), datetime.time(12, 11), .5, 0.0447093889716),
> (datetime.timedelta(days=2), datetime.timedelta(12, 11), .5,
> 0.35714415626180646),
> (datetime.date(2018, 1, 1), datetime.date(2020, 1, 10), 1,
> 0.0005013129787148886),
> ])
> def test_get_numeric_types_distance(self, num1, num2, max_, expected):
> result = get_numeric_types_distance(num1, num2, max_)
> > assert abs(expected - result) < 0.0001
> E assert 0.00010156071407768294 < 0.0001
> E + where 0.00010156071407768294 = abs((0.002707370659621624 -
> 0.002605809945543941))
>
> tests/test_distance.py:220: AssertionError
> =========================== short test summary info
> ============================
> FAILED
> tests/test_distance.py::TestDeepDistance::test_get_numeric_types_distance[num11-num21-1-0.002707370659621624]
> =================== 1 failed, 638 passed, 6 skipped in 2.81s
> ===================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build;
> python3.10 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 645 items
>
> tests/test_anyset.py ....s [
> 0%]
> tests/test_cache.py ss.... [
> 1%]
> tests/test_command.py ....................... [
> 5%]
> tests/test_delta.py .................................................... [
> 13%]
> ................................. [
> 18%]
> tests/test_diff_math.py .... [
> 19%]
> tests/test_diff_numpy.py ............ [
> 20%]
> tests/test_diff_other.py ......... [
> 22%]
> tests/test_diff_text.py ................................................ [
> 29%]
> ....................................................sss................. [
> 40%]
> ............... [
> 43%]
> tests/test_diff_tree.py .............s [
> 45%]
> tests/test_distance.py ...............................F...... [
> 51%]
> tests/test_hash.py ..................................................... [
> 59%]
> ........................... [
> 63%]
> tests/test_helper.py ................................... [
> 69%]
> tests/test_ignore_order.py ............................................. [
> 76%]
> .................. [
> 78%]
> tests/test_lfucache.py .... [
> 79%]
> tests/test_model.py ..................... [
> 82%]
> tests/test_operators.py .... [
> 83%]
> tests/test_path.py ............ [
> 85%]
> tests/test_search.py ................................................... [
> 93%]
> .......... [
> 94%]
> tests/test_serialization.py ..................................
> [100%]
>
> =================================== FAILURES
> ===================================
> _
> TestDeepDistance.test_get_numeric_types_distance[num11-num21-1-0.002707370659621624]
> _
>
> self = <tests.test_distance.TestDeepDistance object at 0x7f5b0a6ce5c0>
> num1 = datetime.datetime(2022, 5, 25, 21, 24, 38, 206736)
> num2 = datetime.datetime(2022, 9, 2, 21, 24, 38, 206742), max_ = 1
> expected = 0.002707370659621624
>
> @pytest.mark.parametrize('num1, num2, max_, expected', [
> (10, -10.1, .3, 0.3),
> (datetime.datetime.utcnow(), datetime.datetime.utcnow() +
> datetime.timedelta(days=100), 1, 0.002707370659621624),
> (1589703146.9556487, 1001589703146.9557, 1, 0.9968306702929068),
> (datetime.time(10, 11), datetime.time(12, 11), .5, 0.0447093889716),
> (datetime.timedelta(days=2), datetime.timedelta(12, 11), .5,
> 0.35714415626180646),
> (datetime.date(2018, 1, 1), datetime.date(2020, 1, 10), 1,
> 0.0005013129787148886),
> ])
> def test_get_numeric_types_distance(self, num1, num2, max_, expected):
> result = get_numeric_types_distance(num1, num2, max_)
> > assert abs(expected - result) < 0.0001
> E assert 0.00010156071883559185 < 0.0001
> E + where 0.00010156071883559185 = abs((0.002707370659621624 -
> 0.002605809940786032))
>
> tests/test_distance.py:220: AssertionError
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/clevercsv/_optional.py:14
> /usr/lib/python3/dist-packages/clevercsv/_optional.py:14:
> DeprecationWarning: The distutils package is deprecated and slated for
> removal in Python 3.12. Use setuptools or check PEP 632 for potential
> alternatives
> import distutils.version
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED
> tests/test_distance.py::TestDeepDistance::test_get_numeric_types_distance[num11-num21-1-0.002707370659621624]
> ============= 1 failed, 637 passed, 7 skipped, 1 warning in 2.78s
> ==============
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9
> 3.10" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/05/25/deepdiff_5.6.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---