Update dependency rules_python to v0.32.2 #331
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.31.0
->0.32.2
Release Notes
bazelbuild/rules_python (rules_python)
v0.32.2
Compare Source
Fixed
v0.32.1
Compare Source
Using Bzlmod with Bazel 6
NOTE: bzlmod support is still beta. APIs subject to change.
Add to your
MODULE.bazel
file:Using WORKSPACE
Paste this snippet into your
WORKSPACE
file:Gazelle plugin
Paste this snippet into your
WORKSPACE
file:What's Changed
Changed
MODULE.bazel.lock
whl_library
rule attributes are nowsorted in the attributes section. We are also removing values that are not
default in order to reduce the size of the lock file.
coverage.py
to 7.4.3.non-blocking downloads.
pip_tools
to >= 7.4.0include security fixes
3.8.18
,3.9.18
and3.10.13
3.8 -> 3.8.19
3.9 -> 3.9.19
3.10 -> 3.10.14
3.11 -> 3.11.9
3.12 -> 3.12.3
Fixed
specific wheels when the wheels are for any python interpreter version. Fixes
#1810.
duplicates in the METADATA. Fixes
#1873.
project
orpackage
generation modes, do not generatepy_test
rules when there are no test files and do not set
main = "__test__.py"
whenthat file doesn't exist.
the group potentially fixing aspects that want to traverse a
py_library
graph.Fixes #1760.
pip.parse
extension is now possible, see theexamples/pip_parse/MODULE.bazel
for how to do it.See #1371.
isort
andblack
checks (see #1674).
Added
3.11.8
,3.12.2
using the 20240224 release.3.8.19
,3.9.19
,3.10.14
,3.11.9
,3.12.3
usingthe 20240415 release.
python_visibility
directive to control visibilityof generated targets by appending additional visibility labels.
python_default_visibility
directive to control thedefault visibility of generated targets. See the docs
for details.
python_test_file_pattern
directive. This directive tellsgazelle which python files should be mapped to the
py_test
rule. See theoriginal issue and the docs
for details.
data_files
attributes in py_wheel rule(#1777)
bzlmod
installations now provide atwine
setup for the defaultPython toolchain in
rules_python
for version 3.11.experimental_index_url
,experimental_extra_index_urls
andexperimental_index_url_overrides
topip.parse
for using the bazeldownloader. If you see any issues, report in
#1357. The URLs for
the whl and sdist files will be written to the lock file. Controlling whether
the downloading of metadata is done in parallel can be done using
parallel_download
attribute.include_dep
. Also add documentation forannotations to
gazelle/README.md
.rules_python
depends now onrules_cc
0.0.9use_hub_alias_dependencies
has been added that is goingto become default in the next release. This makes use of
dep_template
flagin the
whl_library
rule. This also affects theexperimental_requirement_cycles
feature where the dependencies that are ina group would be only accessible via the hub repo aliases. If you still
depend on legacy labels instead of the hub repo aliases and you use the
experimental_requirement_cycles
, now is a good time to migrate.Full Changelog: bazelbuild/rules_python@0.32.0...0.32.1
v0.32.0
Compare Source
Changed
MODULE.bazel.lock
whl_library
rule attributes are nowsorted in the attributes section. We are also removing values that are not
default in order to reduce the size of the lock file.
coverage.py
to 7.4.3.bazel_features
to 1.9.1 to detect optional supportnon-blocking downloads.
pip_tools
to >= 7.4.0include security fixes
3.8.18
,3.9.18
and3.10.13
3.8 -> 3.8.19
3.9 -> 3.9.19
3.10 -> 3.10.14
3.11 -> 3.11.9
3.12 -> 3.12.3
Fixed
specific wheels when the wheels are for any python interpreter version. Fixes
#1810.
duplicates in the METADATA. Fixes
#1873.
project
orpackage
generation modes, do not generatepy_test
rules when there are no test files and do not set
main = "__test__.py"
whenthat file doesn't exist.
the group potentially fixing aspects that want to traverse a
py_library
graph.Fixes #1760.
pip.parse
extension is now possible, see theexamples/pip_parse/MODULE.bazel
for how to do it.See #1371.
isort
andblack
checks (see #1674).
Added
3.11.8
,3.12.2
using the 20240224 release.3.8.19
,3.9.19
,3.10.14
,3.11.9
,3.12.3
usingthe 20240415 release.
python_visibility
directive to control visibilityof generated targets by appending additional visibility labels.
python_default_visibility
directive to control thedefault visibility of generated targets. See the docs
for details.
python_test_file_pattern
directive. This directive tellsgazelle which python files should be mapped to the
py_test
rule. See theoriginal issue and the docs
for details.
data_files
attributes in py_wheel rule(#1777)
bzlmod
installations now provide atwine
setup for the defaultPython toolchain in
rules_python
for version 3.11.experimental_index_url
,experimental_extra_index_urls
andexperimental_index_url_overrides
topip.parse
for using the bazeldownloader. If you see any issues, report in
#1357. The URLs for
the whl and sdist files will be written to the lock file. Controlling whether
the downloading of metadata is done in parallel can be done using
parallel_download
attribute.include_dep
. Also add documentation forannotations to
gazelle/README.md
.rules_python
depends now onrules_cc
0.0.9use_hub_alias_dependencies
has been added that is goingto become default in the next release. This makes use of
dep_template
flagin the
whl_library
rule. This also affects theexperimental_requirement_cycles
feature where the dependencies that are ina group would be only accessible via the hub repo aliases. If you still
depend on legacy labels instead of the hub repo aliases and you use the
experimental_requirement_cycles
, now is a good time to migrate.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 has been generated by Mend Renovate. View repository job log here.