chore(deps): update dependency rules_python to v0.16.1
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| rules_python | http_archive | minor | 0.14.0 -> 0.16.1 |
Release Notes
bazelbuild/rules_python
v0.16.1
Using Bzlmod with Bazel 6
Add to your MODULE.bazel file:
bazel_dep(name = "rules_python", version = "0.16.1")
pip = use_extension("@​rules_python//python:extensions.bzl", "pip")
pip.parse(
name = "pip",
requirements_lock = "//:requirements_lock.txt",
)
use_repo(pip, "pip")
### (Optional) Register a specific python toolchain instead of using the host version
python = use_extension("@​rules_python//python:extensions.bzl", "python")
python.toolchain(
name = "python3_9",
python_version = "3.9",
)
use_repo(python, "python3_9_toolchains")
register_toolchains(
"@​python3_9_toolchains//:all",
)
Using WORKSPACE:
Paste this snippet into your WORKSPACE file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
sha256 = "497ca47374f48c8b067d786b512ac10a276211810f4a580178ee9b9ad139323a",
strip_prefix = "rules_python-0.16.1",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.16.1.tar.gz",
)
What's Changed
- Fail if Python 2 values are specified by @rickeylev in https://github.com/bazelbuild/rules_python/pull/887
- fix: windows on ci by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/911
- Add gazelle distribution and enable build_file_generation test by @aignas in https://github.com/bazelbuild/rules_python/pull/913
- feat: gazelle manifest exclude_patterns by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/917
- Add f0rmiga as codeowner of build_file_example by @rickeylev in https://github.com/bazelbuild/rules_python/pull/918
- fix: don't test on release by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/920
New Contributors
- @aignas made their first contribution in https://github.com/bazelbuild/rules_python/pull/913
Full Changelog: https://github.com/bazelbuild/rules_python/compare/0.15.1...0.16.1
v0.16.0
v0.15.1
Using Bzlmod with Bazel 6
Add to your MODULE.bazel file:
bazel_dep(name = "rules_python", version = "0.15.1")
pip = use_extension("@​rules_python//python:extensions.bzl", "pip")
pip.parse(
name = "pip",
requirements_lock = "//:requirements_lock.txt",
)
use_repo(pip, "pip")
### (Optional) Register a specific python toolchain instead of using the host version
python = use_extension("@​rules_python//python:extensions.bzl", "python")
python.toolchain(
name = "python3_9",
python_version = "3.9",
)
use_repo(python, "python3_9_toolchains")
register_toolchains(
"@​python3_9_toolchains//:all",
)
Using WORKSPACE:
Paste this snippet into your WORKSPACE file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
sha256 = "bc4e59e17c7809a5b373ba359e2c974ed2386c58634819ac5a89c0813c15705c",
strip_prefix = "rules_python-0.15.1",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.15.1.tar.gz",
)
What's Changed
- fix: pip_compile to handle multiple generated requirements.in by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/909
- ci: add debian11 to the matrix by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/910
Full Changelog: https://github.com/bazelbuild/rules_python/compare/0.15.0...0.15.1
v0.15.0
Using Bzlmod with Bazel 6
Add to your MODULE.bazel file:
bazel_dep(name = "rules_python", version = "0.15.0")
pip = use_extension("@​rules_python//python:extensions.bzl", "pip")
pip.parse(
name = "pip",
requirements_lock = "//:requirements_lock.txt",
)
use_repo(pip, "pip")
### (Optional) Register a specific python toolchain instead of using the host version
python = use_extension("@​rules_python//python:extensions.bzl", "python")
python.toolchain(
name = "python3_9",
python_version = "3.9",
)
use_repo(python, "python3_9_toolchains")
register_toolchains(
"@​python3_9_toolchains//:all",
)
Using WORKSPACE:
Paste this snippet into your WORKSPACE file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
sha256 = "fda23c37fbacf7579f94d5e8f342d3a831140e9471b770782e83846117dd6596",
strip_prefix = "rules_python-0.15.0",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.15.0.tar.gz",
)
What's Changed
- Expose python3n.lib as libpython's interface_library by @jlaxson in https://github.com/bazelbuild/rules_python/pull/890
- Fix //docs:update by @philsc in https://github.com/bazelbuild/rules_python/pull/876
- fix: correct bcr metadata template filename by @kormide in https://github.com/bazelbuild/rules_python/pull/892
- fix: fix a bug where some transitive deps could not be resolved via bzlmod by @kormide in https://github.com/bazelbuild/rules_python/pull/893
- feat: multi-toolchain support by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/846
- bump: python toolchain releases by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/902
- Correctly reference os-specific labels from central alias repo by @jlaxson in https://github.com/bazelbuild/rules_python/pull/889
- Document how to get started working on rules_python by @rickeylev in https://github.com/bazelbuild/rules_python/pull/891
- fix: #895 append _py if ending with .py by @rbuckland in https://github.com/bazelbuild/rules_python/pull/897
- fix: missing RunEnvironmentInfo by @f0rmiga in https://github.com/bazelbuild/rules_python/pull/904
New Contributors
- @jlaxson made their first contribution in https://github.com/bazelbuild/rules_python/pull/890
- @rbuckland made their first contribution in https://github.com/bazelbuild/rules_python/pull/897
Full Changelog: https://github.com/bazelbuild/rules_python/compare/0.14.0...0.15.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. View repository job log here.