Closed renovate[bot] closed 1 year ago
Patch and project coverage have no change.
Comparison is base (
b5e8c23
) 80.74% compared to head (be51f01
) 80.74%. Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
0.23.1
->0.24.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
bazelbuild/rules_python (rules_python)
### [`v0.24.0`](https://togithub.com/bazelbuild/rules_python/releases/tag/0.24.0) [Compare Source](https://togithub.com/bazelbuild/rules_python/compare/0.23.1...0.24.0) #### Using Bzlmod with Bazel 6 NOTE: bzlmod support is still beta; APIs are settling down but some are still subject to change Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_python", version = "0.24.0") pip = use_extension("@rules_python//python:extensions.bzl", "pip") pip.parse( name = "pip", requirements_lock = "//:requirements_lock.txt", ) use_repo(pip, "pip") ``` #### 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 = "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578", strip_prefix = "rules_python-0.24.0", url = "https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.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 = "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578", strip_prefix = "rules_python-0.24.0/gazelle", url = "https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.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 - fix: Ignore tempoary pyc.NNN files in wheels by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1266](https://togithub.com/bazelbuild/rules_python/pull/1266) - fix(bzlmod): Fixing Windows Python Interpreter symlink issues by [@chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1265](https://togithub.com/bazelbuild/rules_python/pull/1265) - feat(bzlmod)!: Calling pip multiple times allowing for multiple Python versions by [@chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1254](https://togithub.com/bazelbuild/rules_python/pull/1254) - fix(py_wheel.publish): allow twine tags and args by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/bazelbuild/rules_python/pull/1271](https://togithub.com/bazelbuild/rules_python/pull/1271) - feat(py_wheel): Add support for specifying Description-Content-Type and Summary in METADATA by [@sfc-gh-zpeng](https://togithub.com/sfc-gh-zpeng) in [https://github.com/bazelbuild/rules_python/pull/1274](https://togithub.com/bazelbuild/rules_python/pull/1274) - feat(py_wheel): Add support for specifying Project-URL in METADATA by [@sfc-gh-wzhao](https://togithub.com/sfc-gh-wzhao) in [https://github.com/bazelbuild/rules_python/pull/1276](https://togithub.com/bazelbuild/rules_python/pull/1276) - test: basic analysis tests for py_wheel by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1279](https://togithub.com/bazelbuild/rules_python/pull/1279) - fix: plugin_output in py_proto_library rule by [@comius](https://togithub.com/comius) in [https://github.com/bazelbuild/rules_python/pull/1280](https://togithub.com/bazelbuild/rules_python/pull/1280) - cleanup: Typos, doc, and formatting cleanup in pip extension et al by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1275](https://togithub.com/bazelbuild/rules_python/pull/1275) - feat: Upgrading gazelle and rules_go by [@chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1283](https://togithub.com/bazelbuild/rules_python/pull/1283) - tests: make analysis tests support --incompatible_enable_cc_toolchain_resolution by [@comius](https://togithub.com/comius) in [https://github.com/bazelbuild/rules_python/pull/1281](https://togithub.com/bazelbuild/rules_python/pull/1281) - feat!: using Gazelle's lifecycle manager to manage external processes by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_python/pull/1284](https://togithub.com/bazelbuild/rules_python/pull/1284) - fix(toolchain): restrict coverage tool visibility under bzlmod by [@aignas](https://togithub.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/1252](https://togithub.com/bazelbuild/rules_python/pull/1252) - fix: add `format()` calls to `glob_exclude` templates by [@lpulley](https://togithub.com/lpulley) in [https://github.com/bazelbuild/rules_python/pull/1285](https://togithub.com/bazelbuild/rules_python/pull/1285) - feat: Expose Python C headers through the toolchain. by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1287](https://togithub.com/bazelbuild/rules_python/pull/1287) - feat(bzlmod): Implementing wheel annotations via whl_mods by [@chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1278](https://togithub.com/bazelbuild/rules_python/pull/1278) - feat(gazelle): support multiple requirements files in manifest generation by [@aignas](https://togithub.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/1301](https://togithub.com/bazelbuild/rules_python/pull/1301) - feat: Add setting generate_hashes for requirements by [@vonschultz](https://togithub.com/vonschultz) in [https://github.com/bazelbuild/rules_python/pull/1290](https://togithub.com/bazelbuild/rules_python/pull/1290) - feat(bzlmod): Use a common constant for detecting bzlmod being enabled by [@chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1302](https://togithub.com/bazelbuild/rules_python/pull/1302) - fix(bzlmod)!: Changing repository name "python_aliases" to "python_versions" by [@chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1304](https://togithub.com/bazelbuild/rules_python/pull/1304) - feat(bzlmod): Allow bzlmod pip.parse to reference the default python toolchain and interpreter by [@chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1303](https://togithub.com/bazelbuild/rules_python/pull/1303) - feat: Create `all_data_requirements` alias by [@kevinpark1217](https://togithub.com/kevinpark1217) in [https://github.com/bazelbuild/rules_python/pull/1292](https://togithub.com/bazelbuild/rules_python/pull/1292) - chore: Bump rules_testing to 0.4.0 from 0.0.5 by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1306](https://togithub.com/bazelbuild/rules_python/pull/1306) - cleanup(tests): Use new APIs in rules_testing 0.4.0 by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1307](https://togithub.com/bazelbuild/rules_python/pull/1307) #### New Contributors - [@sfc-gh-zpeng](https://togithub.com/sfc-gh-zpeng) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1274](https://togithub.com/bazelbuild/rules_python/pull/1274) - [@sfc-gh-wzhao](https://togithub.com/sfc-gh-wzhao) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1276](https://togithub.com/bazelbuild/rules_python/pull/1276) - [@vonschultz](https://togithub.com/vonschultz) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1290](https://togithub.com/bazelbuild/rules_python/pull/1290) - [@kevinpark1217](https://togithub.com/kevinpark1217) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1292](https://togithub.com/bazelbuild/rules_python/pull/1292) **Full Changelog**: https://github.com/bazelbuild/rules_python/compare/0.23.1...0.24.0Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" (UTC), 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.