Polars version parsing does not account for pre-releases
stinodego opened this issue · 0 comments
stinodego commented
See Polars test workflow failing here:
https://github.com/pola-rs/polars/actions/runs/7347022628/job/20002755751?pr=13285
Relevant snippet:
.venv/lib/python3.12/site-packages/dataframe_api_compat/polars_standard/column_object.py:13: in <genexpr>
POLARS_VERSION = tuple(int(v) for v in pl.__version__.split("."))
E ValueError: invalid literal for int() with base 10: '3-rc'
The logic does not account for prereleases. This should be solved and the tests in Polars un-skipped (I had to skip them now).