Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release llvmlite >= 0.41.0 via pip? #974

Closed
rachtsingh opened this issue Aug 5, 2023 · 3 comments
Closed

Release llvmlite >= 0.41.0 via pip? #974

rachtsingh opened this issue Aug 5, 2023 · 3 comments
Labels

Comments

@rachtsingh
Copy link

Installing llvmlite via pip only installs v0.40.1:

pip install --upgrade llvmlite
...
  Downloading llvmlite-0.40.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
...

This would normally not be much of an issue, but the latest numba (0.58.0) requires llvmlite >= 0.41.0dev0, and the latest numba is the only one that supports numpy 1.25. So to upgrade numpy to 1.25, we would need to build llvmlite from scratch, which is somewhat daunting.

@esc
Copy link
Member

esc commented Aug 7, 2023

@rachtsingh thank you for asking about this. When building main branches of Numba and llvmlite these end up being versioned with the first reachable tag using versioneer and git describe. Currently these are 0.58.0dev0 and 0.41.0dev0 respectively. This means, that neither 0.58.0 and 0.41.0 are actually released so there are consequently no artifacts available on PyPi. We do however build development releases (nightlies) and upload them to anaconda.org so that they can be installed using conda from the numba/label/dev channel. You can install a development release of Numba and llvmlite using:

$ conda create -n test-nightlies python=3.11
...
$ conda activate test-nightlies
...
$ conda install -c numba/label/dev numba
...

Will install:

  llvmlite           numba/label/dev/osx-arm64::llvmlite-0.41.0dev0-py311_76
  numba              numba/label/dev/osx-arm64::numba-0.58.0dev0-np1.22py3.11h8833779_g5ef7c86f7_419

We do plan to build "nightlies" to PyPi too at some point but that work is currently not scheduled, so please use conda to install those for now.

Regarding NumPy 1.25 support, the work to support this version has been completed and merged to main:

numba/numba#9105

We are planning to release new versions of Numba and llvmlite soon (Current estimate is to tag a release candidate the week starting 14th of August, but that is an "estimate"). The milestones are here:

....and we will be opening release checklists this week to get the release process going. Keep an eye on the issue tracker if you are interested.

@esc esc closed this as completed Aug 7, 2023
@esc esc added the question label Aug 7, 2023
@rachtsingh
Copy link
Author

Thank you for the detailed response and for specifying your release policy, it is very much appreciated. I'll keep an eye out!

@esc
Copy link
Member

esc commented Aug 8, 2023

@rachtsingh no problem.

FYI: release checklists are out now:

#977

numba/numba#9122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants