Polars plugins should be referenced by .venv relative path #21643
Labels
accepted
Ready for implementation
bug
Something isn't working
good first issue
Good for newcomers
python
Related to Python Polars
Checks
Reproducible example
Hi Polars team and community, thanks in advance for your advice.
pls see below screenshot output of the show_graph(),
Example using polars-ds:
Log output
Issue description
when using custom polars plugins inside Pl.Expr expression, the node uses absolute system path to point to a rust lib to do the operation. (This causes confusing behaviour when serializing such expressions)
Expected behavior
It would be a lot more practical if when serializing pl.Expr graph, such node pointed to a relative path to .venv instead of absolute path. I believe this would make the code portable from one .venv to another if the versions match. (Correct me If I m wrong)
Installed versions
polars: 1.22.0
polars-ds: 0.8.2
The text was updated successfully, but these errors were encountered: