Skip to content

[BUG] SQLAlchemy is broken in Poetry #282

@jotradovec

Description

@jotradovec

SQLAlchemy is broken in Poetry
When running poetry install on toml with fastapi utils, it fails on sqlalchemy dependency because of this python-poetry/poetry#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions