-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit b1066fd
authored
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("@​rules_python//python/extensions:python.bzl", "python")
python.toolchain(
python_version = "3.13",
)
pip = use_extension("@​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("@​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("@​rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
```
##### Gazelle plugin
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@​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("@​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 [@​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
[@​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
[@​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
[@​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
[@​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 [@​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
[@​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
[@​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
[@​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
[@​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
[@​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
([#​2514](https://redirect.github.com/bazelbuild/rules_python/issues/2514))
by [@​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
[@​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
[@​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 [@​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
[@​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
[@​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
[@​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
[@​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
- [@​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)
- [@​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)
- [@​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 b1066fdCopy full SHA for b1066fd
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedFilter options
- bazel_integration_test
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedbazel_integration_test/deps.bzl
Copy file name to clipboardExpand all lines: bazel_integration_test/deps.bzl+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 |
|
0 commit comments