ludwig-ai / ludwig

Low-code framework for building custom LLMs, neural networks, and other AI models
http://ludwig.ai
Apache License 2.0
11.19k stars 1.19k forks source link

Unpin pandas to allow newer versions >= 2.2.0 #3907

Closed arnavgarg1 closed 4 weeks ago

arnavgarg1 commented 10 months ago

Pandas 2.2.0 was released on January 20th, 2024. Unfortunately, this is causing our integration tests to fail: https://github.com/ludwig-ai/ludwig/actions/runs/7614903584/job/20738232785?pr=3906

    from ray.air.util.tensor_extensions.pandas import (
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/ray/air/util/tensor_extensions/pandas.py", line 45, in <module>
    from pandas.io.formats.format import ExtensionArrayFormatter
ImportError: cannot import name 'ExtensionArrayFormatter' from 'pandas.io.formats.format' 

For now, this will be pinned in PR #3906 but we should figure out how to unpin it.