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)

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 2018-10-04 15:20 +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>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | 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