Project

General

Profile

Actions

Task #7615

closed

Update flask-sqlalchemy

Added by Rajmund Hruška about 2 years ago. Updated almost 2 years 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 - Task #7619: Flask Deprecation warningsIn ReviewRajmund Hruška12/14/2022

Actions
Actions

Also available in: Atom PDF