Skip to content

Poetry problem #1504

@ihsaan-ullah

Description

@ihsaan-ullah

On mac (apple chip) poetry installation fails. I am using the latest develop branch

 => CANCELED [codabench-compute_worker 2/9] RUN apt-get update && curl -fsSL https://get.docker.com | sh                                             36.5s
 => [codabench-flower  1/10] FROM docker.io/library/python:3.9-alpine@sha256:8a3f589d10f082c9392f43ebab335f625076d9b3689c41cee43a23ab379076a9         0.0s
 => CACHED [codabench-flower  2/10] RUN apk add --no-cache ca-certificates && update-ca-certificates curl                                             0.0s
 => CACHED [codabench-flower  3/10] RUN apk add curl                                                                                                  0.0s
 => ERROR [codabench-flower  4/10] RUN curl -sSL https://install.python-poetry.org | python3 -                                                       36.3s
 => [codabench-site_worker 4/9] RUN poetry config virtualenvs.create false                                                                            0.6s
 => [codabench-django 5/9] RUN poetry config virtualenvs.in-project false                                                                             0.6s
 => [codabench-site_worker 6/9] COPY pyproject.toml ./                                                                                                0.0s
 => [codabench-site_worker 7/9] COPY poetry.lock ./                                                                                                   0.0s
 => CANCELED [codabench-site_worker 8/9] RUN poetry install                                                                                           1.9s
------                                                                                                                                                     
 > [codabench-flower  4/10] RUN curl -sSL https://install.python-poetry.org | python3 -:                                                                   
#0 36.30 Retrieving Poetry metadata                                                                                                                        
#0 36.30                                                                                                                                                   
#0 36.30 # Welcome to Poetry!
#0 36.30 
#0 36.30 This will download and install the latest version of Poetry,
#0 36.30 a dependency and package manager for Python.
#0 36.30 
#0 36.30 It will add the `poetry` command to Poetry's bin directory, located at:
#0 36.30 
#0 36.30 /root/.local/bin
#0 36.30 
#0 36.30 You can uninstall at any time by executing this script with the --uninstall option,
#0 36.30 and these changes will be reverted.
#0 36.30 
#0 36.30 Installing Poetry (1.8.3)
#0 36.30 Installing Poetry (1.8.3): Creating environment
#0 36.30 Installing Poetry (1.8.3): Installing Poetry
#0 36.30 Installing Poetry (1.8.3): An error occurred. Removing partial environment.
#0 36.30 Poetry installation failed.
#0 36.30 See /poetry-installer-error-ohakc5ah.log for error logs.
------
failed to solve: executor failed running [/bin/sh -c curl -sSL https://install.python-poetry.org | python3 -]: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSetupAnything related to the deployment of CodaLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions