[Debian-med-packaging] Bug#920545: closed by Andreas Tille <tille at debian.org> (Bug#920545: fixed in python-intervaltree-bio 1.0.1-3)

Andreas Tille tille at debian.org
Mon Jan 28 07:36:39 GMT 2019


Control: reopen -1
Control: tags -1 help upstream
Control: forwarded -1 https://github.com/konstantint/intervaltree-bio/issues/8

Hi Paul,

On Sun, Jan 27, 2019 at 09:32:33PM +0100, Paul Gevers wrote:
> Thanks for picking this up so quickly, however...
> 
> On 27-01-2019 00:39, Debian Bug Tracking System wrote:
> > #920545: python-intervaltree breaks python-intervaltree-bio autopkgtest
> 
> the test now fails with the following error, which seems to result from
> the fact that you patched a test file:
> 
> ==================================== ERRORS
> ====================================
>  ERROR collecting
> .pc/offline-test-data.patch/tests/genomeintervaltree_test.py _
> import file mismatch:
> imported module 'genomeintervaltree_test' has this __file__ attribute:
> 
> /tmp/autopkgtest-lxc.ozcajq0h/downtmp/build.kh1/src/.pc/0001-Replace-all-.search-calls-with-.overlap-in-tests-and.patch/tests/genomeintervaltree_test.py
> which is not the same as the test file we want to collect:
> 
> /tmp/autopkgtest-lxc.ozcajq0h/downtmp/build.kh1/src/.pc/offline-test-data.patch/tests/genomeintervaltree_test.py
> HINT: remove __pycache__ / .pyc files and/or use a unique basename for
> your test file modules
> =============================== warnings summary
> ===============================

That's really strange.  I have no idea why this test is fiddling around
with filed in .pc (no idea why a test attempts to work on hidden
directories).  I have forwarded the issue upstream (but for sure any
patch from Debian is welcome.

Kind regards

      Andreas.


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list