Skip to content
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

Deprecation warnings flask_wtf and jina2 #318

Open
PanderMusubi opened this issue Sep 18, 2023 · 0 comments
Open

Deprecation warnings flask_wtf and jina2 #318

PanderMusubi opened this issue Sep 18, 2023 · 0 comments
Labels
dependencies Pull requests that update a dependency file good first issue Good for newcomers

Comments

@PanderMusubi
Copy link
Collaborator

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 PanderMusubi added the dependencies Pull requests that update a dependency file label Sep 18, 2023
@greyli greyli removed their assignment Sep 21, 2023
@PanderMusubi PanderMusubi added the good first issue Good for newcomers label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants