prefix-dev / reproducible-builds

Testing reproducible builds for the conda ecosystem (using rattler-build)
https://prefix-dev.github.io/reproducible-builds/
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

Add check if cargo is present #162

Open nichmor opened 3 months ago

nichmor commented 3 months ago

When running on clean machine ( without cargo installed ) , repror will fail with a cryptic message

E                                    FileNotFoundError: [WinError 2] The system cannot find the file specified

.pixi\envs\default\Lib\subprocess.py:1538: FileNotFoundError

This is because cargo is not present. My suggestion is that we verify if cargo is indeed present and throw a nice error