Skip to content

chore(deps): update dependency rules_python to v1.5.1 (prepare-for-v3.0.0) #15311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: prepare-for-v3.0.0
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Jul 24, 2025

This PR contains the following updates:

Package Type Update Change
rules_python bazel_dep minor 1.4.1 -> 1.5.1

Release Notes

bazel-contrib/rules_python (rules_python)

v1.5.1

Compare Source

{#v1-5-1-fixed}

Fixed
  • (pypi) Namespace packages work by default (pkgutil shims are generated
    by default again)
    (#​3038).

{#​1-5-0}

v1.5.0

Compare Source

{#​1-5-0-changed}

Changed
  • (toolchain) Bundled toolchain version updates:
    • 3.9 now references 3.9.23
    • 3.10 now references 3.10.18
    • 3.11 now references 3.11.13
    • 3.12 now references 3.12.11
    • 3.13 now references 3.13.4
  • (rules) On Windows, {obj}--bootstrap_impl=system_python is forced. This
    allows setting --bootstrap_impl=script in bazelrc for mixed-platform
    environments.
  • (rules) {obj}compile_pip_requirements now generates a .test target. The
    _test target is deprecated and will be removed in the next major release.
    (#​2794
  • (py_wheel) py_wheel always creates zip64-capable wheel zips
  • (providers) (experimental) {obj}PyInfo.venv_symlinks replaces
    PyInfo.site_packages_symlinks
  • (deps) Updated setuptools to 78.1.1 to patch CVE-2025-47273. This effectively makes
    Python 3.9 the minimum supported version for using pip_parse.

{#​1-5-0-fixed}

Fixed
  • (rules) PyInfo provider is now advertised by py_test, py_binary, and py_library;
    this allows aspects using required_providers to function correctly.
    (#​2506).
  • Fixes when using {obj}--bootstrap_impl=script:
    • compile_pip_requirements now works with it
    • The sys._base_executable value will reflect the underlying interpreter,
      not venv interpreter.
    • The {obj}//python/runtime_env_toolchains:all toolchain now works with it.
  • (rules) Better handle flakey platform.win32_ver() calls by calling them
    multiple times.
  • (tools/wheelmaker.py) Extras are now preserved in Requires-Dist metadata when using requires_file
    to specify the requirements.
  • (pypi) Use bazel downloader for direct URL references and correctly detect the filenames from
    various URL formats - URL encoded version strings get correctly resolved, sha256 value can be
    also retrieved from the URL as opposed to only the --hash parameter. Fixes
    #​2363.
  • (pypi) whl_library now infers file names from its urls attribute correctly.
  • (pypi) When running under bazel test, be sure that temporary requirements file
    remains writable.
  • (py_test, py_binary) Allow external files to be used for main
  • (pypi) Correctly aggregate the sources when the hashes specified in the lockfile differ
    by platform even though the same version is used. Fixes #​2648.
  • (pypi) compile_pip_requirements test rule works behind the proxy
  • (toolchains) The hermetic toolchains now correctly statically advertise the
    releaselevel and serial for pre-release hermetic toolchains ({gh-issue}2837).

{#​1-5-0-added}

Added
  • Repo utilities execute_unchecked, execute_checked, and execute_checked_stdout now
    support log_stdout and log_stderr keyword arg booleans. When these are True
    (the default), the subprocess's stdout/stderr will be logged.
  • (toolchains) Local toolchains can be activated with custom flags. See
    [Conditionally using local toolchains] docs for how to configure.
  • (pypi) Starlark-based evaluation of environment markers (requirements.txt conditionals)
    available (not enabled by default) for improved multi-platform build support.
    Set the RULES_PYTHON_ENABLE_PIPSTAR=1 environment variable to enable it.
  • (utils) Add a way to run a REPL for any rules_python target that returns
    a PyInfo provider.
  • (uv) Handle .netrc and auth_patterns auth when downloading uv. Work towards
    #​1975.
  • (toolchains) Arbitrary python-build-standalone runtimes can be registered
    and activated with custom flags. See the [Registering custom runtimes]
    docs and {obj}single_version_platform_override() API docs for more
    information.
  • (rules) Added support for a using constraints files with compile_pip_requirements.
    Useful when an intermediate dependency needs to be upgraded to pull in
    security patches.
  • (toolchains): 3.14.0b2 has been added as a preview.

{#​1-5-0-removed}

Removed
  • Nothing removed.

{#​1-4-1}


Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), 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.


This change is Reviewable

@renovate-bot renovate-bot requested a review from a team as a code owner July 24, 2025 17:03
@dpebot
Copy link
Collaborator

dpebot commented Jul 24, 2025

/gcbrun

Copy link

codecov bot commented Jul 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.93%. Comparing base (a3d04cd) to head (bd972f8).
Report is 5 commits behind head on prepare-for-v3.0.0.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           prepare-for-v3.0.0   #15311      +/-   ##
======================================================
- Coverage               92.94%   92.93%   -0.01%     
======================================================
  Files                    2390     2390              
  Lines                  215293   215293              
======================================================
- Hits                   200097   200089       -8     
- Misses                  15196    15204       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants