Skip to content

Add deprecation warnings for deprecated elements in certbot.display.util#8989

Merged
bmw merged 3 commits intocertbot:masterfrom
adferrand:deprecate-elements-in-displayutil
Aug 17, 2021
Merged

Add deprecation warnings for deprecated elements in certbot.display.util#8989
bmw merged 3 commits intocertbot:masterfrom
adferrand:deprecate-elements-in-displayutil

Conversation

@adferrand
Copy link
Copy Markdown
Collaborator

@bmw bmw self-assigned this Aug 16, 2021
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
@bmw bmw merged commit 6a9e0ec into certbot:master Aug 17, 2021
bmw added a commit that referenced this pull request Aug 30, 2021
Fixes #6844.

This PR does two things:

1. Changes ACMEv1 deprecation warnings from `PendingDeprecationWarning` to `DeprecationWarning`.
2. Changes the ACMEv1 deprecation warnings to be on references to the class themselves. This is the approach taken in #8989, the PRs linked there, and the `cryptography` code in the code comment. I think this approach warns in more cases and I updated our unit tests to avoid hitting these warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add deprecation warnings for legacy certbot.display.util code

2 participants