[Debian-med-packaging] 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 at debian.org
Thu Oct 4 14:08:44 BST 2018


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 at 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



More information about the Debian-med-packaging mailing list