Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug/chained dependencies #3338

Open
kjanko opened this issue Jul 2, 2024 · 0 comments
Open

bug/chained dependencies #3338

kjanko opened this issue Jul 2, 2024 · 0 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@kjanko
Copy link

kjanko commented Jul 2, 2024

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.

@kjanko kjanko added the bug Something isn't working label Jul 2, 2024
@christinestraub christinestraub added the dependencies Pull requests that update a dependency file label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants