[pull] main from bazel-contrib:main#242
Merged
pull[bot] merged 5 commits intogarymm:mainfrom Apr 22, 2025
Merged
Conversation
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 3.0.1 to 3.0.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst">sphinx-rtd-theme's changelog</a>.</em></p> <blockquote> <h1>3.0.2</h1> <ul> <li>Show current translation when the flyout is attached</li> <li>Fix JavaScript issue that didn't allow users to disable selectors</li> </ul> <p>.. _release-3.0.1:</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/readthedocs/sphinx_rtd_theme/commit/5f03347239fd22a241a5b609ddb2f964c8b429aa"><code>5f03347</code></a> Release 3.0.2</li> <li><a href="https://github.com/readthedocs/sphinx_rtd_theme/commit/17c0685be9f7c032c454a6dd4110bfc3892b7e06"><code>17c0685</code></a> Attached flyout: show the current translation (<a href="https://redirect.github.com/readthedocs/sphinx_rtd_theme/issues/1629">#1629</a>)</li> <li><a href="https://github.com/readthedocs/sphinx_rtd_theme/commit/5db7796b6e9928cd12b9e0f7a0b74b79af7bccc5"><code>5db7796</code></a> Allow disabling selectors (<a href="https://redirect.github.com/readthedocs/sphinx_rtd_theme/issues/1626">#1626</a>)</li> <li>See full diff in <a href="https://github.com/readthedocs/sphinx_rtd_theme/compare/3.0.1...3.0.2">compare view</a></li> </ul> </details> <br /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.3.6 to 3.3.9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pylint-dev/astroid/releases">astroid's releases</a>.</em></p> <blockquote> <h2>v3.3.9</h2> <h1>What's New in astroid 3.3.9?</h1> <p>Release date: 2025-03-09</p> <ul> <li> <p>Fix crash when <code>sys.modules</code> contains lazy loader objects during checking.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/astroid/issues/2686">#2686</a> Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/8589">pylint-dev/pylint#8589</a></p> </li> <li> <p>Upload release assets to PyPI via Trusted Publishing.</p> <p>Refs <a href="https://redirect.github.com/pylint-dev/pylint/issues/10256">pylint-dev/pylint#10256</a></p> </li> </ul> <h2>v3.3.8</h2> <h1>What's New in astroid 3.3.8?</h1> <p>Release date: 2024-12-23</p> <ul> <li> <p>Fix inability to import <code>collections.abc</code> in python 3.13.1. The reported fixes in astroid 3.3.6 and 3.3.7 did not actually fix this issue.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/10112">pylint-dev/pylint#10112</a></p> </li> </ul> <h2>v3.3.7</h2> <h1>What's New in astroid 3.3.7?</h1> <p>Release date: 2024-12-21</p> <ul> <li> <p>Fix inability to import <code>collections.abc</code> in python 3.13.1. The reported fix in astroid 3.3.6 did not actually fix this issue.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/10112">pylint-dev/pylint#10112</a></p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pylint-dev/astroid/blob/main/ChangeLog">astroid's changelog</a>.</em></p> <blockquote> <h1>What's New in astroid 3.3.9?</h1> <p>Release date: 2025-03-09</p> <ul> <li> <p>Fix crash when <code>sys.modules</code> contains lazy loader objects during checking.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/astroid/issues/2686">#2686</a> Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/8589">pylint-dev/pylint#8589</a></p> </li> <li> <p>Upload release assets to PyPI via Trusted Publishing.</p> <p>Refs <a href="https://redirect.github.com/pylint-dev/pylint/issues/10256">pylint-dev/pylint#10256</a></p> </li> </ul> <h1>What's New in astroid 3.3.8?</h1> <p>Release date: 2024-12-23</p> <ul> <li> <p>Fix inability to import <code>collections.abc</code> in python 3.13.1. The reported fixes in astroid 3.3.6 and 3.3.7 did not actually fix this issue.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/10112">pylint-dev/pylint#10112</a></p> </li> </ul> <h1>What's New in astroid 3.3.7?</h1> <p>Release date: 2024-12-20</p> <p>This release was yanked.</p> <ul> <li> <p>Fix inability to import <code>collections.abc</code> in python 3.13.1. The reported fix in astroid 3.3.6 did not actually fix this issue.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/10112">pylint-dev/pylint#10112</a></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/astroid/commit/a6ccad5ccff353f6bc50eb9e818a462521bd1457"><code>a6ccad5</code></a> Bump astroid to 3.3.9, update changelog</li> <li><a href="https://github.com/pylint-dev/astroid/commit/ec2df9727cf972a8536de208368c492c09a8c8db"><code>ec2df97</code></a> Add setuptools in order to run 3.12/3.13 tests</li> <li><a href="https://github.com/pylint-dev/astroid/commit/74c34fb3b7f66a2f8246f125c144281177b6915f"><code>74c34fb</code></a> Bump actions/cache from 4.2.0 to 4.2.2 (<a href="https://redirect.github.com/pylint-dev/astroid/issues/2692">#2692</a>)</li> <li><a href="https://github.com/pylint-dev/astroid/commit/5512bf2603e0959668bc816f992c656f6bd108df"><code>5512bf2</code></a> Update release workflow to use Trusted Publishing (<a href="https://redirect.github.com/pylint-dev/astroid/issues/2696">#2696</a>)</li> <li><a href="https://github.com/pylint-dev/astroid/commit/aad8e689943e7ea106c6a88624812c9946ab3c06"><code>aad8e68</code></a> [Backport maintenance/3.3.x] Fix missing <strong>dict</strong> (<a href="https://redirect.github.com/pylint-dev/astroid/issues/2685">#2685</a>) (<a href="https://redirect.github.com/pylint-dev/astroid/issues/2690">#2690</a>)</li> <li><a href="https://github.com/pylint-dev/astroid/commit/234be58ddd7df5a9dff9bbb3773ce908199ed826"><code>234be58</code></a> Fix RuntimeError caused by analyzing live objects with <code>__getattribute__</code> or ...</li> <li><a href="https://github.com/pylint-dev/astroid/commit/6aeafd586b00390c724863d9ff8b79755cb9bdc8"><code>6aeafd5</code></a> Bump pylint in pre-commit configuration to 3.2.7</li> <li><a href="https://github.com/pylint-dev/astroid/commit/d52799b6e8359d89f20f020d77e98a71d2cde20f"><code>d52799b</code></a> Bump astroid to 3.3.8, update changelog</li> <li><a href="https://github.com/pylint-dev/astroid/commit/68714dfe0bce926f5783212d9a2a5cdaedbc8264"><code>68714df</code></a> [Backport maintenance/3.3.x] Another attempt at fixing the <code>collections.abc</code> ...</li> <li><a href="https://github.com/pylint-dev/astroid/commit/7cfbad135cbfea51cf8298cd506c0ee03bd42d8a"><code>7cfbad1</code></a> Skip flaky recursion test on PyPy (<a href="https://redirect.github.com/pylint-dev/astroid/issues/2661">#2661</a>) (<a href="https://redirect.github.com/pylint-dev/astroid/issues/2663">#2663</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pylint-dev/astroid/compare/v3.3.6...v3.3.9">compare view</a></li> </ul> </details> <br /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [packaging](https://github.com/pypa/packaging) from 24.2 to 25.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pypa/packaging/releases">packaging's releases</a>.</em></p> <blockquote> <h2>25.0</h2> <h2>What's Changed</h2> <ul> <li>Re-add a test for Unicode file name parsing by <a href="https://github.com/Siddhesh-Agarwal"><code>@Siddhesh-Agarwal</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/863">pypa/packaging#863</a></li> <li>Upgrade to ruff 0.9.1 by <a href="https://github.com/DimitriPapadopoulos"><code>@DimitriPapadopoulos</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/865">pypa/packaging#865</a></li> <li>Add support for PEP 738 Android tags by <a href="https://github.com/mhsmith"><code>@mhsmith</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/880">pypa/packaging#880</a></li> <li>feat(markers): support 'extras' and 'dependency_groups' markers by <a href="https://github.com/frostming"><code>@frostming</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/888">pypa/packaging#888</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Siddhesh-Agarwal"><code>@Siddhesh-Agarwal</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/packaging/pull/863">pypa/packaging#863</a></li> <li><a href="https://github.com/mhsmith"><code>@mhsmith</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/packaging/pull/880">pypa/packaging#880</a></li> <li><a href="https://github.com/frostming"><code>@frostming</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/packaging/pull/888">pypa/packaging#888</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pypa/packaging/compare/24.2...25.0">https://github.com/pypa/packaging/compare/24.2...25.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/packaging/blob/main/CHANGELOG.rst">packaging's changelog</a>.</em></p> <blockquote> <p>25.0 - 2025-04-19</p> <pre><code> * PEP 751: Add support for ``extras`` and ``dependency_groups`` markers. (:issue:`885`) * PEP 738: Add support for Android platform tags. (:issue:`880`) </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/packaging/commit/f58537628042c7f29780b9d33f31597e7fc9d664"><code>f585376</code></a> Bump for release</li> <li><a href="https://github.com/pypa/packaging/commit/600ecea15b2388037b8dc94883504ca612947576"><code>600ecea</code></a> Add changelog entries</li> <li><a href="https://github.com/pypa/packaging/commit/3910129009b25dd1aa1fe32e644bc891188c56fe"><code>3910129</code></a> support 'extras' and 'dependency_groups' markers (<a href="https://redirect.github.com/pypa/packaging/issues/888">#888</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/8e49b4373731bffb110c9583e64ad802cb67c7ea"><code>8e49b43</code></a> Add support for PEP 738 Android tags (<a href="https://redirect.github.com/pypa/packaging/issues/880">#880</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/e624d8edfaa28865de7b5a7da8bd59fd410e5331"><code>e624d8e</code></a> Bump the github-actions group with 3 updates (<a href="https://redirect.github.com/pypa/packaging/issues/886">#886</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/71f38d872a6e88b28da9d1b270f8512475bc90d4"><code>71f38d8</code></a> Bump the github-actions group with 2 updates (<a href="https://redirect.github.com/pypa/packaging/issues/878">#878</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/9b4922dd3c26c8522d716bec79d7e0ed408631c1"><code>9b4922d</code></a> Bump the github-actions group with 3 updates (<a href="https://redirect.github.com/pypa/packaging/issues/870">#870</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/8510bd9d3bab5571974202ec85f6ef7b0359bfaf"><code>8510bd9</code></a> Upgrade to ruff 0.9.1 (<a href="https://redirect.github.com/pypa/packaging/issues/865">#865</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/9375ec2eff48257967c97d331b9a76019e95bdb0"><code>9375ec2</code></a> Re-add tests for Unicode file name parsing (<a href="https://redirect.github.com/pypa/packaging/issues/863">#863</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/2256ed4ac261309a09daa04cc801abd7cff2e6f0"><code>2256ed4</code></a> Bump the github-actions group across 1 directory with 2 updates (<a href="https://redirect.github.com/pypa/packaging/issues/864">#864</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pypa/packaging/compare/24.2...25.0">compare view</a></li> </ul> </details> <br /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ux (#2760) Various cleanup and prep work to switch bootstrap=script to be the default. * Change `bootstrap_impl` to always be disabled for windows. This allows setting it to true in a bazelrc without worrying about the target platform. This is done by using FeatureFlagInfo to force the value to disabled for windows. This allows any downstream usages of the flag to Just Work and not have to add selects() for windows themselves. * Switch pip_repository_annotations test to `import python.runfiles`. The script bootstrap doesn't add the runfiles root to sys.path, so `import rules_python` stops working. * Switch gazelle workspace to using the runtime-env toolchain. It was previously implicitly using the deprecated one built into bazel, which doesn't provide various necessary provider fields. * Make the local toolchain use `sys._base_executable` instead of `sys.executable` when finding the interpreter. Otherwise, it might find a venv interpreter or not properly handle wrapper scripts like pyenv. * Adds a toolchain attribute/field to indicate if the toolchain supports a build-time created venv. This is due to the runtime_env toolchain. See PR comments for details, but in short: if we don't know the python interpreter path and version at build time, the venv may not properly activate or find site-packages. If it isn't supported, then the stage1 bootstrap creates a temporary venv, similar to how the zip case is handled. Unfortunately, this requires invoking Python itself as part of program startup, but I don't see a way around that -- note this is only triggered by the runtime-env toolchain. * Make the runtime-env toolchain better support virtualenvs. Because it's a wrapper that re-invokes Python, Python can't automatically detect its in a venv. Two tricks are used (`exec -a` and PYTHONEXECUTABLE) to help address this (but they aren't guaranteed to work, hence the "recreate at runtime" logic). * Fix a subtle issue where `sys._base_executable` isn't set correctly due to `home` missing in the pyvenv.cfg file. This mostly only affected the creation of venvs from within the bazel-created venv. * Change the bazel site init to always add the build-time created site-packages (if it exists) as a site directory. This matches the system_python bootstrap behavior a bit better, which just shoved everything onto sys.path using PYTHONPATH. * Skip running runtime_env_toolchains tests on RBE. RBE's system python is 3.6, but the script bootstrap uses 3.9 features. (Running it on RBE is questionable anyways). Along the way... * Ignore gazelle convenience symlinks * Switch pip_repository_annotations test to use non-legacy_external_runfiles based paths. The legacy behavior is disabled in Bazel 8+ by default. * Also document why the script bootstrap doesn't add the runfiles root to sys.path. Work towards #2521 --------- Co-authored-by: Ignas Anikevicius <240938+aignas@users.noreply.github.com>
Also escape plus and percent when generating the repo name from the wheel version. Sometimes they have such characters in them. Fixes #2799 Co-authored-by: Richard Levasseur <rlevasseur@google.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )