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

Can cel-spec be a dev dependency #11929

Open
honnix opened this issue Feb 28, 2025 · 1 comment
Open

Can cel-spec be a dev dependency #11929

honnix opened this issue Feb 28, 2025 · 1 comment
Assignees
Labels

Comments

@honnix
Copy link

honnix commented Feb 28, 2025

Maybe stupid question. Can cel-spec added here https://github.com/grpc/grpc-java/pull/11417/files#diff-6136fc12446089c3db7360e923203dd114b6a1466252e71667c6791c20fe6bdcR51 be a dev dependency, so it doesn't get propagated. It's an old version which makes gazelle unhappy when a project has a later version of cel-spec as a go module: https://github.com/bazel-contrib/bazel-gazelle/blob/a8e48fd344cee0adbff2cc846da972c6d941e397/internal/bzlmod/go_deps.bzl#L612

@kannanjgithub
Copy link
Contributor

You need to add dependency on cel-spec to upgrade it to the version expected by gazelle.

Gazelle is complaining because the versions don't match so you need to make them match. This solely involves your own dependency tree.

@kannanjgithub kannanjgithub removed the bug label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants