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


Groups > linux.debian.maint.python > #14569 > unrolled thread

Help needed: numpy FTBFS with newer setuptools

Started bySandro Tosi <morph@debian.org>
First post2022-10-31 06:10 +0100
Last post2022-11-01 20:00 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Help needed: numpy FTBFS with newer setuptools Sandro Tosi <morph@debian.org> - 2022-10-31 06:10 +0100
    Re: Help needed: numpy FTBFS with newer setuptools Jochen Sprickerhof <jspricke@debian.org> - 2022-10-31 18:40 +0100
      Re: Help needed: numpy FTBFS with newer setuptools Sandro Tosi <morph@debian.org> - 2022-11-01 20:00 +0100

#14569 — Help needed: numpy FTBFS with newer setuptools

FromSandro Tosi <morph@debian.org>
Date2022-10-31 06:10 +0100
SubjectHelp needed: numpy FTBFS with newer setuptools
Message-ID<FmvdD-jGP-1@gated-at.bofh.it>
Hello,
with the recent upload of setuptools/65.3.0 (and following) in
unstable, numpy FTBFS[1]. The reason is that numpy build system (both
used internally and by other packages) customizes
setuptools/distutils.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020135

Upstream is unwilling[2] to continue patching their build system in
response to setuptools changes. While there may be merit in their
position, this leaves Debian in a state where numpy is unbuildable,
and the freeze is approaching.

[2] https://github.com/numpy/numpy/issues/21114

I tried to look at addressing this problem myself, but i had no luck,
so i'm here to ask for the help of the wider python team to address
this issue.

A build log from my machine is available here[3] (error is at the end
of the page, as usual).

[3] https://paste.debian.net/1259001/

My plan would be, once this is addressed, to package the latest 1.23.4
in experimental, ask for an archive rebuild and later upload 1.23.x to
unstable in time for the freeze. This plan is currently on hold due to
[1].

Thanks in advance for your help!

--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

[toc] | [next] | [standalone]


#14575

FromJochen Sprickerhof <jspricke@debian.org>
Date2022-10-31 18:40 +0100
Message-ID<FmGVr-qPv-21@gated-at.bofh.it>
In reply to#14569

[Multipart message — attachments visible in raw view] — view raw

Hi Sandro,

>with the recent upload of setuptools/65.3.0 (and following) in
>unstable, numpy FTBFS[1]. The reason is that numpy build system (both
>used internally and by other packages) customizes
>setuptools/distutils.
>
>[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020135
>
>Upstream is unwilling[2] to continue patching their build system in
>response to setuptools changes. While there may be merit in their
>position, this leaves Debian in a state where numpy is unbuildable,
>and the freeze is approaching.
>
>[2] https://github.com/numpy/numpy/issues/21114
>
>I tried to look at addressing this problem myself, but i had no luck,
>so i'm here to ask for the help of the wider python team to address
>this issue.
>
>A build log from my machine is available here[3] (error is at the end
>of the page, as usual).
>
>[3] https://paste.debian.net/1259001/
>
>My plan would be, once this is addressed, to package the latest 1.23.4
>in experimental, ask for an archive rebuild and later upload 1.23.x to
>unstable in time for the freeze. This plan is currently on hold due to
>[1].
>
>Thanks in advance for your help!

export SETUPTOOLS_USE_DISTUTILS=stdlib

in debian/rules does make it build for me. Do you consider that a fix?

Cheers Jochen

[toc] | [prev] | [next] | [standalone]


#14580

FromSandro Tosi <morph@debian.org>
Date2022-11-01 20:00 +0100
Message-ID<Fn4Ep-IIq-9@gated-at.bofh.it>
In reply to#14575
> export SETUPTOOLS_USE_DISTUTILS=stdlib
>
> in debian/rules does make it build for me. Do you consider that a fix?

thanks! that worked indeed

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web