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


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

Python 3.9 & Numba

Started byDiane Trout <diane@ghic.org>
First post2021-01-19 07:30 +0100
Last post2021-01-19 21:00 +0100
Articles 2 — 2 participants

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


Contents

  Python 3.9 & Numba Diane Trout <diane@ghic.org> - 2021-01-19 07:30 +0100
    Re: Python 3.9 & Numba Graham Inggs <ginggs@debian.org> - 2021-01-19 21:00 +0100

#13110 — Python 3.9 & Numba

FromDiane Trout <diane@ghic.org>
Date2021-01-19 07:30 +0100
SubjectPython 3.9 & Numba
Message-ID<BySGC-6te-3@gated-at.bofh.it>
Hello,

I was trying to update dask & umap-learn both which led to a numba
dependency. Numba is currently broken in Debian unstable because we've
switched to Python 3.9, and the latest release of numba only supports
Python 3.8.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972246

However there's a pull request that was merged upstream that updates
numba to support Python 3.9, 
https://github.com/numba/numba/pull/6579
Unfortunately upstream doesn't feel like there's been enough testing
yet of it for an official release.

(Upstream's full comments
https://github.com/numba/numba/issues/6345#issuecomment-762413345 )

The pull request merged onto the last released version of numba 0.52.0
with just a bit of patch fuzz and a conflict in setup.py over the
version of llvmlite. (Debian has numba 0.51.2 in unstable)

I've run all of numba's test cases using the 3.9 compatibility patch,
all the tests cases for an updated version of python-sparse 0.11.2 [1],
and all the tests cases for dask & dask.distributed  without problem.

There's a bunch of packages that depend on numba and I'm assuming we'd
like to see them in bullseye.

I pushed the work I did to a fork of the numba repository.
https://salsa.debian.org/diane/numba

I'm wondering what we'd like to do next?

Does Mo Zhou want to review the commits to numba? Or should I push them
to the main numba packaging repository? (I'm in the python, science,
and med teams)

I was guessing the most likely path would be to make an experimental
release of numba 0.52.0 with the compatibility patch and then see how
pandas, astro team packages do with it.

But it's a complicated package capable of strange side effects and I
thought we should talk it over first.

Thank you,
Diane Trout

[1] As an aside we also have an out of date version of python-sparse as
we have an out of date upstream url. Discussion
https://github.com/dask/dask/issues/7078
and pypi does list the same location the dask developer told me.
https://github.com/pydata/sparse/
This might be relevant to xarray as they patched around the old version
of sparse 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960380

[toc] | [next] | [standalone]


#13116

FromGraham Inggs <ginggs@debian.org>
Date2021-01-19 21:00 +0100
Message-ID<Bz5ku-5We-5@gated-at.bofh.it>
In reply to#13110
Hi Diane

On Tue, 19 Jan 2021 at 08:04, Diane Trout <diane@ghic.org> wrote:
> Does Mo Zhou want to review the commits to numba? Or should I push them
> to the main numba packaging repository? (I'm in the python, science,
> and med teams)

Numba is orphaned, see #935626, so I think go ahead and adopt the
package and push to the main repo.

> I was guessing the most likely path would be to make an experimental
> release of numba 0.52.0 with the compatibility patch and then see how
> pandas, astro team packages do with it.

Numba is not in testing, so I don't see why you shouldn't upload
directly to unstable.

Packages that optionally depend on numba can upload versions
re-enabling numba support to experimental and see how they fare.

Regards
Graham

[toc] | [prev] | [standalone]


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


csiph-web