Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ bazel_dep(name = "rules_java", version = "9.6.1")
bazel_dep(name = "rules_jvm_external", version = "7.0")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_python", version = "2.2.0") # Keep this in sync with cmake/MODULE.bazel.in. # noqa
bazel_dep(name = "rules_rust", version = "0.71.2") # When upgrading, locally test that crate vendoring still works via `tools/workspace/crate_universe/upgrade.sh && bazel test //tools/install/libdrake/...`.
bazel_dep(name = "rules_rust", version = "0.72.0") # When upgrading, locally test that crate vendoring still works via `tools/workspace/crate_universe/upgrade.sh && bazel test //tools/install/libdrake/...`.
bazel_dep(name = "rules_shell", version = "0.8.0")
bazel_dep(name = "with_cfg.bzl", version = "1.0.0")

Expand Down
4 changes: 0 additions & 4 deletions tools/workspace/crate_universe/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ cd $(dirname $(python3 -c 'import os; print(os.path.realpath("'"$0"'"))'))
# custom to Drake, and handled separately below.
bazel run :crate -- --repin=all

# Patch a rules_rust regression (bazelbuild/rules_rust#4132) that erroneously
# omits the repository name from the all_crate_deps label output.
perl -pi -e 's#Label\("(?!//tools)#Label("\@crate#g' lock/details/crates.bzl

# Fix the upgrade advice comments in the generated BUILD files.
old_tool="bazel run @@//tools/workspace/crate_universe:crate"
new_tool="tools/workspace/crate_universe/upgrade.sh"
Expand Down