Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13105
| Path | csiph.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Juhani Numminen <juhaninumminen0@gmail.com> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.python |
| Subject | Bug#980005: lumpy-sv: lumpyexpress fails with no args |
| Date | Tue, 12 Jan 2021 23:10:02 +0100 |
| Message-ID | <BwA1r-49m-3@gated-at.bofh.it> (permalink) |
| References | <Bwy9k-30B-5@gated-at.bofh.it> <Bwz5o-3yG-15@gated-at.bofh.it> <Bwy9k-30B-5@gated-at.bofh.it> <Bwz5o-3yG-15@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue Jan 12 22:06:10 2021 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -2.35 |
| Reply-To | Juhani Numminen <juhaninumminen0@gmail.com>, 980005@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| X-Debian-Pr-Message | followup 980005 |
| X-Debian-Pr-Package | lumpy-sv |
| X-Debian-Pr-Keywords | help confirmed |
| X-Debian-Pr-Source | lumpy-sv |
| X-Spam-Bayes | score:0.0000 Tokens: new, 39; hammy, 150; neutral, 67; spammy, 0. spammytokens: hammytokens:0.000-+--H*r:TLS1_3, 0.000-+--H*u:78.0, 0.000-+--UD:patch, 0.000-+--numpy, 0.000-+--sk:salsa.d |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=fs+SHovvPGH9XFocakw5du4tuT9c7oy3mmTs7IUeXJk=; b=TZG+GTLWigjdPrS94pPGdZxlwC7z3zkO36A3eC4s347HYrfCfHO8fxVMbDrlI8LRZh Dg1gn2KtRQwyshmERr9lkUF7HK97Qg4QWKnIxbPgLdnrK6IaFgmUUUUq15/ibg7Q/+Nj KDYkKAsabQAyYDe1X8QCQEOjIPxqaGIcN94uw4jE2nHfAJS93DqjYRz44tYnECYJHMpp 5EJOvih1IoGnAL4xRmC0BpMWjsjQexqFB8bdeKx1TQfGsQQ6dpHMJcgP0L6W4pyY8jeh 4yKo8ZNG8eFhT9Z6D5bMn5DFWNcS8d4dapgJPI9jtTNS0hldXEfGWl2ggmgLfTWQY5iA u2Tw== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fs+SHovvPGH9XFocakw5du4tuT9c7oy3mmTs7IUeXJk=; b=s+DAI1xtbbaYXs//StgTh5i0aSaNd0XI6/OqoyViD+u6/b0yLjAsJFscoJ2PgeYzYQ /Z5lsX/EsfhZRlVDAgUnGyKqtUKX1vDiw5LfNT1bR1k+HTlyV23myUlA5EfXRYYXSG4p vPxOiht6IAosconpawTcQVJn9+zwZtX1QEJBLcHSjV1IhSVI5zOXLYL2WvWk9kaEjUfu 3+LDqP9Us8t5tSasdg69RodnScc+y5E5M4u3Efg1UqSHOPQyXFggq/fDc8NWNnMqVS4j iwAYxy5Z5SVDtGs/ndTQpyqYbIEYGGpxZYsKoNpPy3+vxjzD0ko7rZ5Lgqlp5CkPifnj OREw== |
| X-Gm-Message-State | AOAM531lDgxXmW7po66tLYhEOAuGPwkjEbChofS0wl7xHkPhgeMWFqTU 618QXRx78CifvQTayZ8PJqlocAlUWSJKEbfD |
| X-Google-SMTP-Source | ABdhPJx1mba1fYrfhtVBXanW8HFnCxBvVHneTcRXy+4M2ofanjJ6c4xUzjvY7hsdEtlFfRvVIkV29w== |
| X-Received | by 2002:ac2:569e:: with SMTP id 30mr396053lfr.297.1610489050182; Tue, 12 Jan 2021 14:04:10 -0800 (PST) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Language | en-US |
| Content-Transfer-Encoding | 7bit |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1644349 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 36 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 13 Jan 2021 00:04:08 +0200 |
| X-Original-Message-ID | <ff1e7e80-56af-2b34-0a6c-53fdb612c8b5@gmail.com> |
| X-Original-References | <161048192648.3215.17832019956441998304.reportbug@2fa8301b1b93> <20210112210821.GE5326@an3as.eu> <161048192648.3215.17832019956441998304.reportbug@2fa8301b1b93> <20210112210821.GE5326@an3as.eu> |
| Xref | csiph.com linux.debian.bugs.dist:1042267 linux.debian.maint.python:13105 |
Cross-posted to 2 groups.
Show key headers only | View raw
Andreas Tille kirjoitti 12.1.2021 klo 23.08:
> Hi,
>
> I confirm I can reproduce the issue in a minimal chroot while the
> lumpyexpress command prints the help screen as expected. This smells
> like a missing dependency but I do not have any idea which one. It
> seems there is a similar known issue here
>
> https://stackoverflow.com/questions/65028261/attributeerror-module-importlib-has-no-attribute-util-ii
>
> but there is no answer here.
>
> Any idea how to fix this?
>
> Kind regards
>
> Andreas.
It's a change made in debian/patches/lumpyexpress.config.patch.
https://salsa.debian.org/med-team/lumpy-sv/-/commit/e64a65545fbf60c5c98965bc1d00d416b2f9582c#6864ced7557ec33a7ee70c7b0c75b076f84f4fac_24_30
- $PYTHON_TEST -c "import imp; imp.find_module('pysam')"
- $PYTHON_TEST -c "import imp; imp.find_module('numpy')"
+ $PYTHON_TEST -c "import importlib; importlib.util.find_spec('pysam')"
+ $PYTHON_TEST -c "import importlib; importlib.util.find_spec('numpy')"
It's not entirely correct even if it worked: the original causes
a visible error message to alert if one of the required modules does
not exist. The current patch will not cause error messages or the
python check to exit non-zero.
Because it's a Debian context we could rely on dpkg dependencies i.e.
just don't perform this check and comment out the two lines.
--
Juhani
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#980005: lumpy-sv: lumpyexpress fails with no args Andreas Tille <andreas@an3as.eu> - 2021-01-12 22:10 +0100
Bug#980005: lumpy-sv: lumpyexpress fails with no args Juhani Numminen <juhaninumminen0@gmail.com> - 2021-01-12 23:10 +0100
Bug#980005: lumpy-sv: lumpyexpress fails with no args Ken Yamaguchi <debian@knowledgesynthesis.com> - 2021-01-13 00:10 +0100
csiph-web