-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[rust] Bump clap to version 4.5.2 #13699
Conversation
PR Description updated to latest commit (bd487b5)
|
PR Review
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code SuggestionsNo code suggestions found for PR. |
CI Failure Feedback(Checks updated until commit 7a04007)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
I don't want to merge this yet since, as explained in the description, it breaks the build. But I don't know the underlying reason. It seems this new crate version cannot be compiled using Bazel. |
I don't know what is wrong with the build, maybe there is a difference in toolchains? |
I'm not sure. I suppose it might be related to the Rust compiler version used by Bazel. For example, in my local installation, when using cargo as package manager, the compiler (rustc) version is the following:
Is there any way to find out which version is using Bazel to compile Rust? |
My local is 1.70:
Can you try changing the version in WORKSPACE per https://bazelbuild.github.io/rules_rust/#specifying-rust-version and see if it helps? |
bd487b5
to
0da99a1
Compare
@p0deje Indeed, that change made the trick, thanks a lot!
|
User description
Description
This PR simply bumps the version of clap (a dependency in Selenium Manager) to 4.5.2.
Motivation and Context
This change is, in theory, harmless. But I'm doing it as a PR since it breaks the build. I don't know the cause, but it happens when Bazel is trying to compile Selenium Manager with clap 4.5.2. In particular, clap_lex 0.7.0, which is a transitive dependency of clap 4.5.2, cannot be compiled with Bazel:
I am not sure how Bazel compiles Rust. But using Cargo 1.7.6, this problem does not happen.
Any idea?
Types of changes
Checklist
Type
enhancement
Description
clap
dependency inrust/Cargo.toml
from version4.4.18
to4.5.2
to include new features and improvements.clap_lex 0.7.0
). This PR aims to address or highlight this issue for further investigation.Changes walkthrough
Cargo.toml
Update `clap` dependency to version 4.5.2
rust/Cargo.toml
clap
version from4.4.18
to4.5.2
.