Skip to content

bug/chained dependencies #3338

Open
Open
@kjanko

Description

@kjanko

Describe the bug
Chained dependencies matplotlib and psutil are not recognized during build time when installing unstructured using Poetry as a dependency manager. Happens only with 0.14.9 and not 0.14.8

To Reproduce

[tool.poetry]
name = "sample"
package-mode = false

[tool.poetry.dependencies]
python = ">=3.12,<3.13"
unstructured = ">=0.14.8"
FROM python:3.12-slim

RUN pip install poetry==1.8.2

ENV POETRY_NO_INTERACTION=1 \
    POETRY_VIRTUALENVS_IN_PROJECT=1 \
    POETRY_VIRTUALENVS_CREATE=1

RUN apt-get update -y && apt-get -y install libpq-dev gcc python3-dev

WORKDIR /workdir

COPY ./pyproject.toml /workdir/pyproject.toml

RUN poetry install --without dev --no-root --no-cache --verbose

Expected behavior
matplotlib and psutil should be installed as chained dependencies when installing unstructured wheel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions