Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #220459

Bug#878498: snakemake FTBFS with Python 3.6 as default

From Andreas Tille <andreas@fam-tille.de>
Newsgroups linux.debian.bugs.rc
Subject Bug#878498: snakemake FTBFS with Python 3.6 as default
Date 2017-12-06 22:20 +0100
Message-ID <uTPgJ-5r0-3@gated-at.bofh.it> (permalink)
References <uAkwN-3w9-1@gated-at.bofh.it> <uAkwN-3w9-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


control: tags -1 help

Hi,

I've upgraded snakemake in Git to latest upstream but its featuring the
same issue.  I'm pretty sure you Python people know a simple answer for
this issue.

Any help would be welcome

      Andreas.

On Sat, Oct 14, 2017 at 05:33:22AM +0300, Adrian Bunk wrote:
> Source: snakemake
> Version: 3.10.0-1
> Severity: serious
> Tags: buster sid
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/snakemake.html
> 
> ...
> ======================================================================
> 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 418, 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-3.10.0/.pybuild/pythonX.Y_3.6/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.535s
> 
> FAILED (errors=1)
> E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /build/1st/snakemake-3.10.0/.pybuild/pythonX.Y_3.6/build; python3.6 -m nose tests
> dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.6 returned exit code 13
> debian/rules:18: recipe for target 'build' failed
> make: *** [build] Error 25
> 
> 
> 
> The problem is the the following line in debian/rules:
> 
>   export PATH:=$(CURDIR)/.pybuild/pythonX.Y_3.5/build/bin:$(PATH)
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#878498: snakemake FTBFS with Python 3.6 as default Adrian Bunk <bunk@debian.org> - 2017-10-14 04:40 +0200
  Bug#878498: snakemake FTBFS with Python 3.6 as default chrysn <chrysn@fsfe.org> - 2017-11-03 12:40 +0100
  Bug#878498: snakemake FTBFS with Python 3.6 as default Andreas Tille <andreas@an3as.eu> - 2017-12-03 19:00 +0100
    Bug#878498: snakemake FTBFS with Python 3.6 as default chrysn <chrysn@fsfe.org> - 2017-12-04 22:40 +0100
  Processed: Re: Bug#878498: snakemake FTBFS with Python 3.6 as default "Debian Bug Tracking System" <owner@bugs.debian.org> - 2017-12-06 22:20 +0100
  Bug#878498: snakemake FTBFS with Python 3.6 as default Andreas Tille <andreas@fam-tille.de> - 2017-12-06 22:20 +0100
  Bug#878498: snakemake FTBFS with Python 3.6 as default Andreas Tille <andreas@an3as.eu> - 2017-12-08 09:30 +0100
    Bug#878498: snakemake FTBFS with Python 3.6 as default chrysn <chrysn@fsfe.org> - 2017-12-10 15:30 +0100
  Bug#878498: snakemake FTBFS with Python 3.6 as default Andreas Tille <tille@debian.org> - 2017-12-11 15:50 +0100
    Bug#878498: snakemake FTBFS with Python 3.6 as default chrysn <chrysn@fsfe.org> - 2017-12-11 23:00 +0100
  Bug#878498: marked as done (snakemake FTBFS with Python 3.6 as  default) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2017-12-12 12:30 +0100

csiph-web