-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ci: reflect to clap updates #11578
ci: reflect to clap updates #11578
Conversation
r? @epage (rustbot has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As for other tests, I want to add in-source snapshotting to snapbox but need a feature from cargo first (and am distracted by toml).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the clap requirement so local lockfiles are forced to update?
Done. Sorry for forgetting doing that 😆 |
Just beware that updating the requirement might incur some difficulties updating in rust-lang/rust. That introduces the |
To unblock Cargo's own CI pipeline, I suggest not updating Cargo.toml at this moment. Does it sound OK to you, @epage? |
If we don't update the lock file, the tests will fail depending on what version you are using. If we can't upgrade the clap version at this time, it seems like what we really should be doing is committing a lock file. Always testing the latest doesn't help the rust repo at all because we could be depending on features that aren't in their lockfile. Always testing the latest also runs into these kinds of issues. |
I would suggest moving forward with this now (w/updating Cargo.toml), and deal with the upstream update over the next week. We can let Mark know that it is blocking cargo updates. A shorter term workaround if that gets delayed is to update |
@bors r+ |
💔 Test failed - checks-actions |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@bors r=epage |
💔 Test failed - checks-actions |
@bors retry https://github.com/rust-lang/cargo/actions/runs/3917884106/jobs/6697948436 Probably #11334? Will investigate later then. |
☀️ Test successful - checks-actions |
9 commits in 1cd6d3803dfb0b342272862a8590f5dfc9f72573..a5d47a72595dd6fbe7d4e4f6ec20dc5fe724edd1 2023-01-12 18:40:36 +0000 to 2023-01-16 18:51:50 +0000 - Add network container tests (rust-lang/cargo#11583) - Show progress of crates.io index update even `net.git-fetch-with-cli` option enabled (rust-lang/cargo#11579) - `cargo metadata` supports artifact dependencies (rust-lang/cargo#11550) - fix(docs): add required "inherits" option to example profile (rust-lang/cargo#11504) - add documentation that SSH markers aren't supported (rust-lang/cargo#11586) - Fix typo (rust-lang/cargo#11585) - Enable source_config_env test on Windows (rust-lang/cargo#11582) - Support `codegen-backend` and `rustflags` in profiles in config file (rust-lang/cargo#11562) - ci: reflect to clap updates (rust-lang/cargo#11578)
Update cargo 9 commits in 1cd6d3803dfb0b342272862a8590f5dfc9f72573..a5d47a72595dd6fbe7d4e4f6ec20dc5fe724edd1 2023-01-12 18:40:36 +0000 to 2023-01-16 18:51:50 +0000 - Add network container tests (rust-lang/cargo#11583) - Show progress of crates.io index update even `net.git-fetch-with-cli` option enabled (rust-lang/cargo#11579) - `cargo metadata` supports artifact dependencies (rust-lang/cargo#11550) - fix(docs): add required "inherits" option to example profile (rust-lang/cargo#11504) - add documentation that SSH markers aren't supported (rust-lang/cargo#11586) - Fix typo (rust-lang/cargo#11585) - Enable source_config_env test on Windows (rust-lang/cargo#11582) - Support `codegen-backend` and `rustflags` in profiles in config file (rust-lang/cargo#11562) - ci: reflect to clap updates (rust-lang/cargo#11578) r? `@ghost`
What does this PR try to resolve?
CI is failing due to clap updating its error messages.
Additional information
The update of
snapbox
tests is lovely. Just useSNAPSHOTS=overwrite
and you're all set.I wish other tests can do that as well.