Skip to content

Pin SQLAlchemy version to 1.4.46

Vignesh Raman requested to merge wip/vignesh/pin-sqlalchemy-version into master

With SQLAlchemy version 2.0.2 the below error is seen, E AttributeError: module 'sqlalchemy' has no attribute 'all'

The previous version which worked was 1.4.46. So pin SQLAlchemy version to 1.4.46 to fix this error.

Since flask-sqlalchemy 3.0.2 depends on Flask>=2.2, remove package versions for Flask.

https://github.com/pallets-eco/flask-sqlalchemy/issues/1122 https://github.com/pallets-eco/flask-sqlalchemy/pull/1123

https://phabricator.apertis.org/T9563

Merge request reports