Closed adelg003 closed 8 months ago
Thanks for the report.
I fixed the underlying issue in rust_xlsxwriter
(https://github.com/jmcnamara/rust_xlsxwriter/commit/ef6cac015369e8121a4f464951f566ecb6aeb835) back in September and, as you spotted, I prepped polars_excel_writer
but somehow forgot to release it.
I'll update to the latest versions and recheck and I'll push out a version tonight.
I've pushed an updated version (v0.4.0) that is pegged to Polars v0.33.2 (same as rust_xlsxwriter
). There may be some issues with the latest Polars and rust_xlsxwriter
which I need to look into.
I'll leave this open until I do that but at least v0.4.0 should work for now. Let me know if you have any issues.
I've released v0.50.0 which ties polars_excel_writer
to the Polars v0.35.4 which is the version supported by rust_xlsxwriter
. It fixes this issue.
Current behavior
Looks like cargo check / build is returning a trait related error when tying it use version 0.3.0 and 0.2.0 on Crates.io. https://crates.io/crates/polars_excel_writer/versions
Error:
Expected behavior
When installing polars_excel_writer from crates.io, the versions available should be free of the
From<XlsxError> is not implemented for polars::prelude::PolarsError
error.Sample code to reproduce
Use the following version in the Cargo.toml:
or
Environment
Any other information
Ironically, it looks like the current commit (31f09fb3560543a8cdd5bbbfe3eb7a2d3ffc5467) in the main branch does not have this issue.
Version with error from Crates.io:
and
(0.1.0 does not have this error)
Working version from github:
May make sense to update the version present in crates.io with what is current in the main branch and yank versions 0.2.0 and 0.3.0.
If more information is needed, please let me know.