rust-data-analysis
rust-data-analysis copied to clipboard
Missing dependencies and dependency versions
I tried pulling the latest version of your repo into a VM where I installed Rust and VS Codium, and on loading the workspace, I had a bunch of very weird errors, which turned out to arise from the fact that somewhere in the tool chain the packages pkg-config and libfontconfig1-dev were required but were not installed on my system. It was not obvious to identify this problem.
When these were installed, Rust analyser generated a few Rust compile-time errors in the crate dependencies, all coming from the anymap crate. It turns out that this was a deliberate breaking change since Rust 1.87 (see E0804: The anymap Soundness Fix in Rust 1.87.0). I tried to find, which crate depends on anymap, but cargo tree -i anymap does not find anything in this repo.
So far, I was able to run at least the first notebook until the end. I will see if anything breaks in other notebooks.
Also, I found that later versions of polars and plotters removed some of the features (such as a fetch() method), so updating the crate versions to remove the E0804 error will not work without patching the notebook code.