Skip to content

Remove the deprecated implicit_value option kwarg.#20762

Merged
benjyw merged 4 commits intopantsbuild:mainfrom
benjyw:delete_implicit_value_support
Apr 8, 2024
Merged

Remove the deprecated implicit_value option kwarg.#20762
benjyw merged 4 commits intopantsbuild:mainfrom
benjyw:delete_implicit_value_support

Conversation

@benjyw
Copy link
Copy Markdown
Contributor

@benjyw benjyw commented Apr 6, 2024

Now the only implicit value is "True" for boolean
options (that is, --foo is the same as --foo=true).

Now the only implicit value is "True" for boolean
options (that is, --foo is the same as --foo=true).
@benjyw
Copy link
Copy Markdown
Contributor Author

benjyw commented Apr 6, 2024

See #20757 for context

# Validate kwargs.
deprecated_conditional(
lambda: "implicit_value" in kwargs,
removal_version="2.21.0a0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting that I could imagine we do one two more 2.21.0.devX releases before a0 (hopefully not, though!), so this removal_version might end up being a slight fib. Fine by me, though, given we theorise it's unlikely people are using this.

@benjyw benjyw merged commit d9a764b into pantsbuild:main Apr 8, 2024
@benjyw benjyw deleted the delete_implicit_value_support branch April 8, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants