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


Groups > linux.debian.maint.python > #10959

Bug#910284: dh_python3 --no-ext-rename does not work (Was: Bug#910284: r-cran-fastcluster does not build Python modules for all supported Python versions)

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#910284: dh_python3 --no-ext-rename does not work (Was: Bug#910284: r-cran-fastcluster does not build Python modules for all supported Python versions)
Date Thu, 04 Oct 2018 15:20:02 +0200
Message-ID <wFby9-5JI-9@gated-at.bofh.it> (permalink)
References <wFaiK-4QM-3@gated-at.bofh.it> <wFb57-5l5-7@gated-at.bofh.it> <wFaiK-4QM-3@gated-at.bofh.it> <wFb57-5l5-7@gated-at.bofh.it>
X-Original-To andreas@fam-tille.de
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Oct 4 13:12:14 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.3
Reply-To Sandro Tosi <morph@debian.org>, 910284@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 910284
X-Debian-Pr-Package src:r-cran-fastcluster
X-Debian-Pr-Keywords help
X-Debian-Pr-Source r-cran-fastcluster
X-Spam-Bayes score:0.0000 Tokens: new, 14; hammy, 150; neutral, 75; spammy, 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--sk:salsad, 0.000-+--sk:salsa.d, 0.000-+--UD:salsa.debian.org, 0.000-+--salsadebianorg
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2IeEx55zoUfvfPaCBMstYWqN+G8CctRWtZwd8qNdO7o=; b=IVMfScbtqXfkIv8TzRogoSlG1ahl03F30rQlVDYYHL3q7SoRh1IhKcrLc4fiv3xdK8 eO6ACIC7/cCCtmRcIDQUczNxmU+qmAGrJLLXGnXaF4Drl6ehbT51XR86gXj/ESSmtcVD QeuiPTUzNn9wKv8yDck4pgMI16sGNDa7Pcq2O8YxjzuSDTAvqydEzOo40TSf9tIAsE2y NO1FMHQYnKDTy76lZ7jwgsX8gnuwKxXWfDz9BGobu8TxrdpjsaONoAZwkAmLq4ZGjsLg 99pXodhr9iN4uhAZtQ0BnZuI6bb7hKNk9EaKVL2+L2WVx8D8Lt4D414ysrasgXoJd6hG tVzw==
X-Gm-Message-State ABuFfoiR9O3SiBAl9LQCJT5fe446Plb/MnA0UdCsIzTDNf1NB/vaaIv7 1+QAf+V0OhOqjnQKG0V1yRgse1hk6EUIpHK7XTM=
X-Google-SMTP-Source ACcGV61BggdJwHUIp1E29xwvgk88Ll9g3t6CRI3Jw7vov9wCqq6kW6qxH0pdO4IwtH1dBpd73aaNcpTD94xXtTlwJJs=
X-Received by 2002:a2e:d11:: with SMTP id 17-v6mr4511219ljn.18.1538658551570; Thu, 04 Oct 2018 06:09:11 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1489497
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 910284@bugs.debian.org, debian-python <debian-python@lists.debian.org>
X-Original-Date Thu, 4 Oct 2018 09:08:44 -0400
X-Original-Message-ID <CAB4XWXwu-6mYrjeqOQZj9S0uvNfnudFiTVMp-kT-VefB-8ZjHQ@mail.gmail.com>
X-Original-References <153865325891.7910.6194958471921876183.reportbug@moose> <20181004122640.c6deuscq2mnnmfnp@an3as.eu> <153865325891.7910.6194958471921876183.reportbug@moose> <20181004122640.c6deuscq2mnnmfnp@an3as.eu>
Xref csiph.com linux.debian.bugs.dist:920959 linux.debian.maint.python:10959

Cross-posted to 2 groups.

Show key headers only | View raw


are you building the package for python3.7 too? you are showing an ls
of an extension built for 3.6 while Gard is using 3.7
On Thu, Oct 4, 2018 at 8:45 AM Andreas Tille <andreas@fam-tille.de> wrote:
>
> Control: tags -1 help
>
> Hi,
>
> I tried to fix the issue reported below by using
>   dh_python3 --no-ext-rename
> (see [1]) but this has no effect and the resulting package just
> contains
>
>   /usr/lib/python3/dist-packages/_fastcluster.cpython-36m-x86_64-linux-gnu.so
>
> Am I missing something?
>
> Kind regards
>
>        Andreas.
>
>
> [1] https://salsa.debian.org/r-pkg-team/r-cran-fastcluster/commit/0f244f584d8e166507cd5e27b6d2cd45047239df
>
> On Thu, Oct 04, 2018 at 01:40:58PM +0200, Gard Spreemann wrote:
> >  $ python3.7
> >  Python 3.7.0 (default, Jun 27 2018, 14:40:03)
> >  [GCC 8.1.0] on linux
> >  Type "help", "copyright", "credits" or "license" for more information.
> >  >>> import fastcluster
> >  Traceback (most recent call last):
> >    File "<stdin>", line 1, in <module>
> >    File "/usr/lib/python3/dist-packages/fastcluster.py", line 37, in <module>
> >      from _fastcluster import linkage_wrap, linkage_vector_wrap
> >  ModuleNotFoundError: No module named '_fastcluster'
>
> --
> http://fam-tille.de
>


-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#910284: dh_python3 --no-ext-rename does not work (Was: Bug#910284: r-cran-fastcluster does not build Python modules for all supported Python versions) Andreas Tille <andreas@fam-tille.de> - 2018-10-04 14:40 +0200
  Bug#910284: dh_python3 --no-ext-rename does not work (Was: Bug#910284: r-cran-fastcluster does not build Python modules for all supported Python versions) Sandro Tosi <morph@debian.org> - 2018-10-04 15:20 +0200
    Bug#910284: dh_python3 --no-ext-rename does not work (Was: Bug#910284: r-cran-fastcluster does not build Python modules for all supported Python versions) Andreas Tille <tille@debian.org> - 2018-10-04 15:30 +0200
  Re: dh_python3 --no-ext-rename does not work (Was: Bug#910284:  r-cran-fastcluster does not build Python modules for all supported Python  versions) Piotr Ożarowski <piotr@debian.org> - 2018-10-04 15:40 +0200
    Re: Bug#910284: dh_python3 --no-ext-rename does not work (Was:  Bug#910284: r-cran-fastcluster does not build Python modules for all  supported Python versions) Andreas Tille <andreas@an3as.eu> - 2018-10-05 11:20 +0200

csiph-web