Skip to content

Update dependency rules_python to v2.1.0#70

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rules_python-2.x
Open

Update dependency rules_python to v2.1.0#70
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rules_python-2.x

Conversation

@renovate

@renovate renovate Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
rules_python bazel_dep minor 2.0.22.1.0

Release Notes

bazel-contrib/rules_python (rules_python)

v2.1.0

Compare Source

{#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
    (#​3774).
  • (windows) Fix py_test/py_binary failure when the target name contains
    path separators; the bootstrap stub is now declared as a sibling of the
    .exe launcher
    (#​3789).
  • Fix the forwarding of target_compatible_with from compile_pip_requirements
    towards the underlying *.update target.
    (#​3787)
  • (uv) allow user overwrite the build environment using --action_env to allow
    setting authentication for the index URL.
    (#​3405)
  • (uv) fix the execution of the uv pip compile in the sandbox. Work
    towards better supporting uv out of the box on our platforms.
    (#​1975)
  • (uv) automatically pass the --project parameter based on the source files.
    (#​3087)
  • (coverage) handle nested coverage collection
    (#​3823)

{#v2-1-0-added}

Added
  • (toolchain) Added {obj}PyRuntimeInfo.interpreter_files_to_run so action
    consumers can execute an in-build runtime interpreter with its runfiles.
  • (toolchains) Support dynamically fetching and registering Python runtimes
    from a python-build-standalone manifest file using
    python.override(add_runtime_manifest_urls = ..., runtime_manifest_sha = ...).
  • (toolchain) Added {obj}python.override.toolchain_target_settings to allow
    adding config_setting labels to all registered toolchains.
  • (windows) Full venv support for Windows is available. Set
    {obj}--venvs_site_packages=yes to enable.
  • (test/binaries) When {obj}--venv_site_packages=yes is enabled,
    wheel data, bin, and include files are populated into the venv.
  • (runfiles) Added a pathlib-compatible API: {obj}Runfiles.root()
    Fixes #​3296.
  • (gazelle) Support alias_kind directive.
    Fixes #​3183.
  • (pypi) package_metadata support, fixes
    #​2054.
  • (coverage) Add support for python 3.14 and bump coverage.py to 7.10.7.

{#v2-0-3}

v2.0.3

Compare Source

{#v2-0-3-fixed}

Fixed
  • (pypi) Assume that all of the packages are available on a particular hub if
    there is only a single PyPI compatible index to be used. This saves us an expensive
    PyPI download and supports PyPI mirror implementations that do not support the root
    index functionality. Fixes #​3769.

{#v2-0-2}


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from snape as a code owner June 16, 2026 09:57
@renovate renovate Bot changed the title Update dependency rules_python to v2.0.3 Update dependency rules_python to v2.1.0 Jun 29, 2026
@renovate renovate Bot force-pushed the renovate/rules_python-2.x branch from b6cb2fd to 16c1b41 Compare June 29, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants