Skip to content

Commit b1066fd

Browse files
chore(deps): update dependency rules_python to v1.2.0 (#452)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_python](https://redirect.github.com/bazelbuild/rules_python) | http_archive | minor | `1.1.0` -> `1.2.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_python (rules_python)</summary> ### [`v1.2.0`](https://redirect.github.com/bazelbuild/rules_python/releases/tag/1.2.0) [Compare Source](https://redirect.github.com/bazelbuild/rules_python/compare/1.1.0...1.2.0-rc1) For more detailed setup instructions, see https://rules-python.readthedocs.io/en/latest/getting-started.html For the user-facing changelog see [here](https://rules-python.readthedocs.io/en/latest/changelog.html#v1-2-0) ##### Using Bzlmod Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_python", version = "1.2.0") python = use_extension("@&#8203;rules_python//python/extensions:python.bzl", "python") python.toolchain( python_version = "3.13", ) pip = use_extension("@&#8203;rules_python//python/extensions:pip.bzl", "pip") pip.parse( hub_name = "pypi", python_version = "3.13", requirements_lock = "//:requirements_lock.txt", ) use_repo(pip, "pypi") ``` ##### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python", sha256 = "2ef40fdcd797e07f0b6abda446d1d84e2d9570d234fddf8fcd2aa262da852d1c", strip_prefix = "rules_python-1.2.0", url = "https://github.com/bazelbuild/rules_python/releases/download/1.2.0/rules_python-1.2.0.tar.gz", ) load("@&#8203;rules_python//python:repositories.bzl", "py_repositories") py_repositories() ``` ##### Gazelle plugin Paste this snippet into your `WORKSPACE` file: ```starlark load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python_gazelle_plugin", sha256 = "2ef40fdcd797e07f0b6abda446d1d84e2d9570d234fddf8fcd2aa262da852d1c", strip_prefix = "rules_python-1.2.0/gazelle", url = "https://github.com/bazelbuild/rules_python/releases/download/1.2.0/rules_python-1.2.0.tar.gz", ) ##### To compile the rules_python gazelle extension from source, ##### we must fetch some third-party go dependencies that it uses. load("@&#8203;rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps") _py_gazelle_deps() ``` ##### What's Changed - docs: Add horizontal spacers around filenames in custom toolchain guide by [@&#8203;nicholasjng](https://redirect.github.com/nicholasjng) in [https://github.com/bazelbuild/rules_python/pull/2563](https://redirect.github.com/bazelbuild/rules_python/pull/2563) - fix: Avoid creating URLs with empty path segments from index URLs in environment variables by [@&#8203;WillMorrison](https://redirect.github.com/WillMorrison) in [https://github.com/bazelbuild/rules_python/pull/2557](https://redirect.github.com/bazelbuild/rules_python/pull/2557) - docs: update gazelle README.md by [@&#8203;alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_python/pull/2567](https://redirect.github.com/bazelbuild/rules_python/pull/2567) - fix: Don't fail in override from a non-root module by [@&#8203;mailto-jonas](https://redirect.github.com/mailto-jonas) in [https://github.com/bazelbuild/rules_python/pull/2566](https://redirect.github.com/bazelbuild/rules_python/pull/2566) - chore: remove internal usage of deprecated py_binary ad py_test by [@&#8203;aignas](https://redirect.github.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/2569](https://redirect.github.com/bazelbuild/rules_python/pull/2569) - fix: Fix encoding of runfiles manifest and repository mapping files. by [@&#8203;phst](https://redirect.github.com/phst) in [https://github.com/bazelbuild/rules_python/pull/2568](https://redirect.github.com/bazelbuild/rules_python/pull/2568) - fix: make coverage work with bootstrap=script by [@&#8203;rickeylev](https://redirect.github.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/2574](https://redirect.github.com/bazelbuild/rules_python/pull/2574) - doc: point users to our CHANGELOG at the top of the release note by [@&#8203;aignas](https://redirect.github.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/2582](https://redirect.github.com/bazelbuild/rules_python/pull/2582) - fix: Enable location expansion for `sh_py_run_test` by [@&#8203;philsc](https://redirect.github.com/philsc) in [https://github.com/bazelbuild/rules_python/pull/2583](https://redirect.github.com/bazelbuild/rules_python/pull/2583) - fix(sphinxdocs): do not crash when tag_class does not have doc by [@&#8203;aignas](https://redirect.github.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/2585](https://redirect.github.com/bazelbuild/rules_python/pull/2585) - refactor(uv): move around uv implementation files by [@&#8203;aignas](https://redirect.github.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/2580](https://redirect.github.com/bazelbuild/rules_python/pull/2580) - revert: Updated pip and packaging versions to work with free-threading packages ([#&#8203;2514](https://redirect.github.com/bazelbuild/rules_python/issues/2514)) by [@&#8203;aignas](https://redirect.github.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/2584](https://redirect.github.com/bazelbuild/rules_python/pull/2584) - docs: using python_version attribute for specifying python version by [@&#8203;JeroenSchmidt](https://redirect.github.com/JeroenSchmidt) in [https://github.com/bazelbuild/rules_python/pull/2589](https://redirect.github.com/bazelbuild/rules_python/pull/2589) - fix: make plain zipapp work with bootstrap=script by [@&#8203;rickeylev](https://redirect.github.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/2598](https://redirect.github.com/bazelbuild/rules_python/pull/2598) - fix: add flag to use runtime venv creation when using bootstrap=script by [@&#8203;rickeylev](https://redirect.github.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/2590](https://redirect.github.com/bazelbuild/rules_python/pull/2590) - docs: Update URL in gazelle example by [@&#8203;hofbi](https://redirect.github.com/hofbi) in [https://github.com/bazelbuild/rules_python/pull/2602](https://redirect.github.com/bazelbuild/rules_python/pull/2602) - refactor: expose base rule construction via builders to allow customization for testing by [@&#8203;rickeylev](https://redirect.github.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/2600](https://redirect.github.com/bazelbuild/rules_python/pull/2600) - feat: Remove and redirect py_proto_library to protobuf by [@&#8203;comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_python/pull/2604](https://redirect.github.com/bazelbuild/rules_python/pull/2604) - chore: updates for 1.2.0 release by [@&#8203;rickeylev](https://redirect.github.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/2611](https://redirect.github.com/bazelbuild/rules_python/pull/2611) ##### New Contributors - [@&#8203;mailto-jonas](https://redirect.github.com/mailto-jonas) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/2566](https://redirect.github.com/bazelbuild/rules_python/pull/2566) - [@&#8203;JeroenSchmidt](https://redirect.github.com/JeroenSchmidt) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/2589](https://redirect.github.com/bazelbuild/rules_python/pull/2589) - [@&#8203;hofbi](https://redirect.github.com/hofbi) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/2602](https://redirect.github.com/bazelbuild/rules_python/pull/2602) **Full Changelog**: bazel-contrib/rules_python@1.1.0...1.2.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bazel-contrib/rules_bazel_integration_test). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 9409bbd commit b1066fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bazel_integration_test/deps.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def bazel_integration_test_rules_dependencies():
3737
maybe(
3838
http_archive,
3939
name = "rules_python",
40-
sha256 = "9c6e26911a79fbf510a8f06d8eedb40f412023cf7fa6d1461def27116bff022c",
41-
strip_prefix = "rules_python-1.1.0",
42-
url = "https://github.com/bazelbuild/rules_python/archive/1.1.0.tar.gz",
40+
sha256 = "2ef40fdcd797e07f0b6abda446d1d84e2d9570d234fddf8fcd2aa262da852d1c",
41+
strip_prefix = "rules_python-1.2.0",
42+
url = "https://github.com/bazelbuild/rules_python/archive/1.2.0.tar.gz",
4343
)

0 commit comments

Comments
 (0)