bootstrap-flask icon indicating copy to clipboard operation
bootstrap-flask copied to clipboard

Deprecation warnings flask_wtf and jina2

Open PanderMusubi opened this issue 9 months ago • 0 comments

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

PanderMusubi avatar Sep 18 '23 23:09 PanderMusubi