Update dependency rules_python to v1.4.1 #8
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.3.0
->1.4.1
Release Notes
bazel-contrib/rules_python (rules_python)
v1.4.1
Compare Source
{#1-4-1-fixed}
Fixed
requirements file are not present. Fixes
#2863.
{#1-4-0}
v1.4.0
Compare Source
{#1-4-0-changed}
Changed
exec
configuration toolchain now has the forwardedexec_interpreter
now also forwards theToolchainInfo
provider. This isfor increased compatibility with the
RBE
setups where access to theexec
configuration interpreter is needed.
xcrun xcodebuild --showsdks
to find XCode root.3.8.20
versions of the Python3.8
interpreter who hasreached EOL. If users still need other versions of the
3.8
interpreter, please supplythe URLs manually {bzl:obj}
python.toolchain
or {bzl:obj}python_register_toolchains
calls.changed the semantics of
ignore_root_user_error
from "ignore" to "warning". This is nowflipped back to ignoring the issue, and will only emit a warning when the attribute is set
False
.extension has been marked reproducible.
Fixes #2434.
manifest files are loaded when Gazelle is run over a set of non-python directories
PR #2746.
py_binary.srcs
and {attr}py_test.srcs
is no longer mandatory whenmain_module
is specified (for--bootstrap_impl=script
){#1-4-0-fixed}
Fixed
universal lock files with environment markers. Fixes #2690.
--bootstrap_impl=script
) Follow symlinks when searching for runfiles.chmod
when downloading non-windows hermetic toolchainrepositories on Windows. Fixes
#2660.
FAIL
via theRULES_PYTHON_REPO_DEBUG_VERBOSITY
environment variable.transitions transitioning on the
python_version
flag.Fixes #2685.
PYTHONPATH
..pyc
and.pyo
files are also excluded from the interpreters repository files.PYTHONPATH
.requires_file
is treated as if it were omitted, resulting in a validMETADATA
file.target_compatible_with
to all targets they create.PR #2788.
METADATA
entries whenpython_full_version
is used inthe environment marker.
Fixes #2319.
python_version
parameter and transition the requirementlocking to the right interpreter version when using
{obj}
compile_pip_requirements
rule.See #2819.
{#1-4-0-added}
Added
sha256
values in therequirements.txt
is no longermandatory when enabling {attr}
pip.parse.experimental_index_url
feature.This means that
rules_python
will attempt to fetch metadata for allpackages through SimpleAPI unless they are pulled through direct URL
references. Fixes #2023.
In case you see issues with
rules_python
being too eager to fetch the SimpleAPImetadata, you can use the newly added {attr}
pip.parse.experimental_skip_sources
to skip metadata fetching for those packages.
lock
rule that is the replacement for the{obj}
compile_pip_requirements
. This may still have rough cornersso please report issues with it in the
#1975.
Main highlights - the locking can be done within a build action or outside
it, there is no more automatic
test
target (but it can be added on the userside by using
native_test
). For customizing theuv
version that is used,please check the {obj}
uv.configure
tag class.PyInfo.site_packages_symlinks
field added toallow specifying links to create within the venv site packages (only
applicable with {obj}
--bootstrap_impl=script
)(#2156).
equivalent to the standard toolchains. See [Local toolchains] docs for how to
configure them.
$(PYTHON2_ROOTPATH)
and$(PYTHON3_ROOTPATH)
which are runfileslocations equivalents of
$(PYTHON2)
and `$(PYTHON3) respectively.{#1-4-0-removed}
Removed
{#v1-3-0}
Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.