raulcd opened a new issue, #44803:
URL: https://github.com/apache/arrow/issues/44803

   ### 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: 
https://github.com/apache/arrow/pull/44720#issuecomment-2490314967
   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:
   - 
[example-python-minimal-build-fedora-conda](https://github.com/ursacomputing/crossbow/actions/runs/11943636788/job/33293053196)
   - 
[example-python-minimal-build-ubuntu-venv](https://github.com/ursacomputing/crossbow/actions/runs/11943636730/job/33293052678)
   
   We should find a workaround for those cases instead of having to tell users 
to push tags to their remote.
   
   ### Component(s)
   
   Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to