jwmcglynn / donner

Donner SVG, a modern C++20 SVG rendering library supporting the latest SVG2 and CSS3 standards
https://jwmcglynn.github.io/donner/
ISC License
13 stars 1 forks source link

Update dependency rules_python to v0.23.1 #51

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rules_python http_archive minor 0.22.0 -> 0.23.1

⚠ 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.23.1`](https://togithub.com/bazelbuild/rules_python/releases/tag/0.23.1) [Compare Source](https://togithub.com/bazelbuild/rules_python/compare/0.23.0...0.23.1) ##### Using Bzlmod with Bazel 6 Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_python", version = "0.23.1") 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 = "84aec9e21cc56fbc7f1335035a71c850d1b9b5cc6ff497306f84cced9a769841", strip_prefix = "rules_python-0.23.1", url = "https://github.com/bazelbuild/rules_python/releases/download/0.23.1/rules_python-0.23.1.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 = "84aec9e21cc56fbc7f1335035a71c850d1b9b5cc6ff497306f84cced9a769841", strip_prefix = "rules_python-0.23.1/gazelle", url = "https://github.com/bazelbuild/rules_python/releases/download/0.23.1/rules_python-0.23.1.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(bzlmod+gazelle): update BCR release presubmit to use correct example by [@​rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1264](https://togithub.com/bazelbuild/rules_python/pull/1264) **Full Changelog**: https://github.com/bazelbuild/rules_python/compare/0.23.0...0.23.1 ### [`v0.23.0`](https://togithub.com/bazelbuild/rules_python/releases/tag/0.23.0) [Compare Source](https://togithub.com/bazelbuild/rules_python/compare/0.22.0...0.23.0) ##### Using Bzlmod with Bazel 6 NOTE: bzlmod support is still experimental; apis are still subject to change This release introduces two notable changes to bzlmod support: - A default toolchain is automatically registered for you. You no longer need to call `register_toolchains()` yourself. Depending on rules_python through bazel_dep is sufficient. Note, however, the Python version used for this default toolchain will change frequently/unexpectedly to track the a recent Python version. - The `name` arg of `python.toolchain` has been removed. The toolchain repo name format is `python_X_Y` e.g. `python_3_11`. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_python", version = "0.23.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 = "8272287b125a23bfc79650ecbbc045ebcaee4d632338b1a50aad34357bcbadce", strip_prefix = "rules_python-0.23.0", url = "https://github.com/bazelbuild/rules_python/releases/download/0.23.0/rules_python-0.23.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 = "8272287b125a23bfc79650ecbbc045ebcaee4d632338b1a50aad34357bcbadce", strip_prefix = "rules_python-0.23.0/gazelle", url = "https://github.com/bazelbuild/rules_python/releases/download/0.23.0/rules_python-0.23.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 - feat(bzlmod): Allowing multiple python.toolchain extension calls by [@​chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1230](https://togithub.com/bazelbuild/rules_python/pull/1230) - build: Upgrade Gazelle to v0.31.0 by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_python/pull/1240](https://togithub.com/bazelbuild/rules_python/pull/1240) - fix: make `import python.runfiles` work with `--experimental_python_import_all_repositories=false` by [@​rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1243](https://togithub.com/bazelbuild/rules_python/pull/1243) - feat(bzlmod): Moving register.toolchains internal by [@​chrislovecnm](https://togithub.com/chrislovecnm) in [https://github.com/bazelbuild/rules_python/pull/1238](https://togithub.com/bazelbuild/rules_python/pull/1238) - docs(compile_pip_requirements): Add note on requirements.txt VC by [@​boomanaiden154](https://togithub.com/boomanaiden154) in [https://github.com/bazelbuild/rules_python/pull/1245](https://togithub.com/bazelbuild/rules_python/pull/1245) - cleanup: Set toolchain target_setting directly instead of via inline ternary by [@​rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1246](https://togithub.com/bazelbuild/rules_python/pull/1246) - fix(bzlmod): give precedence to the first seen versioned toolchain by [@​rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1244](https://togithub.com/bazelbuild/rules_python/pull/1244) - chore: add a pre-commit hook to maintain deleted packages by [@​aignas](https://togithub.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/1208](https://togithub.com/bazelbuild/rules_python/pull/1208) - chore: auto-publish gazelle module to BCR by [@​kormide](https://togithub.com/kormide) in [https://github.com/bazelbuild/rules_python/pull/1247](https://togithub.com/bazelbuild/rules_python/pull/1247) - fix(coverage): bump to latest coverage.py and fix import shadowing by [@​aignas](https://togithub.com/aignas) in [https://github.com/bazelbuild/rules_python/pull/1249](https://togithub.com/bazelbuild/rules_python/pull/1249) - feat: add ppc64le releases and update to 3.10.11, 3.11.3 for python-build-standalone by [@​clnperez](https://togithub.com/clnperez) in [https://github.com/bazelbuild/rules_python/pull/1234](https://togithub.com/bazelbuild/rules_python/pull/1234) - fix(bzlmod)!: Remove ability to specify toolchain repo name. by [@​rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1258](https://togithub.com/bazelbuild/rules_python/pull/1258) - fix: update correct requirements lock file when using os specific lock files by [@​Rasrack](https://togithub.com/Rasrack) in [https://github.com/bazelbuild/rules_python/pull/1123](https://togithub.com/bazelbuild/rules_python/pull/1123) - fix: use `only-binary` for `download_only` `pip download` by [@​lpulley](https://togithub.com/lpulley) in [https://github.com/bazelbuild/rules_python/pull/1219](https://togithub.com/bazelbuild/rules_python/pull/1219) - feat: Adding variable support for distribution in py_wheel by [@​ns-tkonduri](https://togithub.com/ns-tkonduri) in [https://github.com/bazelbuild/rules_python/pull/1251](https://togithub.com/bazelbuild/rules_python/pull/1251) - feat(bzlmod): Register a default toolchain by [@​rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_python/pull/1259](https://togithub.com/bazelbuild/rules_python/pull/1259) ##### New Contributors - [@​boomanaiden154](https://togithub.com/boomanaiden154) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1245](https://togithub.com/bazelbuild/rules_python/pull/1245) - [@​clnperez](https://togithub.com/clnperez) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1234](https://togithub.com/bazelbuild/rules_python/pull/1234) - [@​lpulley](https://togithub.com/lpulley) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1219](https://togithub.com/bazelbuild/rules_python/pull/1219) - [@​ns-tkonduri](https://togithub.com/ns-tkonduri) made their first contribution in [https://github.com/bazelbuild/rules_python/pull/1251](https://togithub.com/bazelbuild/rules_python/pull/1251) **Full Changelog**: https://github.com/bazelbuild/rules_python/compare/0.22.0...0.23.0

Configuration

📅 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.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (cef2dff) 80.74% compared to head (f2568af) 80.74%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #51 +/- ## ======================================= Coverage 80.74% 80.74% ======================================= Files 162 162 Lines 9853 9853 Branches 1622 1622 ======================================= Hits 7956 7956 Misses 1446 1446 Partials 451 451 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `80.74% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jeff+McGlynn#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.