Unbabel / COMET

A Neural Framework for MT Evaluation
https://unbabel.github.io/COMET/html/index.html
Apache License 2.0
453 stars 72 forks source link

Support pandas 2 #130

Closed BramVanroy closed 1 year ago

BramVanroy commented 1 year ago

🚀 Feature

Comet 1.1.3 supported pandas 2

https://github.com/Unbabel/COMET/blob/0d58039da7861bebd920c890d857e93ec3f8ea12/pyproject.toml#L41

333 but unfortunately major releases are not allowed anymore in comet 2.0.0

https://github.com/Unbabel/COMET/blob/db918c6149c771509adcb427e1cf1c6ca94fd926/pyproject.toml#L41

As far as I can see, the only pandas functionality that is needed is reading simple CSV files:

https://github.com/search?q=repo%3AUnbabel%2FCOMET+pd.&type=code

So I think that allowing for pandas 2 does not break anything.