-
Notifications
You must be signed in to change notification settings - Fork 511
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Trying to add rules_pkg/1.0.0, which bumps compatibility_level.
Presubmit fails:
- Add rules_pkg 1.0.1 (was 1.0.0) #2180
- https://buildkite.com/bazel/bcr-presubmit/builds/6179#0190084e-eb88-447c-9f83-9c84070c8fca
- Protobuf depends on us at capability level 1.
- Since this is a breaking change, we are at level 2.
- We depend transitively on protobuf but don't use it.
So, the obvious problem with enforcing this
- If I bump protobuf to depend on the new version, that will fail because this is not submitted yet.
- If I include protobuf in rules_pkg/MODULE.bazel, I suspect that won't help, because we'll still be at mismatched levels.
Version
module(
name = "rules_pkg",
version = "1.0.0", # Must sync with version.bzl.
compatibility_level = 2,
repo_name = "rules_pkg",
)
# Do not update to newer versions until you need a specific new feature.
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "rules_python", version = "0.31.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
# Only for development
bazel_dep(name = "platforms", version = "0.0.9", dev_dependency = True)
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
# Find the system rpmbuild if one is available.
find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod", dev_dependency = True)
use_repo(find_rpm, "rules_pkg_rpmbuild")
register_toolchains(
"@rules_pkg_rpmbuild//:all",
dev_dependency = True,
)
How to reproduce
https://github.com/bazelbuild/bazel-central-registry/pull/2180
Any other information?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working