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

Updates to sqlalchemy and queries #154

Merged
merged 8 commits into from
Apr 1, 2023
Merged

Updates to sqlalchemy and queries #154

merged 8 commits into from
Apr 1, 2023

Conversation

@robmarkcole robmarkcole merged commit ad84d17 into master Apr 1, 2023
@robmarkcole robmarkcole deleted the add-test-db branch April 1, 2023 13:42
@timoei
Copy link

timoei commented Apr 4, 2023

Hello @robmarkcole ,

the combination of the schema update and the sqlalchemy upgrade leads to the problem that neither version 2.6 and 3.0 aren't working for me.
Running version 3.0 misses table states_meta and version 2.6 doesn't work with SQLAlchemy > 2.0 (which was upgraded by home assistant itself).

Could you maybe fix version 2.6 also to make it work with SQLAlchemy 2.0? Otherwise it would be nice to have 3.0 also working with older instances of hassio? Actually my Home Assistance instance is up to date, but maybe the database schema wasn't upgraded along with the hassio updates?

@robmarkcole
Copy link
Owner Author

@timoei to use 2.6 you should isolate your python environment (you should always to this actually)

3.0 will work with the HA release tomorrow, so you can wait for that

@timoei
Copy link

timoei commented Apr 5, 2023

hey @robmarkcole thanks for your fast reply and the greate work you guys do! So I will wait for the HA update! :-)

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

Successfully merging this pull request may close these issues.

2 participants