Skip to content

Pandas extra feature [parquet] is only available as of version v2 #1700

@mikeweltevrede

Description

@mikeweltevrede

Hi Evidently AI team,

I found an issue in the definition of the dependencies for evidently>=0.4.11. In #885 by @mike0sv, the definition of pandas>=1.3.5 was updated to pandas[parquet]>=1.3.5 so that pyarrow was not a separate dependency. However, this extra feature was only added to pandas as of version 2.0.0. As such, when using pandas<2, this leads to an error when checking the installed dependencies:

Image

As you can see here in version 1.5.3 (last 1.x release), the extra is not yet there: https://github.com/pandas-dev/pandas/blob/2e218d10984e9919f0296931d92ea851c6a6faf5/setup.cfg#L53C1-L57C23. In version 2.0.0, it is there: https://github.com/pandas-dev/pandas/blob/v2.0.0/pyproject.toml#L66.

As such, would it be possible to either revert this change or to handle this more smartly, that either pandas[parquet]>=2.0.0 or pandas>=1.3.5,<2 && pyarrow are required?

Thanks! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions