Open
Description
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.