Skip to content
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

Pin the clap version used to prevent future deprecation warnings #1464

Merged
merged 3 commits into from
Jun 14, 2022

Conversation

jdisanti
Copy link
Collaborator

Motivation and Context

The clap maintainers are planning to introduce more deprecations with every minor release (clap-rs/clap#3822):

We do expect to be adding deprecations every minor release and we recommend not blocking CI on this as the toil adds backpressure on crates to not evolve their API.

Since we're disallowing warnings broadly at the environment variable level, this PR pins all the clap versions so that future minor releases won't break our CI.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jdisanti jdisanti requested review from a team as code owners June 13, 2022 22:57
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@Velfi Velfi merged commit 66ff2bd into main Jun 14, 2022
@Velfi Velfi deleted the jdisanti-pin-clap branch June 14, 2022 14:29
@@ -7,7 +7,7 @@ authors = ["Smithy-rs Server Team <[email protected]>"]
description = "A smithy Rust service to retrieve information about Pokémon."

[dependencies]
clap = { version = "3.2.1", features = ["derive"] }
clap = { version = "~3.2.1", features = ["derive"] }
Copy link

Choose a reason for hiding this comment

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

This can now be reverted as deprecations are now off by default, see clap-rs/clap#3830 for details. When you do start working through the deprecations as part of upgrading to 4.0, we've also improved the warnings for derive users. See clap-rs/clap#3832 for examples.

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.

4 participants