Project

General

Profile

Actions

Task #7615

closed

Update flask-sqlalchemy

Added by Rajmund Hruška over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/10/2022
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

Currently, the version 2.5.1 is used. However, there was a new major version released in October. I believe that the new version will solve the DeprecationWarning which is present when running tests. The changelog is available here: https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/changes/

/var/mentat/venv/lib/python3.7/site-packages/flask_sqlalchemy/__init__.py:302: DeprecationWarning: '_app_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'app_ctx' to access the current context.
  queries = _app_ctx_stack.top.sqlalchemy_queries

Related issues

Has duplicate Mentat - Bug #7619: Flask Deprecation warningsIn Progress12/14/2022

Actions
Actions #1

Updated by Rajmund Hruška over 1 year ago

  • Has duplicate Bug #7619: Flask Deprecation warnings added
Actions #2

Updated by Rajmund Hruška over 1 year ago

  • Status changed from New to Closed

Will be solved in #7619.

Actions

Also available in: Atom PDF