Skip to content

Commit 497c9b6

Browse files
Bump bazel-runfiles from 1.4.1 to 1.5.1 in /tools (bazelbuild#5094)
Bumps [bazel-runfiles](https://github.com/bazel-contrib/rules_python) from 1.4.1 to 1.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bazel-contrib/rules_python/releases">bazel-runfiles's releases</a>.</em></p> <blockquote> <h2>1.5.1</h2> <p>For more detailed setup instructions, see <a href="https://rules-python.readthedocs.io/en/latest/getting-started.html">https://rules-python.readthedocs.io/en/latest/getting-started.html</a></p> <p>For the user-facing changelog see <a href="https://rules-python.readthedocs.io/en/latest/changelog.html#v1-5-1">here</a></p> <h2>Using Bzlmod</h2> <p>Add to your <code>MODULE.bazel</code> file:</p> <pre lang="starlark"><code>bazel_dep(name = &quot;rules_python&quot;, version = &quot;1.5.1&quot;) <p>python = use_extension(&quot;<a href="https://github.com/rules"><code>@​rules</code></a>_python//python/extensions:python.bzl&quot;, &quot;python&quot;)<br /> python.toolchain(<br /> python_version = &quot;3.13&quot;,<br /> )</p> <p>pip = use_extension(&quot;<a href="https://github.com/rules"><code>@​rules</code></a>_python//python/extensions:pip.bzl&quot;, &quot;pip&quot;)<br /> pip.parse(<br /> hub_name = &quot;pypi&quot;,<br /> python_version = &quot;3.13&quot;,<br /> requirements_lock = &quot;//:requirements_lock.txt&quot;,<br /> )</p> <p>use_repo(pip, &quot;pypi&quot;)<br /> </code></pre></p> <h2>Using WORKSPACE</h2> <p>Paste this snippet into your <code>WORKSPACE</code> file:</p> <pre lang="starlark"><code>load(&quot;@bazel_tools//tools/build_defs/repo:http.bzl&quot;, &quot;http_archive&quot;) <p>http_archive(<br /> name = &quot;rules_python&quot;,<br /> sha256 = &quot;fa532d635f29c038a64c8062724af700c30cf6b31174dd4fac120bc561a1a560&quot;,<br /> strip_prefix = &quot;rules_python-1.5.1&quot;,<br /> url = &quot;<a href="https://github.com/bazel-contrib/rules_python/releases/download/1.5.1/rules_python-1.5.1.tar.gz">https://github.com/bazel-contrib/rules_python/releases/download/1.5.1/rules_python-1.5.1.tar.gz</a>&quot;,<br /> )</p> <p>load(&quot;<a href="https://github.com/rules"><code>@​rules</code></a>_python//python:repositories.bzl&quot;, &quot;py_repositories&quot;)</p> <p>py_repositories()<br /> </code></pre></p> <h3>Gazelle plugin</h3> <p>Paste this snippet into your <code>WORKSPACE</code> file:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/bazel-contrib/rules_python/blob/main/CHANGELOG.md">bazel-runfiles's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/bazel-contrib/rules_python/releases/tag/1.5.1">1.5.1</a> - 2025-07-06</h2> <p>{#v1-5-1-fixed}</p> <h3>Fixed</h3> <ul> <li>(pypi) Namespace packages work by default (pkgutil shims are generated by default again) (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/3038">#3038</a>).</li> </ul> <p>{#1-5-0}</p> <h2><a href="https://github.com/bazel-contrib/rules_python/releases/tag/1.5.0">1.5.0</a> - 2025-06-11</h2> <p>{#1-5-0-changed}</p> <h3>Changed</h3> <ul> <li>(toolchain) Bundled toolchain version updates: <ul> <li>3.9 now references 3.9.23</li> <li>3.10 now references 3.10.18</li> <li>3.11 now references 3.11.13</li> <li>3.12 now references 3.12.11</li> <li>3.13 now references 3.13.4</li> </ul> </li> <li>(rules) On Windows, {obj}<code>--bootstrap_impl=system_python</code> is forced. This allows setting <code>--bootstrap_impl=script</code> in bazelrc for mixed-platform environments.</li> <li>(rules) {obj}<code>compile_pip_requirements</code> now generates a <code>.test</code> target. The <code>_test</code> target is deprecated and will be removed in the next major release. (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/2794">#2794</a></li> <li>(py_wheel) py_wheel always creates zip64-capable wheel zips</li> <li>(providers) (experimental) {obj}<code>PyInfo.venv_symlinks</code> replaces <code>PyInfo.site_packages_symlinks</code></li> <li>(deps) Updated setuptools to 78.1.1 to patch CVE-2025-47273. This effectively makes Python 3.9 the minimum supported version for using <code>pip_parse</code>.</li> </ul> <p>{#1-5-0-fixed}</p> <h3>Fixed</h3> <ul> <li>(rules) PyInfo provider is now advertised by py_test, py_binary, and py_library; this allows aspects using required_providers to function correctly. (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/2506">#2506</a>).</li> <li>Fixes when using {obj}<code>--bootstrap_impl=script</code>: <ul> <li><code>compile_pip_requirements</code> now works with it</li> <li>The <code>sys._base_executable</code> value will reflect the underlying interpreter, not venv interpreter.</li> <li>The {obj}<code>//python/runtime_env_toolchains:all</code> toolchain now works with it.</li> </ul> </li> <li>(rules) Better handle flakey platform.win32_ver() calls by calling them multiple times.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bazel-contrib/rules_python/commit/18d0d297aa6949f1eb61db963854d5d6918a5a48"><code>18d0d29</code></a> fix(pypi): only generate namespace package shims if implicit namespaces are d...</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/63841ec092c17eb53de1f47192685461fef6c3f5"><code>63841ec</code></a> fix: work around version parsing by only parsing if site-packages is enabled ...</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/a1ca1da63dc49ea6c56498e898d4c1fa1bd2e32a"><code>a1ca1da</code></a> fix(pypi): namespace_pkgs should pass correct arguments (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/3026">#3026</a>)</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/528181a6ae3d0655c194cf79ace568a622f0bda7"><code>528181a</code></a> fix(toolchains): use posix-compatible exec -a alternative (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/3010">#3010</a>)</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/a89ec64c70d25e3e4276c694d7901745ce1dd2ef"><code>a89ec64</code></a> fix: use platform_info.target_settings in toolchain aliases (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/3001">#3001</a>)</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/379bef5e35755ec51eaf615472ff6418d467903e"><code>379bef5</code></a> Fix argument name typo (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/2984">#2984</a>)</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/9b8f6501e8b814b4120ff23d787f2cb7ba8422c6"><code>9b8f650</code></a> fix: support pre-release versions and add new toolchain versions (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/2969">#2969</a>)</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/ef14ae2143a3707da1b1c865a7b451b154df5353"><code>ef14ae2</code></a> chore: prepare for 1.5 release (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/2973">#2973</a>)</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/108a66cefe3206ba1a15eac4b9dcc586b649aa0b"><code>108a66c</code></a> docs: fix typo in toolchains.md example code (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/2970">#2970</a>)</li> <li><a href="https://github.com/bazel-contrib/rules_python/commit/e03b63c725cbef77a5c9af254331086de4649e15"><code>e03b63c</code></a> refactor: Add missing uses of DefaultInfo (<a href="https://redirect.github.com/bazel-contrib/rules_python/issues/2972">#2972</a>)</li> <li>Additional commits viewable in <a href="https://github.com/bazel-contrib/rules_python/compare/1.4.1...1.5.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bazel-runfiles&package-manager=pip&previous-version=1.4.1&new-version=1.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 2ad5023 commit 497c9b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/requirements_lock.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#
55
# bazel run //tools:requirements.update
66
#
7-
bazel-runfiles==1.4.1 \
8-
--hash=sha256:90e9561ad31708b1f7590af817cfc1251153e981ee103a6be8e632845d696f74
7+
bazel-runfiles==1.5.1 \
8+
--hash=sha256:b7c9e93a31dbaf20d49817df2051b64acde870fcc8508d5796e290a101510773
99
# via -r tools/requirements.in
1010
certifi==2025.6.15 \
1111
--hash=sha256:2e0c7ce7cb5d8f8634ca55d2ba7e6ec2689a2fd6537d8dec1296a477a4910057 \

0 commit comments

Comments
 (0)