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

Issue with SQLAlchemy 1.4.0 #14

Open
sonicnkt opened this issue Mar 17, 2021 · 0 comments
Open

Issue with SQLAlchemy 1.4.0 #14

sonicnkt opened this issue Mar 17, 2021 · 0 comments

Comments

@sonicnkt
Copy link

There is a issue with SQLAlchemy 1.4.0 which is automatically installed as a dependency of Flask-SQLAlchemy in the requirements.txt.

It leads to the following issue when running the app:

sa_url.database = os.path.join(app.root_path, sa_url.database)
AttributeError: can't set attribute

It can easily be fixed for the moment by manually adding
SQLAlchemy==1.3.23 to requirements.txt.

More Infos:
https://stackoverflow.com/questions/66647787/attributeerror-cant-set-attribute-when-connecting-to-sqlite-database-with-flas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant