Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10958 > unrolled thread
| Started by | Andreas Tille <andreas@fam-tille.de> |
|---|---|
| First post | 2018-10-04 14:40 +0200 |
| Last post | 2018-10-05 11:20 +0200 |
| Articles | 5 — 5 participants |
Back to article view | Back to linux.debian.maint.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Andreas Tille <andreas@fam-tille.de> |
|---|---|
| Date | 2018-10-04 14:40 +0200 |
| 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) |
| Message-ID | <wFb57-5l5-7@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Sandro Tosi <morph@debian.org> |
|---|---|
| Date | 2018-10-04 15:20 +0200 |
| Message-ID | <wFby9-5JI-9@gated-at.bofh.it> |
| In reply to | #10958 |
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
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <tille@debian.org> |
|---|---|
| Date | 2018-10-04 15:30 +0200 |
| Message-ID | <wFbRv-5PL-1@gated-at.bofh.it> |
| In reply to | #10959 |
On Thu, Oct 04, 2018 at 09:08:44AM -0400, Sandro Tosi wrote:
> 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
The rules file[1] does not contain any restriction to any specific
Python3 version and thus it should be build for all available versions.
Am I missing something?
Kind regards
Andreas.
[1] https://salsa.debian.org/r-pkg-team/r-cran-fastcluster/blob/master/debian/rules
--
http://fam-tille.de
[toc] | [prev] | [next] | [standalone]
| From | Piotr Ożarowski <piotr@debian.org> |
|---|---|
| Date | 2018-10-04 15:40 +0200 |
| Subject | 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) |
| Message-ID | <wFc1b-5SJ-1@gated-at.bofh.it> |
| In reply to | #10958 |
Control: tags -1 -help
Control: tags -1 patch
> 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
well, --no-ext-rename should not be used for public modules (I cannot
imagine a single case where it's needed in dist-packages so I'll probably
disable it for public modules).
The fix: ;)
========
You're missing python3-all-dev¹ build dependency so pybuild builds only
for the available interpreter, not for all supported ones.
[¹] and python-all-dev to be precise, python-dev covers all 2.X
interpreters, though
--
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2018-10-05 11:20 +0200 |
| Subject | 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) |
| Message-ID | <wFur8-8gI-7@gated-at.bofh.it> |
| In reply to | #10961 |
On Thu, Oct 04, 2018 at 03:34:12PM +0200, Piotr Ożarowski wrote: > You're missing python3-all-dev¹ build dependency so pybuild builds only > for the available interpreter, not for all supported ones. Thanks a lot, Andreas. -- http://fam-tille.de
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web