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

[Python] Jobs fail if Pyarrow version is not correctly generated due to missing remote dev tags #44803

Open
raulcd opened this issue Nov 21, 2024 · 0 comments

Comments

@raulcd
Copy link
Member

raulcd commented Nov 21, 2024

Describe the bug, including details regarding any error messages, version, and platform.

Sometimes we get some job failures when a contributor makes a PR and their remote git repository does not contain development tags.
The pyarrow generated version on those cases looks like pyarrow-0.1.dev16896+ge3b9892.
An example of this issue can be seen on this comment: #44720 (comment)
and the build fails with:

self = <[AttributeError("'ArrowDtype' object has no attribute 'pyarrow_dtype'") raised in repr()] ArrowDtype object at 0x7f5b9b45f610>
pyarrow_dtype = DataType(int64)

   def __init__(self, pyarrow_dtype: pa.DataType) -> None:
       super().__init__("pyarrow")
       if pa_version_under10p1:
>           raise ImportError("pyarrow>=10.0.1 is required for ArrowDtype")
E           ImportError: pyarrow>=10.0.1 is required for ArrowDtype

on the:

We should find a workaround for those cases instead of having to tell users to push tags to their remote.

Component(s)

Python

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

No branches or pull requests

1 participant