Skip to content

build(deps): bump rules_python from 2.0.2 to 2.1.0 in /src#649

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bazel/src/master/rules_python-2.1.0
Open

build(deps): bump rules_python from 2.0.2 to 2.1.0 in /src#649
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bazel/src/master/rules_python-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor

Bumps rules_python from 2.0.2 to 2.1.0.

Release notes

Sourced from rules_python's releases.

2.1.0

For more detailed setup instructions, see https://rules-python.readthedocs.io/en/latest/getting-started.html

For the user-facing changelog see here

Using Bzlmod

Add to your MODULE.bazel file:

bazel_dep(name = "rules_python", version = "2.1.0")
python = use_extension("@​rules_python//python/extensions:python.bzl", "python")
python.toolchain(
python_version = "3.13",
)
pip = use_extension("@​rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pypi",
python_version = "3.13",
requirements_lock = "//:requirements_lock.txt",
)
use_repo(pip, "pypi")

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 = "5453dafcb177e886961cd1ec9812972316db4beca5ca379916a627732d4b7d11",
strip_prefix = "rules_python-2.1.0",
url = "https://github.com/bazel-contrib/rules_python/releases/download/2.1.0/rules_python-2.1.0.tar.gz",
)
load("@​rules_python//python:repositories.bzl", "py_repositories")
py_repositories()

Gazelle plugin

Paste this snippet into your WORKSPACE file:

... (truncated)

Changelog

Sourced from rules_python's changelog.

2.1.0 - 2026-06-17

{#v2-1-0-removed}

Removed

  • (build_data) Removed CONFIG_MODE from build data (#3793).
  • (coverage) Support for python 3.8 has been dropped from the bundled coverage.py wheel set, since coverage.py 7.6.2 dropped it.

{#v2-1-0-changed}

Changed

  • (bzlmod) How default runtimes are registered has changed to use a manifest of SHAs and URLs. TOOL_VERSIONS in python/versions.bzl is now empty under bzlmod.
  • (gazelle) WORKSPACE's bazel-gazelle dependency bumped from 0.36.0 to 0.47.0. The go version was also bumped from 1.21.13 to 1.22.9.
  • (gazelle) python_generate_pyi_deps and python_generate_pyi_srcs now default to true.
  • (pypi) The data files of a wheel (bin, includes, etc) are now always included as a library's data dependencies.
  • (coverage) When configure_coverage_tool = True is set but the bundled coverage.py wheel set has no entry for the requested python version and platform, a warning is now printed instead of silently producing an empty coverage report.

{#v2-1-0-fixed}

Fixed

  • (gazelle) py_library and py_test targets with missing source files can now be removed by Gazelle (#3375). However map_kind and alias_kind will not be removed unless people are running a gazelle version that includes bazel-gazelle#2362
  • (bootstrap) Fixed a potential race condition with symlink creation during startup.
  • (gazelle) Fixed handling of auto-included __init__.py files when generating py_binary targets (#3729).
  • (entry_point) From now on mypy type checking will be skipped on the generated files (#3126).
  • (pypi) Support --experimental_isolated_extension_usages (#3668).
  • (uv) use the astral.sh mirror as the preferred url for binary downloads, with github.com as a fallback; for uv >= 0.11.0, read the checksums directly from the dist-manifest contents.
  • (pypi) Fix importlib.metadata.files by ensuring RECORD is included in installed wheel targets, except when built from sdist (#3024).
  • (system_python) Fix AttributeError exception on Debian 10 Buster python installations which may not set sys._base_executable

... (truncated)

Commits
  • 5c32fa9 chore: prepare 2.1 release (#3829)
  • 102b501 feat: expose interpreter files-to-run on PyRuntimeInfo (#3795)
  • 6ce7840 fix(coverage): handle nested coverage collection (#3823)
  • 44ec76f docs: update changelog for 2.0.3 release (#3820)
  • 99d0c3d refactor(toolchains): register runtimes using manifest (#3812)
  • 7053e26 Gazelle: Delete stale py_library and py_test targets (#3817)
  • 42c8e75 feat(toolchains): support runtime registration from manifest (#3802)
  • c0fef46 fix(uv): respect uv.tool settings in pyproject.toml (#3811)
  • 8b38325 build: configure secondary mirror fallback (#3814)
  • dcb7dfa feat: add //command_line_option:extra_toolchains pseudo-flag (#3810)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)

Bumps [rules_python](https://github.com/bazel-contrib/rules_python) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/bazel-contrib/rules_python/releases)
- [Changelog](https://github.com/bazel-contrib/rules_python/blob/main/CHANGELOG.md)
- [Commits](bazel-contrib/rules_python@2.0.2...2.1.0)

---
updated-dependencies:
- dependency-name: rules_python
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file labels Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants