cnpryer / huak

My experimental Python package manager.
https://cnpryer.github.io/huak/
MIT License
615 stars 37 forks source link

All tests are failing #879

Closed AtomsForPeace closed 9 months ago

AtomsForPeace commented 9 months ago

Expected Behavior

Tests pass

Actual Behavior

Tests fail

Steps to Reproduce

clone repo cargo test

Version

On master cargo 1.75.0-nightly (df3509237 2023-10-24) rustc 1.75.0-nightly (2f1bd0729 2023-10-27)

System Information

Linux Mint 21.2 Victoria

AtomsForPeace commented 9 months ago

Should have included this:

---- tests::test_run_help stdout ----
thread 'tests::test_run_help' panicked at /home/adam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-cmd-0.4.0/src/spawn.rs:103:27:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- tests::test_update_help stdout ----
thread 'tests::test_update_help' panicked at /home/adam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-cmd-0.4.0/src/spawn.rs:103:27:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- tests::test_test_help stdout ----
thread 'tests::test_test_help' panicked at /home/adam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-cmd-0.4.0/src/spawn.rs:103:27:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- tests::test_version_help stdout ----
thread 'tests::test_version_help' panicked at /home/adam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-cmd-0.4.0/src/spawn.rs:103:27:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- tests::test_version stdout ----
thread 'tests::test_version' panicked at /home/adam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-cmd-0.4.0/src/spawn.rs:103:27:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
cnpryer commented 9 months ago

Hi! Thanks! I need to see if insta-cmd has changed, but unfortunately to run the insta tests you need to have huak installed. Try running cargo install --path crates/huak-cli and then running the tests again.

AtomsForPeace commented 9 months ago

So I ran cargo install --path crates/huak-cli and then I got different errors. That was due to not having python3.10-dev installed. I'm not sure if that helps with the original issue. So now everything works. Thanks!

cnpryer commented 9 months ago

Huh that's interesting. Do you still have the error message?

AtomsForPeace commented 9 months ago

Unfortunately not

cnpryer commented 9 months ago

No problem. I'll try to look into it. Thanks for letting me know.