fastapi-utils icon indicating copy to clipboard operation
fastapi-utils copied to clipboard

[BUG] SQLAlchemy is broken in Poetry

Open jotradovec opened this issue 2 years ago • 0 comments

SQLAlchemy is broken in Poetry When running poetry install on toml with fastapi utils, it fails on sqlalchemy dependency because of this https://github.com/python-poetry/poetry/issues/8529

[Errno 36] File name too long: '/home//.cache/pypoetry/artifacts/7a/10/99/aef84587ad34e485f2229e9f3f022b9670cbddbae9437e86783c9041d9/tmp_6ysy5q6' -> '/home//.cache/pypoetry/artifacts/7a/10/99/aef84587ad34e485f2229e9f3f022b9670cbddbae9437e86783c9041d9/SQLAlchemy-1.4.50-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl'

To Reproduce Steps to reproduce the behavior:

  1. Having toml with fastapi-utils = "^0.2.1" and no other dependency on SQLAlchemy
  2. Run poetry install
  3. See error

Expected behavior Everything is installed without error.

Environment:

  • OS: Ubuntu

Note: the problem is for version 1.4.49 and 1.4.50 of the sqlalchemy. Workaround: place slqalchemy = <1.4.49 in local toml file

jotradovec avatar Dec 07 '23 09:12 jotradovec