Update dependency rules_python to v0.36.0 #389
Merged
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:
0.35.0
->0.36.0
Release Notes
bazelbuild/rules_python (rules_python)
v0.36.0
Compare Source
Changed
--python_version
flag now also returns{obj}
config_common.FeatureFlagInfo
.patch_strip
attributethat one should use when patching toolchains. Please set it if you are
patching python interpreter. In the next release the default will be set to
0
which better reflects the defaults used in publicbazel
APIs.py_runtime.interpreter_version_info
isn't specified,the {obj}
--python_version
flag will determine the value. This allowsspecifying the build-time Python version for the
{obj}
runtime_env_toolchains
.py_cc_toolchain.libs
and {obj}PyCcToolchainInfo.libs
isoptional. This is to support situations where only the Python headers are
available.
7.1
.Fixed
--no-index
and add--no-build-isolation
to thepip install
command when installing a wheel from a local file, which happenswhen
experimental_index_url
flag is used.platform non-dependent hashes in the lock file when the requirement markers need
to be evaluated.
any changes so that the repository rule or module extensions can be
re-evaluated when the said files change.
t.Fatal
/t.Fatalf
in tests.stage2 bootstrap template.
RUNFILES_MANIFEST_FILE
-based invocations work when used with{obj}
--bootstrap_impl=script
. This fixes invocations using non-sandboxedtest execution with
--enable_runfiles=false --build_runfile_manifests=true
.(#2186).
Required-Dist
when specifying requirements with markersin extra_requires in py_wheel rule.
bootstrap .py file when using {obj}
--bootstrap_impl=script
gen_python_config_settings
has been fixed to includethe flag_values from the platform definitions.
Added
{bzl:obj}
python.override
, {bzl:obj}python.single_version_override
and{bzl:obj}
python.single_version_platform_override
tag classes.See #2081.
PyExecutableInfo
, which containsexecutable-specific information useful for packaging an executable or
or deriving a new one from the original.
have it installed.
python_register_toolchains
and related symbols.
python_repository.patch_strip
attribute forallowing values that are other than
1
, which has been hard-coded up untilnow. If you are relying on the undocumented
patches
support inTOOL_VERSIONS
for registering patched toolchains please consider settingthe
patch_strip
explicitly to1
if you depend on this value - in thefuture the value may change to default to
0
.//python:none
, a special target for use with{obj}
py_exec_tools_toolchain.exec_interpreter
to treat the value asNone
.Removed
http_archive
symbol frompython/repositories.bzl
.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.