-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'Markup' from 'flask' #25
Comments
If you can propose a fix I'm happy to review and approve. I stepped away from this project a long time ago after it was rejected for listing with approved flask plug-ins and left the code for the community. If it's valuable I'd love to transfer ownership. I'll share an announcement in the readme and in an issue that it will be archived by end of year if no one has time to take it. Thanks |
…upgrade-package werkzeug --upgrade-package flask-login --upgrade-package flask-wtf && pip-sync && python -m pytest tests pass but there are new warnings: flaskext/markdown.py:32: DeprecationWarning: 'flask.Markup' is deprecated dcolish/flask-markdown#25 flask/testing.py:118: DeprecationWarning: The '__version__' attribute is deprecated (can't find a fix)
``` pip-compile -v --upgrade-package aiohttp --upgrade-package prefect --upgrade-package werkzeug --upgrade-package flask-login --upgrade-package flask-wtf && pip-sync && python -m pytest ``` Tests pass but there are new warnings: `flaskext/markdown.py:32: DeprecationWarning: 'flask.Markup' is deprecated` dcolish/flask-markdown#25 `flask/testing.py:118: DeprecationWarning: The '__version__' attribute is deprecated` (can't find a fix)
How about something like:
|
Here is what worked for me:
|
@dcolish |
Hello,
Following the evolution of Flask, an error appears on the "flask-markdown" module.
Would it be possible to fix the module to fit Flask 3.x. x?
Thank you for your help,
The text was updated successfully, but these errors were encountered: