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

Upgrade Externals May 2023 #19332

Merged
merged 7 commits into from
May 2, 2023
Merged
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
4 changes: 2 additions & 2 deletions tools/install/bazel/test/drake_bazel_installed_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ def main():

# The commit (version) here should be identical to the commit listed in
# drake/tools/workspace/rules_python/repository.bzl.
rules_python_commit = "0.19.0"
rules_python_commit = "0.21.0"
rules_python_urls = [
f"https://github.com/bazelbuild/rules_python/archive/{rules_python_commit}.tar.gz", # noqa
f"https://drake-mirror.csail.mit.edu/github/bazelbuild/rules_python/{rules_python_commit}.tar.gz", # noqa
]
rules_python_sha256 = "ffc7b877c95413c82bfd5482c017edcf759a6250d8b24e82f41f3c8b8d9e287e" # noqa
rules_python_sha256 = "94750828b18044533e98a129003b6a68001204038dc4749f40b195b24c38f49f" # noqa

with open(join(scratch_dir, "WORKSPACE"), "w") as f:
f.write(f"""
Expand Down
4 changes: 2 additions & 2 deletions tools/workspace/abseil_cpp_internal/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def abseil_cpp_internal_repository(
github_archive(
name = name,
repository = "abseil/abseil-cpp",
commit = "2927340217c37328319b5869285a6dcdbc13e7a7",
sha256 = "4d77240cee3efe967a6445021c926d43f0853744e5c4e3d6af556ef3300b1c75", # noqa
commit = "c0d58db0c0f180df38137421604f86d0fb96deab",
sha256 = "d19aa90c3aa118d47bc3ee65fda8f1c1dd7800be3c68cfee03fcbbb0aa712612", # noqa
patches = [
":patches/disable_int128_on_clang.patch",
":patches/hidden_visibility.patch",
Expand Down
6 changes: 3 additions & 3 deletions tools/workspace/buildifier/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ def _impl(repository_ctx):
# To update this, each artifact needs to be downloaded and its checksum
# computed manually. See tools/workspace/mirrors.bzl for the canonical
# URL.
version = "6.1.0"
version = "v6.1.2"
darwin_urls = [
x.format(version = version, filename = "buildifier-darwin-amd64")
for x in repository_ctx.attr.mirrors.get("buildifier")
]
darwin_sha256 = "fc61455f2137c8ea16c299a01cd1d3bfae74edab1da2b97778921691504a2809" # noqa
darwin_sha256 = "e2f4a67691c5f55634fbfb3850eb97dd91be0edd059d947b6c83d120682e0216" # noqa
linux_urls = [
x.format(version = version, filename = "buildifier-linux-amd64")
for x in repository_ctx.attr.mirrors.get("buildifier")
]
linux_sha256 = "0b51a6cb81bc3b51466ea2210053992654987a907063d0c2b9c03be29de52eff" # noqa
linux_sha256 = "51bc947dabb7b14ec6fb1224464fbcf7a7cb138f1a10a3b328f00835f72852ce" # noqa

# Choose which binary to use.
os_result = determine_os(repository_ctx)
Expand Down
4 changes: 2 additions & 2 deletions tools/workspace/common_robotics_utilities/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def common_robotics_utilities_repository(
updated in ToyotaResearchInstitute/common_robotics_utilities/test/ or
ToyotaResearchInstitute/common_robotics_utilities/CMakeLists.txt.ros2
""",
commit = "89435ebf4621f4e92d3b4c2a18aec7fa91e0cb75",
sha256 = "7577ccf13db9111a90be946996d512d3a9693b356a7e26e4ab9a1ffb90c8ea2b", # noqa
commit = "a3495f86d14326ec40c59eb730ec06f021a69294",
sha256 = "e89ebea6e811886e00e78ea73ea345e445130cdaf776c2bc19f107ef52c07b07", # noqa
build_file = ":package.BUILD.bazel",
mirrors = mirrors,
)
4 changes: 2 additions & 2 deletions tools/workspace/dm_control_internal/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def dm_control_internal_repository(
github_archive(
name = name,
repository = "deepmind/dm_control",
commit = "5dec8898a4539589d4989f6553673e588e6a6b06",
sha256 = "9866c4d3da7098a1b36d7b37d0f7c65f00e47bb979d3146cbc39aef59ae09b5e", # noqa
commit = "330c91f41a21eacadcf8316f0a071327e3f5c017",
sha256 = "129bde14e4ef478960a7500097134c442e0d887390326f0632c73816f89fd8a8", # noqa
build_file = ":package.BUILD.bazel",
mirrors = mirrors,
)
4 changes: 2 additions & 2 deletions tools/workspace/lcm/lcm-config-version.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(PACKAGE_VERSION "1.4.0")
set(PACKAGE_COMPAT_VERSION "1.4.0")
set(PACKAGE_VERSION "1.5.0")
set(PACKAGE_COMPAT_VERSION "1.5.0")

if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
Expand Down
2 changes: 1 addition & 1 deletion tools/workspace/lcm/lcm-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ unset(_targetsDefined)
unset(_targetsNotDefined)
unset(_expectedTargets)

set(lcm_VERSION "1.4.0")
set(lcm_VERSION "1.5.0")

add_library(lcm::lcm-coretypes INTERFACE IMPORTED)
set_target_properties(lcm::lcm-coretypes PROPERTIES
Expand Down
2 changes: 1 addition & 1 deletion tools/workspace/lcm/package.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ install(
docs = [
"AUTHORS",
"COPYING",
"NEWS",
"NEWS.md",
],
rename = {
"share/java/liblcm-java.jar": "lcm.jar",
Expand Down
9 changes: 4 additions & 5 deletions tools/workspace/lcm/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ def lcm_repository(
name = name,
repository = "lcm-proj/lcm",
upgrade_advice = """
When upgrading this commit, check if the LCM maintainers have tagged
a new version number; if so, then update the version numbers within
the two lcm-*.cmake files in this directory to match.
When updating, the version numbers within the two lcm-*.cmake files in
this directory must also be updated to match the new version.
""",
commit = "ab70eaff2bf9e7da097ae3f6183da7c234a286f1",
sha256 = "21a93b77bc20025070c6cb9c2d1da30e85ede5d503570130822743768ee2c2ed", # noqa
commit = "v1.5.0",
sha256 = "590a7d996daa3d33a7f3094e4054c35799a3d7a4780d732be78971323e730eeb", # noqa
build_file = ":package.BUILD.bazel",
mirrors = mirrors,
)
4 changes: 2 additions & 2 deletions tools/workspace/petsc/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def petsc_repository(
github_archive(
name = name,
repository = "petsc/petsc",
commit = "v3.19.0",
sha256 = "4c5930d494f7aa6a89124c26d209f68ca2383f1f1d8b24b6414c0571b359469b", # noqa
commit = "v3.19.1",
sha256 = "a4fac43dfd39fc2ceb960a1141fe034525b2b1d565d8c61573de62b8089b0895", # noqa
build_file = ":package.BUILD.bazel",
mirrors = mirrors,
patches = [
Expand Down
4 changes: 2 additions & 2 deletions tools/workspace/rules_python/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def rules_python_repository(
commit listed in
drake/tools/install/bazel/test/drake_bazel_installed_test.py.
""",
commit = "0.20.0",
sha256 = "a644da969b6824cc87f8fe7b18101a8a6c57da5db39caa6566ec6109f37d2141", # noqa
commit = "0.21.0",
sha256 = "94750828b18044533e98a129003b6a68001204038dc4749f40b195b24c38f49f", # noqa
mirrors = mirrors,
)