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

Poetry not found #540

Closed
jholla-atx opened this issue Oct 4, 2023 · 6 comments
Closed

Poetry not found #540

jholla-atx opened this issue Oct 4, 2023 · 6 comments
Labels

Comments

@jholla-atx
Copy link

jholla-atx commented Oct 4, 2023

This url 404's in /backend/backend.dockerfile:


RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
    cd /usr/local/bin && \
    ln -s /opt/poetry/bin/poetry && \
    poetry config virtualenvs.create false

The recommended solution from cli output did not work either:
"Replace with https://install.python-poetry.org"

@rnoxy
Copy link

rnoxy commented Oct 7, 2023

I tried installing poetry with pip:

RUN python -m pip install --upgrade pip && \
    POETRY_HOME=/opt/poetry pip install poetry --no-cache-dir && \
    poetry config virtualenvs.create false

@rafalmag
Copy link

In backend/celeryworker.dockerfile and backend/backend.dockerfile I had to update line 6 to:

RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry POETRY_VERSION=1.2.0 python3 && \

and it resolved the problem.
Now fighting with npm...

@miketrimmel
Copy link

Solved it for me. Thx

@willingc
Copy link

willingc commented Nov 11, 2023

See PRs #524 and #529 for the corrected files if you want to take a look.

@tiangolo
Copy link
Member

Thanks! This was solved in #480 🎉

And thanks @willingc! ☕

Copy link

github-actions bot commented Feb 2, 2024

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

@github-actions github-actions bot closed this as completed Feb 2, 2024
alejsdev pushed a commit that referenced this issue Dec 19, 2024
Co-authored-by: github-actions <github-actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants