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
No Python 3.5 Wheel on PyPI #471
Comments
It will also fail on almost all Ubuntu releases because they ship LLVM that wasn't built using the system default compiler (and passes incompatible flags). |
This also happens to my library and an error log is attached: https://travis-ci.org/yzhao062/pyod/jobs/505039491 It was working with llvmlite 0.27.0 and stops working with llvmlite 0.27.1, although my library does not rely on llvmlite but numba only (numba>=0.35). This only happens to python 3.5 (starting since around 10 hours ago). Thanks for fixing. |
Yes, it happened to me too since today morning. I used Ubuntu 18.04 (which has python 3.6 easily available) and things went well. |
We stopped making wheels for Python 3.5 some time ago, but it is clear we need to start again. The next release of numba (0.43) and llvmlite (0.28) are in process now and will include Python 3.5 wheels. |
@seibert thank you. I see the releases are tagged, do you have an ETA on wheel uploads? If it is helpful for future planning: in my project using Numba (https://github.com/lenskit/lkpy), our Python version support goal is to support the Python version in the last stable (LTS if applicable) release of each of the major distributions (Ubuntu, RHEL/CentOS + EPEL, Debian). Debian Stretch is at Python 3.5. A reasonably short time after Debian Buster is released, will will no longer be supporting Python 3.5 unless specifically requested. |
PSA: To protect your CI from breaking in these circumstances,
(pip >= 18.0) |
@Juanlu001 thanks for the note. Setting this env variable in CI tools takes care of the problem. Just by curiosity, is there any drawbacks of setting this to true? Tried to search online but did not find any documentation on this. Thanks, |
The "drawback" is that you won't live on the bleeding edge and the the latest release, even if it doesn't have a wheel yet. But that is not a real disadvantage, because most people nowadays assume that Python packages come in a pre-compiled fashiion, or at most with some light requirements. I also came here when my CI started failing, so I guess many people is in the same situation. The reality is that I only care about the latest wheel :) |
After going a couple rounds with wheels, we've evolved our procedure to always upload wheels before sdist. Before we changed, we had more than one unlucky person install Numba during the time when we are releasing, and get stuck trying to compile Numba from scratch. :) |
wheels for llvmlite-0.28/python 3.5 are available on pypi. should this be closed? |
Closing since Python 3.5 wheels for the latest release are now available. |
Note that this problem has resurfaced again, 0.32.0 and 0.32.1 have no Python 3.5 artifacts: https://pypi.org/project/llvmlite/0.32.0/#files. I've taken to using |
@eric-wieser thanks for asking about this. I believe that Python 3.5 is no longer supported and hence there are now no wheels for it: #551 |
Not according to this line: Line 183 in 26059d2
There's no |
Ah, it looks like the 3.5 classifier was an error in the 0.32.0 release that was caught in time for 0.32.1. However, only |
@eric-wieser thanks for catching this. We updated the README too here: https://github.com/numba/numba/blob/master/README.rst -- thanks for catching the missing |
@eric-wieser I have created a PR to remedy this situation here: #590 Thanks again for your feedback, it is much appreciated. |
The problem with forgetting |
I think a way to resolve this might be to use post-releases:
|
So quick question, if I'm getting the error from the start of this issue chain, what should I do? I've tried every version that has been mentioned to work for Python 3.5 and nothing works, always getting this error message:
Can anyone help? |
@JckJhns Please try |
@astrojuanlu Hi, it just gives an error saying that there is no such option as --prefer-binary. Any suggestions? |
@Jack-Johns upgrade pip :) |
I've upgraded pip to 20.1.1 yet it still fails to find the llvm-config file... |
@Jack-Johns: Are you using |
@eric-wieser yep after upgrading I used the recommended command and it didn't work. Error log is as follows:
|
I see a mention to You will need to install llvm with your system package manager before trying to |
The latest version of llvmlite on PyPI doesn't have any wheels for Python 3.5. This means if someone tries to install
llvmlite
in a Python 3.5 environment, it will fail unless they happen to also havellvm-config
installed.The text was updated successfully, but these errors were encountered: