Bug#1000336: numba: FTBFS with Python 3.10

2022-02-20 Thread Graham Inggs
Hi Diane

On Mon, 21 Feb 2022 at 05:39, Diane Trout  wrote:
> It would... except numpy 1.22 just hit experimental on the 18th. and
> numba isn't compatible with numpy 1.22. I tried adding this to
> d/control,
>
> python3-numpy (<< 1.22),
>
> but my sbuild resolver still picked up numpy from experimental and
> refused to build.

That doesn't sound right.  You should be targeting experimental, but
still building against packages in unstable.  Something like this:

sbuild -d experimental -c unstable-amd64-sbuild ...

Regards
Graham



Bug#1000336: numba: FTBFS with Python 3.10

2022-02-20 Thread Diane Trout
On Sat, 2022-02-19 at 11:02 +0100, Drew Parsons wrote:
> Source: numba
> Followup-For: Bug #1000336
> 
> onetbb is now building (in experimental) for all arches except
> armel and armhf.
> 
> Is it worth at this point to make an upload of numba 0.55 to
> experimental to check that it's building and passing tests for the
> other arches?

It would... except numpy 1.22 just hit experimental on the 18th. and
numba isn't compatible with numpy 1.22. I tried adding this to
d/control, 

python3-numpy (<< 1.22),

but my sbuild resolver still picked up numpy from experimental and
refused to build.

Upstream has a meta bug with the numpy 1.22 issues.
https://github.com/numba/numba/issues/7754



Bug#1000336: numba: FTBFS with Python 3.10

2022-02-19 Thread Drew Parsons
Source: numba
Followup-For: Bug #1000336

onetbb is now building (in experimental) for all arches except
armel and armhf.

Is it worth at this point to make an upload of numba 0.55 to
experimental to check that it's building and passing tests for the
other arches?

Drew



Bug#1000336: numba: FTBFS with Python 3.10

2021-12-22 Thread Diane Trout
On Wed, 2021-12-22 at 22:24 +0530, Nilesh Patra wrote:
> 
> Upstream has mentioned that it has been fixed upstream. Diane, could
> you
> please do the needful and upload?
> 
> Actually because of the current state of numba, several reverse
> depends are FTBFS so it's
> bit urgent to push. Apologies for getting on your nerves, though.


I tried. but numba needs tbb version >= 2021. I tried to update tbb but
ran into problems trying to build it.

I pushed the compatibility patch to a python-3-10-compatibility branch
on salsa for the moment.



signature.asc
Description: This is a digitally signed message part


Bug#1000336: numba: FTBFS with Python 3.10

2021-12-22 Thread Nilesh Patra
Hi all,

On Fri, 10 Dec 2021 08:56:49 +0100 Andreas Tille  wrote:
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py clean 
> ...
>   from distutils import sysconfig
> Traceback (most recent call last):
>   File "/build/numba-0.54.1/setup.py", line 51, in 
> _guard_py_ver()
>   File "/build/numba-0.54.1/setup.py", line 48, in _guard_py_ver
> raise RuntimeError(msg.format(cur_py, min_py, max_py))
> RuntimeError: Cannot install on Python version 3.10.1; only versions 
> >=3.7,<3.10 are supported.
> E: pybuild pybuild:354: clean: plugin distutils failed with: exit code=1: 
> python3.10 setup.py clean 
> 
> 
> Hoping for an upstream fix of #7562 in their tracker now.

Upstream has mentioned that it has been fixed upstream. Diane, could you
please do the needful and upload?

Actually because of the current state of numba, several reverse depends are 
FTBFS so it's
bit urgent to push. Apologies for getting on your nerves, though.

Regards,
Nilesh 


signature.asc
Description: PGP signature


Bug#1000336: numba: FTBFS with Python 3.10

2021-12-10 Thread Andreas Tille
Hi,

I've commited version 0.54.1 to Git since I assume that we have better
chances for Python3.10 support in the more recent upstream version.
Unfortunately the build stops with

dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:237: python3.10 setup.py clean 
...
  from distutils import sysconfig
Traceback (most recent call last):
  File "/build/numba-0.54.1/setup.py", line 51, in 
_guard_py_ver()
  File "/build/numba-0.54.1/setup.py", line 48, in _guard_py_ver
raise RuntimeError(msg.format(cur_py, min_py, max_py))
RuntimeError: Cannot install on Python version 3.10.1; only versions 
>=3.7,<3.10 are supported.
E: pybuild pybuild:354: clean: plugin distutils failed with: exit code=1: 
python3.10 setup.py clean 


Hoping for an upstream fix of #7562 in their tracker now.

I think pushing for Python3.10 in Debian before such packages with lots
of rdepends (specifically python3-pandas) are ported is quite demanding.

Kind regards

   Andreas.

-- 
http://fam-tille.de



Bug#1000336: numba: FTBFS with Python 3.10

2021-11-21 Thread Diane Trout
Thanks for the bug report and the forward,

I'd managed to spot the build failures last night but only read the log
files about why today. I subscribed to the upstream bug report.

Diane


On Sun, 2021-11-21 at 15:55 -0400, Stefano Rivera wrote:
> Source: numba
> Version: 0.52.0-5
> Severity: serious
> Tags: ftbfs upstream
> Justification: FTBFS
> Forwarded: https://github.com/numba/numba/issues/7562
> 
> numba isn't compatible with Python 3.10, yet.
> Upstream is working on it, see
> https://github.com/numba/numba/issues/7562
> 
> setup.py immediately fails with:
> RuntimeError: Cannot install on Python version 3.10.0; only versions
> >=3.6,<3.10 are supported.
> 
> See e.g.
> https://buildd.debian.org/status/fetch.php?pkg=numba=amd64=0.52.0-5%2Bb1=1637478629=0
> 
> SR
> 



Bug#1000336: numba: FTBFS with Python 3.10

2021-11-21 Thread Stefano Rivera
Source: numba
Version: 0.52.0-5
Severity: serious
Tags: ftbfs upstream
Justification: FTBFS
Forwarded: https://github.com/numba/numba/issues/7562

numba isn't compatible with Python 3.10, yet.
Upstream is working on it, see https://github.com/numba/numba/issues/7562

setup.py immediately fails with:
RuntimeError: Cannot install on Python version 3.10.0; only versions 
>=3.6,<3.10 are supported.

See e.g. 
https://buildd.debian.org/status/fetch.php?pkg=numba=amd64=0.52.0-5%2Bb1=1637478629=0

SR