[Python-modules-team] Bug#894107: python-pkginfo FTBFS: test failures

Adrian Bunk bunk at debian.org
Mon Mar 26 14:00:44 UTC 2018


Source: python-pkginfo
Version: 1.4.2-1
Severity: serious

Some recent change in unstable makes python-pkginfo FTBFS:

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

...
======================================================================
FAIL: test_ctor_w_name (pkginfo.tests.test_installed.InstalledTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-pkginfo-1.4.2/pkginfo/tests/test_installed.py", line 76, in test_ctor_w_name
    self.assertEqual(installed.metadata_version, EXPECTED)
AssertionError: u'2.1' != '1.1'

======================================================================
FAIL: test_ctor_w_package (pkginfo.tests.test_installed.InstalledTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-pkginfo-1.4.2/pkginfo/tests/test_installed.py", line 31, in test_ctor_w_package
    self.assertEqual(installed.metadata_version, EXPECTED)
AssertionError: u'2.1' != '1.1'

======================================================================
FAIL: test_w_module (pkginfo.tests.test_utils.Test_get_metadata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-pkginfo-1.4.2/pkginfo/tests/test_utils.py", line 117, in test_w_module
    self.assertEqual(dist.metadata_version, EXPECTED)
AssertionError: u'2.1' != '1.1'

======================================================================
FAIL: test_w_package_name (pkginfo.tests.test_utils.Test_get_metadata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-pkginfo-1.4.2/pkginfo/tests/test_utils.py", line 135, in test_w_package_name
    self.assertEqual(dist.metadata_version, EXPECTED)
AssertionError: u'2.1' != '1.1'

----------------------------------------------------------------------
Ran 149 tests in 2.406s

FAILED (failures=4)
Test failed: <unittest.runner.TextTestResult run=149 errors=0 failures=4>
error: Test failed: <unittest.runner.TextTestResult run=149 errors=0 failures=4>
E: pybuild pybuild:330: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:8: binary] Error 25



More information about the Python-modules-team mailing list