[Debian-med-packaging] Bug#894213: snakemake FTBFS with dh-python >= 3.20180313

Adrian Bunk bunk at debian.org
Tue Mar 27 12:39:01 UTC 2018


Source: snakemake
Version: 4.3.1-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/snakemake.html

...
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:267: chmod +x /build/1st/snakemake-4.3.1/bin/snakemake; cp -r /build/1st/snakemake-4.3.1/bin /build/1st/snakemake-4.3.1/tests /build/1st/snakemake-4.3.1/.pybuild/cpython3_3.6_snakemake/build
I: pybuild base:217: cd /build/1st/snakemake-4.3.1/.pybuild/cpython3_3.6_snakemake/build; python3.6 -m nose tests
..Building DAG of jobs...
Provided cores: 1
Rules claiming more threads will be scaled down.
Job counts:
	count	jobs
	1	1
	1

rule 1:
    output: result.txt
    jobid: 0

Finished job 0.
1 of 1 steps (100%) done
.E
======================================================================
ERROR: Failure: Exception (snakemake not in PATH. For testing, install snakemake with 'pip install -e .'. You should do this in a separate environment (via conda or virtualenv).)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.6/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.6/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/build/1st/snakemake-4.3.1/.pybuild/cpython3_3.6_snakemake/build/tests/tests.py", line 21, in <module>
    raise Exception("snakemake not in PATH. For testing, install snakemake with "
Exception: snakemake not in PATH. For testing, install snakemake with 'pip install -e .'. You should do this in a separate environment (via conda or virtualenv).

----------------------------------------------------------------------
Ran 4 tests in 0.457s

FAILED (errors=1)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /build/1st/snakemake-4.3.1/.pybuild/cpython3_3.6_snakemake/build; python3.6 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.6 returned exit code 13
make: *** [debian/rules:18: build] Error 25



More information about the Debian-med-packaging mailing list