Skip to content

Conversation

@smoe
Copy link

@smoe smoe commented Nov 2, 2025

Some broken installation of PyArrow may pass the import but then fail upon the retrieval of the version attribute.

  • closes #xxxx (Replace xxxx with the GitHub issue number)

Have not created an issue.

Experiencing this locally while packaging PyArrow for Debian. Found this also mentioned on
https://stackoverflow.com/questions/78417768/pyarrow-version-error-when-importing-pandas-on-jupyter-notebook#:~:text=The%20error%20message%20indicates%20that,doesn't%20resolve%20the%20issue.

Works locally for me, no new feature added beyond compatibility with the latest release of Arrow, see https://github.com/apache/arrow/tags

This is just a casual contribution.

  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Not sure if this small bit already qualifies to be mentioned. Will do if you are so insisting. Was just helping myself locally.

Some broken installation of PyArrow may pass the import but then fail upon the retrieval of the __version__ attribute.
@smoe
Copy link
Author

smoe commented Nov 2, 2025

Saw the "ruff format" error. Tested the file locally with "ruff check" and that went fine.

@smoe
Copy link
Author

smoe commented Nov 2, 2025

Hm. Maybe the patch should be changed to print a warning if the arrow installation is dysfunctional, which otherwise may come as a surprise to the user. I can do that, just kindly direct me if this is wanted or a functional overkill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant