Skip to content

Conversation

@waylan
Copy link
Member

@waylan waylan commented May 24, 2022

This completely removes all objects which were deprecated back on version 3.0. We are now working on 3.4 so I think perhaps we can move forward with this. The one hesitation I have is that it is possible some older (unmaintained) extensions could stop working. However, given the time that has passed, and the fact that those extensions probably don't even support the new minimum Python version, I expect this to mostly be a non-issue.

So far, I have only made changes to the code. I still need to add something to the release notes.

@waylan waylan added the requires-changes Awaiting updates after a review. label May 24, 2022
@waylan waylan added this to the Version 3.4 milestone May 24, 2022
@waylan
Copy link
Member Author

waylan commented May 24, 2022

After having made these changes it occurs to me that we could perhaps have raised some sort of DeprecationError for a version before completely removing these objects. Any thoughts?

@waylan waylan requested review from facelessuser and mitya57 May 24, 2022 19:14
@waylan waylan added needs-review Needs to be reviewed and/or approved. and removed requires-changes Awaiting updates after a review. labels May 24, 2022
Copy link
Collaborator

@mitya57 mitya57 left a comment

Choose a reason for hiding this comment

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

Looks good, just one typo noticed.

@mitya57
Copy link
Collaborator

mitya57 commented May 24, 2022

After having made these changes it occurs to me that we could perhaps have raised some sort of DeprecationError for a version before completely removing these objects. Any thoughts?

You mean one intermediate step between DeprecationWarning and complete removal? I don't see any sense, warnings are quite visible and I don't remember any other projects doing this. Some projects have distinct PendingDeprecationWarning and DeprecationWarning, though.

Co-authored-by: Dmitry Shachnev <mitya57@users.noreply.github.com>
@waylan waylan merged commit a767b2d into Python-Markdown:master May 27, 2022
@waylan waylan deleted the dep branch May 27, 2022 13:13
@waylan waylan added approved The pull request is ready to be merged. and removed needs-review Needs to be reviewed and/or approved. labels May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved The pull request is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants