bazel-contrib / bazel-mypy-integration

🐍🌿💚 Integrate MyPy type-checking into your Python Bazel builds
MIT License
120 stars 44 forks source link

chore(deps): update dependency bazel_skylib to v1.5.0 #88

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
bazel_skylib http_archive minor 1.0.2 -> 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). ### [`v1.3.0`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.3.0) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.2.1...1.3.0) Release 1.3.0 **New Features** - Added `dicts.omit` and `dicts.pick` ([#​304](https://togithub.com/bazelbuild/bazel-skylib/issues/304)) - Added `expand_template` rule ([#​330](https://togithub.com/bazelbuild/bazel-skylib/issues/330)) - Added `subpackages` module ([#​348](https://togithub.com/bazelbuild/bazel-skylib/issues/348)) - Added `copy_directory` rule ([#​366](https://togithub.com/bazelbuild/bazel-skylib/issues/366)) - Added `bzlmod` support ([#​385](https://togithub.com/bazelbuild/bazel-skylib/issues/385)) **Incompatible Changes** - `native_binary` and `native_test` now use symlinks instead of copying, if the OS supports it ([#​340](https://togithub.com/bazelbuild/bazel-skylib/issues/340)) - `native_binary` and `native_test` now build in target configuration instead of host configuration ([#​341](https://togithub.com/bazelbuild/bazel-skylib/issues/341)) - `copy_file` no longer adds non-executables to `default_runfiles` ([#​326](https://togithub.com/bazelbuild/bazel-skylib/issues/326)) **Contributors** Alex Eagle, Alexandre Rostovtsev, Barry McNamara, Derek Cormier, Fabian Meumertzheim, Geoffrey Martin-Noble, hchsiao, Kevin Kres, nickgooding, Vertexwahn, Vinh Tran **WORKSPACE setup** ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506", urls = [ "https://mirror.bazel.build/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.3.0/bazel-skylib-1.3.0.tar.gz", ], ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` **MODULE.bazel setup** ```starlark bazel_dep(name = "bazel_skylib", version = "1.3.0") ``` ### [`v1.2.1`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.2.1) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.2.0...1.2.1) Release 1.2.1 *Note*: the 1.2.x releases of Skylib will be the last ones to support Bazel 4.2. Starting with release 1.3, Skylib will require Bazel 5 or newer. Bugfix release: fixes build failure with `--incompatible_disallow_empty_glob` ([#​359](https://togithub.com/bazelbuild/bazel-skylib/issues/359)) **Contributors** Alexandre Rostovtsev, Ivo List **WORKSPACE setup** ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", ], sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728", ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.2.1). ### [`v1.2.0`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.2.0) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.1.1...1.2.0) Release 1.2.0 *Note*: the 1.2.x releases of Skylib will be the last ones to support Bazel 4.2. Starting with release 1.3, Skylib will require Bazel 5 or newer. **New Features** - The unittest toolchain has better support for special characters in failure messages ([#​320](https://togithub.com/bazelbuild/bazel-skylib/issues/320)) - Use portable Bash shebangs for BSD compatibility ([#​329](https://togithub.com/bazelbuild/bazel-skylib/issues/329)) - Add loadingtest - tests which evaluate during the loading phase ([#​347](https://togithub.com/bazelbuild/bazel-skylib/issues/347)) - Add doc parameter to analysistest.make, allowing analysis tests to be documented in a Stardoc-friendly way ([#​343](https://togithub.com/bazelbuild/bazel-skylib/issues/343), [#​352](https://togithub.com/bazelbuild/bazel-skylib/issues/352)) **Contributors** Alexandre Rostovtsev, Geoffrey Martin-Noble, Kevin Kress, Samuel Freilich, UebelAndre, Yesudeep Mangalapilly **WORKSPACE setup** ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.0/bazel-skylib-1.2.0.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.0/bazel-skylib-1.2.0.tar.gz", ], sha256 = "af87959afe497dc8dfd4c6cb66e1279cb98ccc84284619ebfec27d9c09a903de", ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.2.0). ### [`v1.1.1`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.1.1): (initially tagged as 1.1.0) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.0.3...1.1.1) Release 1.1.1 (initially tagged as 1.1.0) **New Features** - Gazelle: support relative imports ([#​271](https://togithub.com/bazelbuild/bazel-skylib/issues/271)) and imports from `@bazel_tools` ([#​273](https://togithub.com/bazelbuild/bazel-skylib/issues/273)) - Add partial.is_instance() ([#​276](https://togithub.com/bazelbuild/bazel-skylib/issues/276)) - Allow unittest.suite() to accept partial calls of test rules ([#​276](https://togithub.com/bazelbuild/bazel-skylib/issues/276)) - Allow specifying additional aspects to target under test in analysistest.make() ([#​299](https://togithub.com/bazelbuild/bazel-skylib/issues/299)) - Add Windows support for build_test ([#​302](https://togithub.com/bazelbuild/bazel-skylib/issues/302)) **Incompatible Changes** - structs.to_dict() ignores deprecated to_json()/to_proto() methods ([#​295](https://togithub.com/bazelbuild/bazel-skylib/issues/295)) **Contributors** aiuto, alandonovan, Alex Eagle, Alexandre Rostovtsev, Andrew Z Allen, c-parsons, Christopher Sauer, Daniel Wagner-Hall, David Sanderson, dmaclach, Laurent Le Brun, Mansur, Olek Wojnar, Philipp Wollermann, River, Samuel Giddins, Thaler Benedek **WORKSPACE setup** ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz", ], sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d", ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.1.1). ### [`v1.0.3`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.0.3) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.0.2...1.0.3) **New Features** - copy_file: Add parameter to allow symlinks ([#​252](https://togithub.com/bazelbuild/bazel-skylib/issues/252)) - Create Gazelle language for Starlark ([#​251](https://togithub.com/bazelbuild/bazel-skylib/issues/251)) - Create a helper rule (`select_file`) for selecting a file from outputs of another rule ([#​233](https://togithub.com/bazelbuild/bazel-skylib/issues/233)) **Significant Changes** - Move Gazelle extension to //gazelle/bzl and change package name - Stop depending on rules_pkg through the federation. ([#​259](https://togithub.com/bazelbuild/bazel-skylib/issues/259)) **Incompatible Changes** - Remove links to maprules ([#​213](https://togithub.com/bazelbuild/bazel-skylib/issues/213)) - Remove old_sets.bzl ([#​231](https://togithub.com/bazelbuild/bazel-skylib/issues/231)) It has been deprecated for a while, the code is not really compatible with Bazel depset-related changes. **Contributors** Andrew Z Allen, Bocete, Bor Kae Hwang, irengrig, Jay Conrod, Jonathan B Coe, Marc Plano-Lesay, Robbert van Ginkel, Thomas Van Lenten, Yannic, and the Bazel team. **WORKSPACE setup** ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", urls = [ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", ], sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.0.3).

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.



This PR has been generated by Mend Renovate. View repository job log here.