jonra1993 / fastapi-alembic-sqlmodel-async

This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.
MIT License
879 stars 143 forks source link

asyncpg 0.25.0 install fail on Windows with python 3.11. #33

Closed dongfengweixiao closed 1 year ago

dongfengweixiao commented 1 year ago

RT asyncpg version need update to 0.27.0.

BTW:How to minimize changes to the lock file after dependency upgrade?

jonra1993 commented 1 year ago

Hello @dongfengweixiao you can use poetry add asyncpg@latest on poetry folder to update a package to its latest version. Despite the fact that python 3.11 is really a new version I am not sure if all packages are compatible or if python 3.11 is a good idea for production systems not by python but because of other libs. Currently, I had problems with other projects migrating to python 3.10 due to libraries compatibilities.

jonra1993 commented 1 year ago

This commit https://github.com/jonra1993/fastapi-alembic-sqlmodel-async/commit/c39efa65bc8e91fbc6028aa909e75d391912e99a upgrade libraries to their last version