Skip to content

Commit

Permalink
Update dependency bazel_skylib to v1.5.0 (#490)
Browse files Browse the repository at this point in the history
[![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

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/460](https://togithub.com/bazelbuild/bazel-skylib/pull/460)

#### New Contributors

- [@&#8203;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)
- [@&#8203;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**:
bazelbuild/bazel-skylib@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("@&#8203;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("@&#8203;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("@&#8203;bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@&#8203;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`
([#&#8203;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("@&#8203;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("@&#8203;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("@&#8203;bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@&#8203;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`
([#&#8203;431](https://togithub.com/bazelbuild/bazel-skylib/issues/431))
and (for released versions) with
`--incompatible_disable_starlark_host_transitions`
([#&#8203;433](https://togithub.com/bazelbuild/bazel-skylib/issues/433)).

**Contributors**
Alexandre Rostovtsev, Chuck Grindel

**WORKSPACE setup**

```starlark
load("@&#8203;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("@&#8203;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("@&#8203;bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@&#8203;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
([#&#8203;400](https://togithub.com/bazelbuild/bazel-skylib/issues/400),
[#&#8203;424](https://togithub.com/bazelbuild/bazel-skylib/issues/424))

**Other Notable Changes**

- copy_file/copy_directory again allow sandboxing
([#&#8203;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("@&#8203;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("@&#8203;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("@&#8203;bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@&#8203;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).

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 12, 2024
1 parent 4a4c5fa commit 3b452d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)

Expand Down

0 comments on commit 3b452d1

Please sign in to comment.