Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929192

Summary: dev-python/dask-2024.2.1 fails tests: dask/dataframe/io/tests/test_parquet.py::test_parquet_string_roundtrip - ImportError: pyarrow>=10.0.1 is required for PyArrow backed StringArray.
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo, mgorny, python
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 922547    
Bug Blocks: 926582    
Attachments: build.log and emerge --info

Description matoro archtester 2024-04-11 20:41:11 UTC
self = <[AttributeError("'StringDtype' object has no attribute 'storage'") raised in repr()] StringDtype object at 0x7b744f607590>, storage = 'pyarrow'

    def __init__(self, storage=None) -> None:
        if storage is None:
            infer_string = get_option("future.infer_string")
            if infer_string:
                storage = "pyarrow_numpy"
            else:
                storage = get_option("mode.string_storage")
        if storage not in {"python", "pyarrow", "pyarrow_numpy"}:
            raise ValueError(
                f"Storage must be 'python', 'pyarrow' or 'pyarrow_numpy'. "
                f"Got {storage} instead."
            )
        if storage in ("pyarrow", "pyarrow_numpy") and pa_version_under10p1:
>           raise ImportError(
                "pyarrow>=10.0.1 is required for PyArrow backed StringArray."
            )
E           ImportError: pyarrow>=10.0.1 is required for PyArrow backed StringArray.
 
self       = <[AttributeError("'StringDtype' object has no attribute 'storage'") raised in repr()] StringDtype object at 0x7b744f607590>
storage    = 'pyarrow'
 
/usr/lib/python3.11/site-packages/pandas/core/arrays/string_.py:131: ImportError

Reproducible: Always
Comment 1 matoro archtester 2024-04-11 20:42:33 UTC
Created attachment 890469 [details]
build.log and emerge --info