Package: python-gnupg
Version: 0.3.5-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

When building in a network-less environment, the package fails to build.
Apparently the new search_keys tests try to connect to online keyservers.

======================================================================
FAIL: test_search_keys (__main__.GPGTestCase)
Test that searching for keys works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_gnupg.py", line 462, in test_search_keys
    self.assertTrue(r)
AssertionError: [] is not true

======================================================================
FAIL: search_keys (gnupg.GPG)
Doctest: gnupg.GPG.search_keys
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for gnupg.GPG.search_keys
  File "/build/buildd/python-gnupg-0.3.5/gnupg.py", line 1063, in search_keys

----------------------------------------------------------------------
File "/build/buildd/python-gnupg-0.3.5/gnupg.py", line 1071, in 
gnupg.GPG.search_keys
Failed example:
    assert result
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest gnupg.GPG.search_keys[5]>", line 1, in <module>
        assert result
    AssertionError
----------------------------------------------------------------------
File "/build/buildd/python-gnupg-0.3.5/gnupg.py", line 1074, in 
gnupg.GPG.search_keys
Failed example:
    assert result
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest gnupg.GPG.search_keys[8]>", line 1, in <module>
        assert result
    AssertionError


----------------------------------------------------------------------
Ran 23 tests in 173.920s

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

--
Dmitry Shachnev

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to