-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Python] ERROR: Failed building wheel for pyarrow on Linux #36965
Comments
If you want to use conda, you should use https://anaconda.org/conda-forge/pyarrow . |
Edit - I'll try installing it with conda instead of pip. |
Installing via conda gets the same error as via pip. It's curious that this has been building for the past four months up until today on that Containerfile spec.
|
https://anaconda.org/conda-forge/pyarrow is a binary package. |
That's a very good point. Let me do some digging. |
Looks like this error is actually happening when installing gluonts, which was bringing in pyarrow. Installing pyarrow standalone seems to work just fine with either pip or conda, but it seems installing gluonts from pip tries to build pyarrow even if pyarrow already exists where installing it through conda-forge is content to use the existing binary. More curious, the build this morning pulled the wheel directly:
Where the builds as of this afternoon started pulling pyarrow in as a tar.gz. Seems like perhaps something has happened in PyPi land today and now the source is being downloaded instead of the binary?
It is also reproducible with from current upstream Jupyter image directly: That said, since pyarrow seems to install fine on its own with pip or conda, I'm much less confident that this is an issue with pyarrow and might be something funny today with PyPi and/or gluonts. Switching everything to conda-forge works. I'm happy to help with testing things on PyPi if you'd like but otherwise, I think we can close this. Thanks for walking through this with me. |
I just noticed that gluonts is pulling in an older version (8.0) where standalone is pulling in a newer one (12.0). |
OK. I close this. |
Thanks for the thorough investigation on your end @vwbusguy ! |
Describe the bug, including details regarding any error messages, version, and platform.
Pyarrow stopped building in our CI at some point a few hours ago (though was building this morning) with error
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
Container source reference: https://github.com/ucsb-pstat/pstat-174-container-image
This is based on Jupyter upstream base images for Ubuntu 22.04.
I believe this is a duplicate of #36963 but was asked to file a separate issue since this isn't FreeBSD.
Component(s)
Python
The text was updated successfully, but these errors were encountered: