[Python-modules-team] Bug#948422: python-pint ftbfs with Python 3.8

Matthias Klose doko at debian.org
Wed Jan 8 13:20:10 GMT 2020


Package: src:python-pint
Version: 0.9-2
Severity: serious
Tags: sid bullseye

in unstable:

[...]
======================================================================
ERROR: test_nonnumeric_magnitudes
(pint.testsuite.test_quantity.TestQuantityToCompact)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pint/build/pint/testsuite/test_quantity.py",
line 419, in test_nonnumeric_magnitudes
    self.assertRaises(RuntimeError, self.compareQuantity_compact(x,x))
  File "/usr/lib/python3.8/unittest/case.py", line 816, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.8/unittest/case.py", line 202, in handle
    callable_obj(*args, **kwargs)
TypeError: 'NoneType' object is not callable

----------------------------------------------------------------------
Ran 802 tests in 26.214s

FAILED (SKIP=17, errors=1)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pint/build; python3.8 -m nose -v
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.8 3.7"
returned exit code 13
make: *** [debian/rules:6: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Python-modules-team mailing list