chore(deps): update dependency rules_python to v1.1.0 #432
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.0.0
->1.1.0
Release Notes
bazelbuild/rules_python (rules_python)
v1.1.0
Compare Source
{#v1-1-0-changed}
Changed
version, per our Bazel support matrix. Earlier versions are not
tested by CI, so functionality cannot be guaranteed.
pip.parse
) From now we will make fewer calls to indexes whenfetching the metadata from SimpleAPI. The calls will be done in parallel to
each index separately, so the extension evaluation time might slow down if
not using {bzl:obj}
pip.parse.experimental_index_url_overrides
.pip.parse
) Only query SimpleAPI for packages that havesha values in the
requirements.txt
file.the version-aware rules are now simply aliases for the base rules. The
python_version
attribute is still used to specify the Python version.pip
to 24.3.1 andpackaging
to 24.2.{#v1-1-0-deprecations}
Deprecations
//python/config_settings:transitions.bzl
and itspy_binary
andpy_test
wrappers are deprecated. Use the regular rules instead.
{#v1-1-0-fixed}
Fixed
toolchains that search PATH to be used for the wheel builder tool.
whl_library
will now not have envmarker information allowing
bazel query
to work in cases where thewhl
isavailable for all of the platforms and the sdist can be built. This fix is
for both WORKSPACE and
bzlmod
setups.Fixes #2450.
Parameter Syntax. (#2396)
pip_parse.experimental_requirement_cycles
and{bzl:obj}
pip_parse.use_hub_alias_dependencies
together now works whenusing WORKSPACE files.
are now printing more details and include the currently active flag
values. Fixes #2466.
PyPI packages used in {bzl:obj}
whl_library
during therepository_rule
phasechange. Fixes #2468.
setup.py
files by default. To restorethis behavior, apply the
# gazelle:python_ignore_files setup.py
directive.whenever
PATH
changes. Fixes#2551.
{#v1-1-0-added}
Added
include_stub_packages
flag tomodules_mapping
. When set toTrue
, thisautomatically includes corresponding stub packages for third-party libraries
that are present and used (e.g.,
boto3
→boto3-stubs
), improvingtype-checking support.
{obj}
experimental_index_url
usage or the regularpip.parse
usage.To select the free-threaded interpreter in the repo phase, please use
the documented env variables.
Fixes #2386.
.pyi
files) and type-checkingonly dependencies added. See {obj}
py_library.pyi_srcs
andpy_library.pyi_deps
(and the same named attributes forpy_binary
andpy_test
).pyi_srcs
to include*.pyi
files.PyInfo
has new fields to aid static analysis tools:{obj}
direct_original_sources
, {obj}direct_pyi_files
,{obj}
transitive_original_sources
, {obj}transitive_pyi_files
.{#v1-1-0-removed}
Removed
find_requirements
in//python:defs.bzl
has been removed.{#v1-0-0}
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.