fecgov / openFEC

The first RESTful API for the Federal Election Commission. We're aiming to make campaign finance more accessible for journalists, academics, developers, and other transparency seekers.
https://api.open.fec.gov/developers
Other
483 stars 106 forks source link

Remove pytest deprecation warnings by upgrading Flask-SqlAlchemy #5486

Open tmpayton opened 1 year ago

tmpayton commented 1 year ago

What we’re after

The Flask upgrade has caused deprecation warnings when running pytest. This issue is coming from Flask-sqlalchemy. To fix this we need to upgrade flask-sqlalchemy.

Warnings: 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.

DeprecationWarning: 'propagate_exceptions' is deprecated and will be removed in Flask 2.3.

Related ticket(s)

Action item(s)

Completion criteria

References/resources/technical considerations

image

tmpayton commented 1 year ago

Moving this to the backlog since we put this on hold.