[Python-modules-team] Bug#896808: sortedcollections FTBFS: test failures

Adrian Bunk bunk at debian.org
Tue Apr 24 13:18:56 BST 2018


Source: sortedcollections
Version: 0.5.3-1
Severity: serious

Some recent change in unstable makes sortedcollections FTBFS:

https://tests.reproducible-builds.org/debian/history/sortedcollections.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sortedcollections.html

...
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: cd /build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build; python3.6 -m nose tests
.......E.............................................EEE
======================================================================
ERROR: tests.test_itemsorteddict.test_copy
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/tests/test_itemsorteddict.py", line 59, in test_copy
    that = temp.copy()
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/sortedcollections/recipes.py", line 94, in copy
    return self.__class__(self._func, self._load, self.iteritems())
AttributeError: 'ItemSortedDict' object has no attribute '_load'

======================================================================
ERROR: tests.test_valuesorteddict.test_copy
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/tests/test_valuesorteddict.py", line 57, in test_copy
    that = temp.copy()
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/sortedcollections/recipes.py", line 160, in copy
    return self.__class__(self._func, self._load, self.iteritems())
AttributeError: 'ValueSortedDict' object has no attribute '_load'

======================================================================
ERROR: tests.test_valuesorteddict.test_pickle
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/tests/test_valuesorteddict.py", line 63, in test_pickle
    data = pickle.dumps(original)
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/sortedcollections/recipes.py", line 166, in __reduce__
    args = (self._func, self._load, items)
AttributeError: 'ValueSortedDict' object has no attribute '_load'

======================================================================
ERROR: tests.test_valuesorteddict.test_repr
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/tests/test_valuesorteddict.py", line 75, in test_repr
    assert repr(temp) == 'ValueSortedDict(negate, 1000, {})'
  File "/usr/lib/python3/dist-packages/sortedcontainers/sortedlist.py", line 48, in wrapper
    return func(self)
  File "/build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build/sortedcollections/recipes.py", line 177, in __repr__
    repr(self._load),
AttributeError: 'ValueSortedDict' object has no attribute '_load'

----------------------------------------------------------------------
Ran 56 tests in 0.030s

FAILED (errors=4)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /build/1st/sortedcollections-0.5.3/.pybuild/cpython3_3.6_sortedcollections/build; python3.6 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.6 returned exit code 13
make: *** [debian/rules:5: build] Error 25



More information about the Python-modules-team mailing list