Skip to content

chore(deps): update dependency rules_python to v1.5.1 (main)#15243

Merged
scotthart merged 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/main-rules_python-1.x
Jul 15, 2025
Merged

chore(deps): update dependency rules_python to v1.5.1 (main)#15243
scotthart merged 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/main-rules_python-1.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

@renovate-bot renovate-bot commented Jun 30, 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 June 30, 2025 23:00
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Jun 30, 2025

/gcbrun

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.93%. Comparing base (81c1d01) to head (4f53261).
Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15243   +/-   ##
=======================================
  Coverage   92.93%   92.93%           
=======================================
  Files        2394     2394           
  Lines      215384   215384           
=======================================
+ Hits       200163   200165    +2     
+ Misses      15221    15219    -2     

☔ 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.

@renovate-bot renovate-bot changed the title chore(deps): update dependency rules_python to v1.5.0 (main) chore(deps): update dependency rules_python to v1.5.1 (main) Jul 6, 2025
@renovate-bot renovate-bot force-pushed the renovate/main-rules_python-1.x branch from c76ba12 to 4f53261 Compare July 6, 2025 04:34
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Jul 6, 2025

/gcbrun

@scotthart scotthart merged commit 284ab51 into googleapis:main Jul 15, 2025
78 checks passed
@renovate-bot renovate-bot deleted the renovate/main-rules_python-1.x branch July 15, 2025 16:17
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.

3 participants