chore(deps): update dependency rules_python to v2.4.0 - #16536
Merged
Merged
Conversation
Collaborator
|
/gcbrun |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16536 +/- ##
=======================================
Coverage 92.34% 92.35%
=======================================
Files 2262 2262
Lines 217173 217173
=======================================
+ Hits 200549 200560 +11
+ Misses 16624 16613 -11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
scotthart
approved these changes
Oct 5, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.3.4→2.4.0Release Notes
bazel-contrib/rules_python (rules_python)
v2.4.0Compare Source
{#v2-4-0-changed}
Changed
sys.pathadds the Python runtime in runfiles insteadof the underlying Bazel repository cache directory
(#4104).
requirementsargument ofgazelle_python_manifestin favor of the format-agnostic
lockfilesargument, which supportsuv.lock.3.15.0a8to3.15.0rc1(#4122).
3.15.0rc1to3.15.0rc2.3.11to3.14in {obj}
python.defaults, {obj}python_register_toolchains, and{obj}
python_register_multi_toolchains(#4023).
libpython*.so*files are now excluded by default fromhermetic Python runtime files for recognized Astral
python-build-standalonebuilds (
20250517and newer), which statically linklibpythoninto theinterpreter. Older, custom, or unrecognized runtimes retain them. Set
libpython = "include"or"exclude"on {obj}python.override,{obj}
python.single_version_override,{obj}
python.single_version_platform_override, or{obj}
python_register_toolchainsto override this behavior(#4165).
{#v2-4-0-fixed}
Fixed
current_py_cc_libsis usedas a dependency of
cc_shared_library.coverage_toolwith{obj}
python.single_version_platform_override(#2570).
.pycfile inputs in{obj}
srcswhen {obj}precompileis enabled on {obj}py_library,{obj}
py_binary, and {obj}py_testtargets(#4113).
scripts correctly include the
.batextension(#4114).
RECORDfile paths for extracted.datadirectory contentsso that {obj}
importlib.metadata.files()correctly locates installeddistribution files (#4025).
wheel scripts and RECORD files
(#4125).
MAX_PATHon Windows.runfiles.Pathmethod signatures for Python 3.14typeshed compatibility and fixed {obj}
runfiles.Path.matchon Python 3.12+.(#4023)
--stamp=falseand,instead the metadata file is written at analysis time via
ctx.actions.write().py_testmain validation({obj}
validate_test_main) on Windows: the interpreter used for the checkcouldn't find its DLLs or its stdlib once relocated
(#4079).
the precompiler's interpreter couldn't find its DLLs once relocated
(#4082).
symlinks instead of storing each alias as another copy of the interpreter, and
by omitting shared
libpythonfiles from recognized statically linked Astralruntime builds.
{#v2-4-0-added}
Added
py.typedfiles from wheels are now included in thepyi_srcsof thewheel's
py_library, alongside.pyifiles. Thepy.typedfile of//python/runfilesis now included in itspyi_srcsas well.Runfiles.CreateOrRaiseto return aRunfilesinstanceor raise an error if runfiles cannot be found.
directoryattribute to {obj}lockto support runninguvcommands within subdirectories when generating lock files. Defaults to the
package directory, set it to
Noneor""to set it to the root of the repo(#4029).
{#v2-3-4}
Configuration
📅 Schedule: (UTC)
* * * * 1-5)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.