Skip to content

Commit 1036a4d

Browse files
jbedardaignas
andauthored
fix: remove bzlmod pip.parse() annotations attribute (bazel-contrib#1808)
This change removes unused attributes from the `bzlmod` APIs cleaning up the docs and src code. --------- Co-authored-by: Ignas Anikevicius <240938+aignas@users.noreply.github.com>
1 parent daf4224 commit 1036a4d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ A brief description of the categories of changes:
4242
also now handled correctly, stabilizing the implementation.
4343
* (gazelle) Fix Gazelle failing on Windows with
4444
"panic: runtime error: invalid memory address or nil pointer dereference"
45+
* (bzlmod) remove `pip.parse(annotations)` attribute as it is unused and has been
46+
replaced by whl_modifications.
4547

4648
### Added
4749
* (rules) Precompiling Python source at build time is available. but is

python/private/bzlmod/pip.bzl

+3
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,9 @@ The labels are JSON config files describing the modifications.
585585
# don't allow users to override it.
586586
attrs.pop("repo_prefix")
587587

588+
# annotations has been replaced with whl_modifications in bzlmod
589+
attrs.pop("annotations")
590+
588591
return attrs
589592

590593
def _whl_mod_attrs():

0 commit comments

Comments
 (0)