Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929192 - 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.
Summary: dev-python/dask-2024.2.1 fails tests: dask/dataframe/io/tests/test_parquet.py...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on: 922547
Blocks: 926582
  Show dependency tree
 
Reported: 2024-04-11 20:41 UTC by matoro
Modified: 2024-05-04 03:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,346.07 KB, application/gzip)
2024-04-11 20:42 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
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