• Help needed: numpy FTBFS with newer setuptools

    From Sandro Tosi@21:1/5 to All on Mon Oct 31 06:10:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jochen Sprickerhof@21:1/5 to All on Mon Oct 31 18:40:01 2022
    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

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmNgB90ACgkQW//cwljm lDP93A//UqcHUB5t7I41tUZFKpPBSJSERujJCfPf2YHWP5wqi26Uc0BrjQqd8N8K IAn5QvDHJUbjIEtXP5utcUjNi0Fb3pRzv3EZEcNsTOpPGid/EmSRpPkVuvAibpQ+ 3EzMceyQdv0cJz44h/hyjOeCETQUWZlyV5LFLsckTwUz2c+W7tZDpRQgcTWZ0PVL TysmJh0zwnmxMv8gBkSduYpamdenDjjRmmLka2kXVp2Jy3m9BGd8ZPJKe/i9tG26 LhjqduZSaDaQ9dboSiVZ8Ytk0mO/Q2aDXw6vn1RZz0DtdXZV5IaYNdSrVdo1WcUK 9yQVoxnVpcY5YW1vKptME+563Q3ISK4Mrr0MZxnrBonRBGlXzC53T9EyJwxMgKXx 1nzuAXKTNIBtl8xtvhqo791XXmuVBt23pxgSckXFXYZHYyYQaCc7xr2gjZWe4D7x xv7B0gM7XMPoJWUQ/HOZYtQTP4U8qSGIBS/BLO2l9ay+8286KEW0HBlciYaI6hRn chDzd8UvCX6JvumDGu+7ACMhm2GXTbsa3C/8bP6xiNT26WWtMP7yHJ8d5eeXLcXU vM40Wl6MN70j9BsCK7H0Z0tWkAW8wIah08qil/stcB1UOvnTUWg40BBVs9zNZSFY SQxCqSA2PJqqeZVCGshX03ToXMBhhajZTdCS4PVeK6V5Ozy2oDc=
    =Owip
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sandro Tosi@21:1/5 to All on Tue Nov 1 20:00:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)