-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incompatible_disable_depset_items: disallow the "items" parameter on the depset constructor #9017
Labels
incompatible-change
Incompatible/breaking change
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
type: process
Comments
c-parsons
changed the title
incompatible_disable_depset_inputs: disallow the "inputs" parameter on the depset constructor
incompatible_disable_depset_items: disallow the "items" parameter on the depset constructor
Jul 30, 2019
bazel-io
pushed a commit
that referenced
this issue
Aug 15, 2019
This is an incompatible change attached to new flag --incompatible_disable_depset_items. See #9017 for details. RELNOTES: New incompatible flag --incompatible_disable_depset_items disables the "items" parameter in the Starlark depset constructor. Use "direct" and "transitive" parameters instead. PiperOrigin-RevId: 263597718
This was referenced Nov 22, 2019
It seems that this flag isn't flipped yet. Extending the migration window. |
This was referenced Dec 26, 2019
This was referenced Mar 30, 2020
brandjon
added
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
team-Build-Language
and removed
team-Starlark
labels
Feb 19, 2021
amberdixon
added a commit
to bazel-ios/rules_ios
that referenced
this issue
Nov 16, 2021
luca-digrazia
pushed a commit
to luca-digrazia/DatasetCommitsDiffSearch
that referenced
this issue
Sep 4, 2022
This is an incompatible change attached to new flag --incompatible_disable_depset_items. See bazelbuild/bazel#9017 for details. RELNOTES: New incompatible flag --incompatible_disable_depset_items disables the "items" parameter in the Starlark depset constructor. Use "direct" and "transitive" parameters instead. PiperOrigin-RevId: 263597718
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
incompatible-change
Incompatible/breaking change
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
type: process
Flag: --incompatible_disable_depset_items
Disables the
items
parameter of thedepset()
contructor.Motivation
The
items
parameter has been documented as Deprecated for many months. Users are encouraged to usedirect
andtransitive
instead.Migration
Separate the items of a depset into the direct elements and the transitive depsets to union; use
direct
andtransitive
parameters. See the documentation.The text was updated successfully, but these errors were encountered: