Your message dated Tue, 10 May 2016 08:26:46 +0000
with message-id <[email protected]>
and subject line done (Add python-debianbts as a dependency in setup/README 
(Closes: #823118))
has caused the Debian Bug report #823118,
regarding dak: setup/README does not mention debianbts dependency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
823118: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823118
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ftp.debian.org
Severity: normal
Tags: patch

When attempting to set up a local copy of dak, I was unable to run the test
suite. A patch is attached that amends the setup instructions.

*** /tmp/term.log
dak@dak:/srv/daksrc$ ./tests/test_all.py 
..................................................EE.......................................EE...................................................
======================================================================
ERROR: test_importing_auto_decruft (test_imports.ImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/daksrc/tests/test_imports.py", line 15, in test_fn
    __import__('dak', fromlist=[cmd])
  File "/srv/daksrc/dak/auto_decruft.py", line 45, in <module>
    from daklib.rm import remove, ReverseDependencyChecker
  File "/srv/daksrc/dak/daklib/rm.py", line 52, in <module>
    import debianbts as bts
ImportError: No module named debianbts

======================================================================
ERROR: test_importing_bts_categorize (test_imports.ImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/daksrc/tests/test_imports.py", line 15, in test_fn
    __import__('dak', fromlist=[cmd])
  File "/srv/daksrc/dak/bts_categorize.py", line 37, in <module>
    import debianbts as bts
ImportError: No module named debianbts

======================================================================
ERROR: test_importing_removals_report (test_imports.ImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/daksrc/tests/test_imports.py", line 15, in test_fn
    __import__('dak', fromlist=[cmd])
  File "/srv/daksrc/dak/removals_report.py", line 22, in <module>
    import debianbts
ImportError: No module named debianbts

======================================================================
ERROR: test_importing_rm (test_imports.ImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/daksrc/tests/test_imports.py", line 15, in test_fn
    __import__('dak', fromlist=[cmd])
  File "/srv/daksrc/dak/rm.py", line 54, in <module>
    from daklib.rm import remove
  File "/srv/daksrc/dak/daklib/rm.py", line 52, in <module>
    import debianbts as bts
ImportError: No module named debianbts

----------------------------------------------------------------------
Ran 144 tests in 0.475s

FAILED (errors=4)
>From f0cb6b1b98c3fc74b0bdda2bf58c7f6585094d5f Mon Sep 17 00:00:00 2001
From: Luke Faraone <[email protected]>
Date: Sat, 30 Apr 2016 21:59:52 +0000
Subject: [PATCH] Add python-debianbts as a dependency in setup/README

Needed to run the test suite:

    ======================================================================
    ERROR: test_importing_rm (test_imports.ImportTestCase)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/srv/daksrc/tests/test_imports.py", line 15, in test_fn
        __import__('dak', fromlist=[cmd])
      File "/srv/daksrc/dak/rm.py", line 54, in <module>
        from daklib.rm import remove
      File "/srv/daksrc/dak/daklib/rm.py", line 52, in <module>
        import debianbts as bts
    ImportError: No module named debianbts

Signed-off-by: Luke Faraone <[email protected]>
---
 setup/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup/README b/setup/README
index fb9298c..d53fb22 100644
--- a/setup/README
+++ b/setup/README
@@ -6,7 +6,7 @@ The following packages are needed for the database:
 and the following packages for dak itself:
  * python-psycopg2 python-sqlalchemy python-apt gnupg dpkg-dev lintian
    binutils-multiarch python-yaml less python-ldap python-pyrss2gen python-rrdtool
-   symlinks python-debian
+   symlinks python-debian python-debianbts
 
 (the schema assumes at least postgresql 9.1; ftpmaster in Debian currently uses
 the postgresql 9.4 version from Debian 8)
-- 
2.7.4


--- End Message ---
--- Begin Message ---
This bug was fixed in Git by Ansgar Burchardt in commit
da4fbbe28dc1be591a90f1ca2bb3894e0e931096:

Add python-debianbts as a dependency in setup/README (Closes: #823118)

Needed to run the test suite:

    ======================================================================
    ERROR: test_importing_rm (test_imports.ImportTestCase)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/srv/daksrc/tests/test_imports.py", line 15, in test_fn
        __import__('dak', fromlist=[cmd])
      File "/srv/daksrc/dak/rm.py", line 54, in <module>
        from daklib.rm import remove
      File "/srv/daksrc/dak/daklib/rm.py", line 52, in <module>
        import debianbts as bts
    ImportError: No module named debianbts

Signed-off-by: Luke Faraone <[email protected]>

--- End Message ---

Reply via email to