Bug#760488: python-debian: test failures due to updated debian-keyring

Stuart Prescott stuart at debian.org
Thu Sep 4 14:38:41 UTC 2014


Package: python-debian
Version: 0.1.21
Severity: important

After updating the debian-keyring package to version 2014.08.31, the key
that is sued to sign the test data in the test suite is no longer available
resulting in a stack of errors like:

======================================================================
FAIL: test_gpg_info (__main__.TestDeb822)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_deb822.py", line 424, in test_gpg_info
    self.assertEqual(set(result.keys()), set(valid.keys()))
AssertionError: Items in the first set but not the second:
u'NO_PUBKEY'
u'ERRSIG'
Items in the second set but not the first:
'GOODSIG'
'SIG_ID'
'VALIDSIG'

Perhaps python-debian should ship its own key for the test suite and feed that
key to gpgv instead of making the evidently fragile assumption that jsw's key
will be unchanging in the keyring.

cheers
Stuart



More information about the pkg-python-debian-maint mailing list