Skip to content

Comments

[1.2] Add missing deprecation warning for --dev#6493

Merged
neersighted merged 1 commit into1.2from
backport-6475-to-1.2
Sep 12, 2022
Merged

[1.2] Add missing deprecation warning for --dev#6493
neersighted merged 1 commit into1.2from
backport-6475-to-1.2

Conversation

@poetry-bot
Copy link

@poetry-bot poetry-bot bot commented Sep 12, 2022

Backport 844a720 from #6475.

`--dev` is marked as deprecated for both
[add](https://python-poetry.org/docs/cli/#options-4) and
[remove](https://python-poetry.org/docs/cli/#options-5) commands in the
documentation and emit a warning when used, but this is not reflected in
the CLI help messages.

I also took the occasion to update the documentation to suggest
replacements. Once backported, this would also require an update of the
1.2.0 blog post announcement, which doesn't mention those deprecations.

(cherry picked from commit 844a720)
@neersighted neersighted enabled auto-merge (squash) September 12, 2022 18:51
@neersighted neersighted merged commit 5535e13 into 1.2 Sep 12, 2022
@neersighted neersighted deleted the backport-6475-to-1.2 branch September 12, 2022 19:07
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants