Skip to content

refactor: Remove gc tests #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 29, 2024
Merged

refactor: Remove gc tests #12

merged 6 commits into from
Nov 29, 2024

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented Nov 29, 2024

Description

They live in blobs now, where they belong. See n0-computer/iroh-blobs#23

Breaking Changes

None, just tests

Copy link

github-actions bot commented Nov 29, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-docs/pr/12/docs/iroh_docs/

Last updated: 2024-11-29T16:18:33Z

@@ -83,7 +83,7 @@ parking_lot = "0.12.3"
testresult = "0.4.1"
nested_enum_utils = "0.1.0"
iroh-io = "0.6.1"
testdir = "0.9.1"
testdir = "0.7"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the downgrade?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a wild shot in the dark to get the MSRV test to pass.

Got this in the MSRV test

error: package `cargo-platform v0.1.9` cannot be built because it requires rustc 1.78 or newer, while the currently active rustc version is 1.76.0
Either upgrade to rustc 1.78 or newer, or use
cargo update [email protected] --precise ver
where `ver` is the latest version of `cargo-platform` supporting rustc 1.76.0

and testdir seems to be the culprit

❯ cargo tree -i cargo-platform
cargo-platform v0.1.9
└── cargo_metadata v0.14.2
    └── testdir v0.9.1
        [dev-dependencies]
        └── iroh-docs v0.28.0 (/Users/rklaehn/projects_git/iroh-docs)

So I would have to do some kind of bisect to find out when testdir started using a version of cargo-platform that requires rustc 1.78. Instead I just chose a random number.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @flub

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we checking MSRV on dev-dependencies?

@rklaehn rklaehn merged commit b1b0da0 into main Nov 29, 2024
24 checks passed
@rklaehn rklaehn deleted the remove-gc-tests branch November 29, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants