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

fix: Support falling back to pandas when pyarrow is installed but too old #3387

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

jonmmease
Copy link
Contributor

Closes #3385 by catching RuntimeError along with ImportError in pyarrow_available.

This was a regression introduced in #3244 when the ImportError was swapped out for a RuntimeError without updating pyarrow_available.

@mattijn, could you give this a try to see if it takes care of the issue of an old pyarrow with pandas?

@mattijn
Copy link
Contributor

mattijn commented Mar 26, 2024

How can we report to a user if the version of pyarrow is too low when pandas is explicitly not installed?

@jonmmease jonmmease changed the title Support falling back to pandas when pyarrow is installed but too old fix: Support falling back to pandas when pyarrow is installed but too old Mar 26, 2024
@jonmmease
Copy link
Contributor Author

How can we report to a user if the version of pyarrow is too low when pandas is explicitly not installed?

I guess this is something we would want to work into your PR at #3384

@mattijn
Copy link
Contributor

mattijn commented Mar 26, 2024

Valid point!

@jonmmease
Copy link
Contributor Author

Ready for this to merge @mattijn?

@mattijn
Copy link
Contributor

mattijn commented Mar 28, 2024

I haven't had time to test this, but the fix looks legitimate and appropriate👍

@mattijn mattijn merged commit 2786dd3 into main Mar 28, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

minimum pyarrow version enforced even if pandas is installed
3 participants