From 3b452d1600df1c0990437a8ef6fd6fd46769d546 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:20:30 +0800 Subject: [PATCH] Update dependency bazel_skylib to v1.5.0 (#490) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) | http_archive | minor | `1.3.0` -> `1.5.0` | --- ### Release Notes
bazelbuild/bazel-skylib (bazel_skylib) ### [`v1.5.0`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.5.0) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.4.2...1.5.0) #### What's Changed - Bump rules_pkg dep to 0.9.1 to fix build with --incompatible_config_setting_private_default_visibility by [@​tetromino](https://togithub.com/tetromino) in [https://github.com/bazelbuild/bazel-skylib/pull/452](https://togithub.com/bazelbuild/bazel-skylib/pull/452) - Expose int- and string-valued build settings as Make variables by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-skylib/pull/440](https://togithub.com/bazelbuild/bazel-skylib/pull/440) - Modify actions in order not to need `toolchain` param by [@​kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/bazel-skylib/pull/455](https://togithub.com/bazelbuild/bazel-skylib/pull/455) - Fix bazel-skylib with Bazel@HEAD by [@​meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/bazel-skylib/pull/462](https://togithub.com/bazelbuild/bazel-skylib/pull/462) - versions: Don't fail on Bazel dev builds by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-skylib/pull/463](https://togithub.com/bazelbuild/bazel-skylib/pull/463) - Add error for empty bzl_library by [@​keith](https://togithub.com/keith) in [https://github.com/bazelbuild/bazel-skylib/pull/457](https://togithub.com/bazelbuild/bazel-skylib/pull/457) - Add `doc` param to `unittest.make` by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/bazel-skylib/pull/464](https://togithub.com/bazelbuild/bazel-skylib/pull/464) - Upgrade rules_go by [@​comius](https://togithub.com/comius) in [https://github.com/bazelbuild/bazel-skylib/pull/460](https://togithub.com/bazelbuild/bazel-skylib/pull/460) #### New Contributors - [@​kotlaja](https://togithub.com/kotlaja) made their first contribution in [https://github.com/bazelbuild/bazel-skylib/pull/455](https://togithub.com/bazelbuild/bazel-skylib/pull/455) - [@​keith](https://togithub.com/keith) made their first contribution in [https://github.com/bazelbuild/bazel-skylib/pull/457](https://togithub.com/bazelbuild/bazel-skylib/pull/457) **Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.4.2...1.5.0 #### MODULE.bazel setup ```starlark bazel_dep(name = "bazel_skylib", version = "1.5.0") ### If the Gazelle plugin is needed: bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True) ``` #### WORKSPACE setup ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94" urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz", ], ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` ***Additional WORKSPACE setup for the Gazelle plugin*** ```starlark http_archive( name = "bazel_skylib_gazelle_plugin", sha256 = "747addf3f508186234f6232674dd7786743efb8c68619aece5fb0cac97b8f415", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz", ], ) load("@​bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace") bazel_skylib_gazelle_plugin_workspace() load("@​bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup") bazel_skylib_gazelle_plugin_setup() ``` ### [`v1.4.2`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.4.2) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.4.1...1.4.2) Release 1.4.2 Bugfix release: fixes `build_test` to respect `target_compatible_with` ([#​448](https://togithub.com/bazelbuild/bazel-skylib/issues/448)) **New Features** - `bzl_library` allows `.scl` files (new Starlark dialect loadable by Bazel at HEAD with `--experimental_enable_scl_dialect`) **Contributors** Alexandre Rostovtsev, UebelAndre, Vertexwahn, Xavier Bonaventura **WORKSPACE setup** ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", ], ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` ***Additional WORKSPACE setup for the Gazelle plugin*** ```starlark http_archive( name = "bazel_skylib_gazelle_plugin", sha256 = "3327005dbc9e49cc39602fb46572525984f7119a9c6ffe5ed69fbe23db7c1560", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-gazelle-plugin-1.4.2.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-gazelle-plugin-1.4.2.tar.gz", ], ) load("@​bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace") bazel_skylib_gazelle_plugin_workspace() load("@​bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup") bazel_skylib_gazelle_plugin_setup() ``` **MODULE.bazel setup** ```starlark bazel_dep(name = "bazel_skylib", version = "1.4.2") ``` And for the Gazelle plugin: ```starlark bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.2", dev_dependency = True) ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.4.2). ### [`v1.4.1`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.4.1) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.4.0...1.4.1) Release 1.4.1 Bugfix release: fixes gazelle plugin failure with `--incompatible_disallow_empty_glob` ([#​431](https://togithub.com/bazelbuild/bazel-skylib/issues/431)) and (for released versions) with `--incompatible_disable_starlark_host_transitions` ([#​433](https://togithub.com/bazelbuild/bazel-skylib/issues/433)). **Contributors** Alexandre Rostovtsev, Chuck Grindel **WORKSPACE setup** ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz", ], ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` ***Additional WORKSPACE setup for the Gazelle plugin*** ```starlark http_archive( name = "bazel_skylib_gazelle_plugin", sha256 = "0a466b61f331585f06ecdbbf2480b9edf70e067a53f261e0596acd573a7d2dc3", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-gazelle-plugin-1.4.1.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-gazelle-plugin-1.4.1.tar.gz", ], ) load("@​bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace") bazel_skylib_gazelle_plugin_workspace() load("@​bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup") bazel_skylib_gazelle_plugin_setup() ``` **MODULE.bazel setup** ```starlark bazel_dep(name = "bazel_skylib", version = "1.4.1") ``` And for the Gazelle plugin: ```starlark bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.4.1). ### [`v1.4.0`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.4.0) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.3.0...1.4.0) Release 1.4.0 **New Features** - The Gazelle plugin is marked stable for general use ([#​400](https://togithub.com/bazelbuild/bazel-skylib/issues/400), [#​424](https://togithub.com/bazelbuild/bazel-skylib/issues/424)) **Other Notable Changes** - copy_file/copy_directory again allow sandboxing ([#​392](https://togithub.com/bazelbuild/bazel-skylib/issues/392)) **Contributors** Alexandre Rostovtsev, Nick Gooding, Simon Stewart, Xùdōng Yáng **WORKSPACE setup** ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", sha256 = "f24ab666394232f834f74d19e2ff142b0af17466ea0c69a3f4c276ee75f6efce", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-1.4.0.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-1.4.0.tar.gz", ], ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` ***Additional WORKSPACE setup for the Gazelle plugin*** ```starlark http_archive( name = "bazel_skylib_gazelle_plugin", sha256 = "04182233284fcb6545d36b94248fe28186b4d9d574c4131d6a511d5aeb278c46", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-gazelle-plugin-1.4.0.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-gazelle-plugin-1.4.0.tar.gz", ], ) load("@​bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace") bazel_skylib_gazelle_plugin_workspace() load("@​bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup") bazel_skylib_gazelle_plugin_setup() ``` **MODULE.bazel setup** ```starlark bazel_dep(name = "bazel_skylib", version = "1.4.0") ``` And for the Gazelle plugin: ```starlark bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.0", dev_dependency = True) ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.4.0).
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/secretflow/spu). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- bazel/repositories.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index a5cb186b..0a05cf34 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -146,9 +146,9 @@ def _com_github_openxla_xla(): maybe( http_archive, name = "bazel_skylib", - sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506", + sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94", urls = [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz", ], )