Open niklasmueboe opened 2 weeks ago
Have you tried adding the "dtype-categorical" feature? Things should ideally compile as-is, but it's possible to nudge it along.
Then I get
error[E0432]: unresolved import `polars_core::datatypes::create_enum_data_type` --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-polars-0.17.0/src/types.rs:6:5 | 6 | use polars_core::datatypes::create_enum_data_type; | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------- | | | | | help: a similar name exists in the module: `create_enum_dtype` | no `create_enum_data_type` in `datatypes`
Try pinning to Polars 0.43.0, and enabling the "futures" feature in polars?
They seem to have forgotten to update the pyo3 polars crate to support polars 0.43.1.
0.43.0
complains no feature futures for polars for me. I had to downgrade to 0.42.0 for poalrs and 0.16.1 for pyo3-polars :/ note this error occured for me from within maturin, not rust analyzer
Using pyo3-polars 0.17 with the dtype-categorical feature for polars seems to lead to compilation errors. Using pyo3-polars 0.15 works fine.