Enable [python-infer].unowned_dependency_behavior="warning"
by default.
#16281
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.
Rough consensus was reached on #15326 and #14975 that enabling
unowned_dependency_behavior="warning"
by default would:--changed
may not detect an inferred dependency on a deleted (or malformed) file #14975 (when users go a step further to make the warning an error)2.14.x
is a relatively quiet release so far, so it seems like there is room in the budget for a new warning like this.The rendered message for this warning is very self-explanatory due to @thejcannon's original work, and @Eric-Arellano's followup work in #15326, so I don't see any obvious documentation changes that need to be made.
[ci skip-build-wheels]
[ci skip-rust]