chore(deps): update dependency rules_python to v1.5.0 (main) #15243
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:
1.4.1
->1.5.0
Release Notes
bazel-contrib/rules_python (rules_python)
v1.5.0
Compare Source
{#1-5-0-changed}
Changed
--bootstrap_impl=system_python
is forced. Thisallows setting
--bootstrap_impl=script
in bazelrc for mixed-platformenvironments.
compile_pip_requirements
now generates a.test
target. The_test
target is deprecated and will be removed in the next major release.(#2794
PyInfo.venv_symlinks
replacesPyInfo.site_packages_symlinks
{#1-5-0-fixed}
Fixed
this allows aspects using required_providers to function correctly.
(#2506).
--bootstrap_impl=script
:compile_pip_requirements
now works with itsys._base_executable
value will reflect the underlying interpreter,not venv interpreter.
//python/runtime_env_toolchains:all
toolchain now works with it.multiple times.
to specify the requirements.
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.
whl_library
now infers file names from itsurls
attribute correctly.bazel test
, be sure that temporaryrequirements
fileremains writable.
by platform even though the same version is used. Fixes #2648.
compile_pip_requirements
test rule works behind the proxyreleaselevel
andserial
for pre-release hermetic toolchains ({gh-issue}2837
).{#1-5-0-added}
Added
execute_unchecked
,execute_checked
, andexecute_checked_stdout
nowsupport
log_stdout
andlog_stderr
keyword arg booleans. When these areTrue
(the default), the subprocess's stdout/stderr will be logged.
[Conditionally using local toolchains] docs for how to configure.
available (not enabled by default) for improved multi-platform build support.
Set the
RULES_PYTHON_ENABLE_PIPSTAR=1
environment variable to enable it.rules_python
target that returnsa
PyInfo
provider..netrc
andauth_patterns
auth when downloadinguv
. Work towards#1975.
and activated with custom flags. See the [Registering custom runtimes]
docs and {obj}
single_version_platform_override()
API docs for moreinformation.
compile_pip_requirements
.Useful when an intermediate dependency needs to be upgraded to pull in
security patches.
{#1-5-0-removed}
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.
This PR was generated by Mend Renovate. View the repository job log.
This change is