Skip to content

Conversation

davidism
Copy link
Member

Importing escape and Markup from flask is deprecated. Import directly from markupsafe instead.

We've been deprecating re-exported names from other libraries over time, not sure why I missed these before. May have been that we couldn't rely on module __getattr__ before for better warnings.

@davidism davidism added this to the 2.3.0 milestone Feb 23, 2023
@davidism davidism merged commit 704b689 into main Feb 23, 2023
@davidism davidism deleted the deprecate-markupsafe-export branch February 23, 2023 16:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2023
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.

1 participant