chore(deps): update dependency rules_python to v0.38.0#391
Merged
renovate[bot] merged 1 commit intomainfrom Nov 8, 2024
Merged
chore(deps): update dependency rules_python to v0.38.0#391renovate[bot] merged 1 commit intomainfrom
renovate[bot] merged 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.37.2->0.38.0Release Notes
bazelbuild/rules_python (rules_python)
v0.38.0Compare Source
{#v0-38-0-changed}
Changed
version used; this for Bazel 8+ support (previously version was rules_cc 0.0.9
and no protobuf version specified)
(2310).
for the
twinepublishing rule.--no-build-isolationto allow non-hermetic sdist buildsby default. Users wishing to keep this argument and to enforce more hermetic
builds can do so by passing the argument in
pip.parse#extra_pip_argspip.parse.whl_modificationsnow normalizes the given whl namesand now
pyyamlandPyYAMLwill both work.pip.parsespoke repository naming will be changed in an upcomingrelease in places where the users specify different package versions per
platform in the same hub repository. The naming of the spoke repos is considered
an implementation detail and we advise the users to use the
hubrepositorydirectly to avoid such breakage in the future. If
rules_pythonis missingfeatures to allow one to do that, please raise tickets.
{#v0-38-0-fixed}
Fixed
whl_librarys(617).
pip.parse.experimental_index_urlis set, we need to stillpass the
extra_pip_argsvalue when building ansdist.which fixes usage of the said wheels using standard package managers.
same lock file irrespective if
experimental_index_urlis set by any moduleor not. Fixes
#2268. A known
issue is that it may break
bazel queryand in these use cases it isadvisable to use
cqueryor switch todownload_only = True{#v0-38-0-added}
Added
twinepublishing rules have beenupdated to have a new convention:
requirements_darwin.txt,requirements_linux.txt,requirements_windows.txtfor each respective OSand one extra file
requirements_universal.txtif you prefer a single file.The
requirements.txtfile may be removed in the future.//python/features.bzl#features.versionpip.parse.extra_hub_aliasescan now be used to expose extratargets created by annotations in whl repositories.
Fixes #2187.
pip.parsenow supportswhl-onlysetup usingdownload_only = Truewhere users can specify multiple requirements filesand use the
pipbackend to do the downloading. This was only available forusers setting {bzl:obj}
pip.parse.experimental_index_url, but now users havemore options whilst we continue to work on stabilizing the experimental feature.
{#v0-37-2}
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.