Skip to content

Commit

Permalink
Problem cannot import name 'async_sessionmaker' from 'sqlalchemy.ext.…
Browse files Browse the repository at this point in the history
…asyncio'

Fix: async_sessionmaker was introduced in sqlachemy 2.0, ensure we have at least this version
otherwhise it was using a older system package
  • Loading branch information
olethanh committed Apr 10, 2024
1 parent f0922f2 commit fe2e74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies = [
"systemd-python==235",
"systemd-python==235",
"superfluid~=0.2.1",
"sqlalchemy[asyncio]",
"sqlalchemy[asyncio]>=2.0",
"aiosqlite==0.19.0",
"alembic==1.13.1",
"aiohttp_cors~=0.7.0",
Expand Down

0 comments on commit fe2e74f

Please sign in to comment.