Skip to content

Update dependency rules_python to v1.9.1#597

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

Update dependency rules_python to v1.9.1#597
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rules_python-1.x

Conversation

@renovate

@renovate renovate Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
rules_python bazel_dep minor 1.8.31.9.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

bazel-contrib/rules_python (rules_python)

v1.9.1

Compare Source

{#v1-9-1-added}

Added
  • (toolchains) 3.13.12, 3.14.3 Python toolchain from [2026032] release.
  • (toolchains) 3.10.20, 3.11.15, 3.12.13, 3.13.13 3.14.4, 3.15.0a8
  • Python toolchain from [2026041] release.

{#v1-9-0}

v1.9.0

Compare Source

{#v1-9-0-removed}

Removed
  • Nothing removed.

{#v1-9-0-changed}

Changed
  • DEPRECATED: implicit zipapp support
    • Implicit zipapp output of py_binary/py_test has been deprecated and
      replaced by separate {obj}py_zipapp_binary and {obj}py_zipapp_test
      rules. See
      #​3567
      for a detailed migration guide.
  • (toolchains) stop exposing config settings in python toolchain alias repos.
    Please consider depending on the flags defined in
    //python/config_setting/... and the @platforms package instead.
  • (binaries/tests) The PYTHONBREAKPOINT environment variable is automatically inherited
  • (binaries/tests) The {obj}stamp attribute now transitions the Bazel builtin
    {flag}--stamp flag.
  • (pypi) Now the RECORD file patches will follow the quoted or unquoted filenames convention
    in order to make pytorch and friends easier to patch.
  • (wheel) py_wheel no longer expands the input depset during analysis,
    improving analysis performance for targets with large dependency trees.
  • (binaries/tests) (Windows) --enable_runfiles=true is the default for
    py_binary/py_test. Prior behavior can be restored by adding
    @rules_python//command_line_option:enable_runfiles=false or
    @rules_python//command_line_option:enable_runfiles=INHERIT to the
    config_settings attribute. NOTE: enable_runfiles=true will
    soon become required for Windows.

{#v1-9-0-fixed}

Fixed
  • (tests) No more coverage warnings are being printed if there are no sources.
    (#​2762)
  • (gazelle) Ancestor conftest.py files are added in addition to sibling conftest.py.
    (#​3497) Note
    that this behavior can be reverted to the pre-1.9.0 behavior by setting the new
    python_include_ancestor_conftest directive to false.
  • (binaries/tests) Stamped build data generated by Windows actions is readable

{#v1-9-0-added}

Added
  • (binaries/tests) {obj}--debugger: allows specifying an extra dependency
    to add to binaries/tests for custom debuggers.
  • (binaries/tests) Build information is now included in binaries and tests.
    Use the bazel_binary_info module to access it. The {flag}--stamp flag will
    add {obj}--workspace_status_command information.
  • (gazelle) A new directive python_generate_pyi_srcs has been added. When
    true, a py_* target's pyi_srcs attribute will be set if any .pyi files
    that are associated with the target's srcs are present.
    (#​3354).
  • (zipapp) {obj}py_zipapp_binary and {obj}py_zipapp_test rules added. These
    will replace --build_python_zip and the zip output group of
    py_binary/py_test. The zipapp rules support more functionality, correctness,
    and have better build performance.
  • (toolchains) Added {obj}PyExecToolsInfo.exec_runtime for more easily
    getting an RBE-compatible runtime to use for build actions.
  • (providers) {obj}PyExecutableInfo has several new fields to aid packaging
    of binaries: {obj}PyExecutableInfo.app_runfiles,
    {obj}PyExecutableInfo.interpreter_args,
    {obj}PyExecutableInfo.stage2_bootstrap, and
    {obj}PyExecutableInfo.venv_python_exe.
  • (tools/wheelmaker.py) Added support for URL requirements according to PEP 508
    in Requires-Dist metadata. (#​3569)
  • (gazelle) A new directive python_include_ancestor_conftest has been added.
    When false, ancestor conftest targets are not automatically added to
    {bzl:obj}py_test target dependencies. This false behavior is how things
    were in rules_python before 1.9.0. The default is true, as the prior behavior
    was technically incorrect.
    (#​3596)

{#v1-8-5}

v1.8.5

Compare Source

{#v1-8-5-fixed}

Fixed
  • (runfiles) Fixed CurrentRepository() raising ValueError on Windows.
    (#​3579)
  • (pypi) pip_parse no longer silently drops PEP 508 URL-based requirements
    (pkg @​ https://...) when extract_url_srcs=False (the default for
    pip_repository).
  • (pypi) Extras in requirement strings are now normalized per PEP 685,
    fixing missing transitive dependencies when extras contain hyphens
    (e.g., sqlalchemy[postgresql-psycopg2binary]).
    (#​3587)

{#v1-8-4}

v1.8.4

Compare Source

{#v1-8-4-fixed}

Fixed
  • (pipstar): A corner case of evaluation of version specifiers ("1.2" ~= "1.2.0")
    has been fixed improving compatibility with the PEP440 standard.
    Fixes #​3580.
  • (pipstar): We now add read permissions after extracting wheels for the cases
    where the whl file is missing them.
    Fixes #​3554.

{#v1-8-3}


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 added the dependencies Pull requests that update a dependency file label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants