python-apt fails to build with python 2.7.9 in trusty

Bug #1451531 reported by Matthias Klose on 2015-05-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Debian)
Fix Released
python-apt (Ubuntu)

Bug Description

seen in a test rebuild:

   debian/rules override_dh_auto_test
make[1]: Entering directory `/build/buildd/python-apt-'
set -e; for python in python2.7 python3.4 ; do \
  $python tests/ -q || [ "linux" = "hurd" ]; \
[tests] Running on 2.7.9 (default, Apr 29 2015, 20:22:58) [GCC 4.8.4]
Using library_dir: '/build/buildd/python-apt-'======================================================================
FAIL: test_add_key_from_server_mitm (test_auth.TestAuthKeys)
Verify that the key fingerprint is verified after download
Traceback (most recent call last):
  File "/build/buildd/python-apt-", line 216, in test_add_key_from_server_mitm
AssertionError: recv from 'hkp://localhost:19191' failed for '0101010178F7FE5C3E65D8AF8B48AD6246925553'

Ran 88 tests in 15.236s

FAILED (failures=1)
make[1]: *** [override_dh_auto_test] Error 1

Julian Andres Klode (juliank) wrote :

Not sure what's happening, you might want to try rebuilding it, it's a GPG failure.

Mathew Hodson (mathew-hodson) wrote :

I believe this is the same as this Debian bug

It should be fixed in the package python-apt -

python-apt ( trusty-proposed; urgency=medium

  * Do not only look at Release files, but look at InRelease files as well.
    Change the code to open Release and InRelease files with
    apt_pkg.open_maybe_clear_signed_file() which will ignore the signature if
    it exists. (LP: #1503979)
  * tests/ update for gnupg 1.4.18 (Closes: #755342)

 -- Brian Murray <email address hidden> Wed, 02 Dec 2015 10:51:58 -0800

tags: added: trusty
Changed in python-apt (Ubuntu):
status: Confirmed → Fix Released
Changed in python-apt (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.