helloflask / helloflask/bootstrap-flask
Deprecation warnings flask_wtf and jina2
- Dominant language
- SCSS
- Stars
- 1.2k
- Forks
- 193
- Avg merge
- 4m
- Merged PRs (30d)
- 3
Description
Pytest reports the following deprecation warnings:
=========================================== warnings summary ===========================================
../../.local/lib/python3.10/site-packages/flask_wtf/recaptcha/widgets.py:2
../../.local/lib/python3.10/site-packages/flask_wtf/recaptcha/widgets.py:2
/home/sander/.local/lib/python3.10/site-packages/flask_wtf/recaptcha/widgets.py:2: DeprecationWarning: 'flask.Markup' is deprecated and will be removed in Flask 2.4. Import 'markupsafe.Markup' instead.
from flask import Markup
tests/test_bootstrap4/test_render_table.py: 40 warnings
/home/sander/.local/lib/python3.10/site-packages/jinja2/runtime.py:298: LegacyAPIWarning: The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
return __obj(*args, **kwargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.