Skip to content

Cannot build with ray in Docker #84

@Fmstrat

Description

@Fmstrat

In a bog standard Docker build:

FROM python

WORKDIR /app

ADD ./ ./

RUN pip install -e .

Getting:

2.227 Obtaining file:///app
2.228   Installing build dependencies: started
5.611   Installing build dependencies: finished with status 'done'
5.611   Checking if build backend supports build_editable: started
5.843   Checking if build backend supports build_editable: finished with status 'done'
5.844   Getting requirements to build editable: started
6.087   Getting requirements to build editable: finished with status 'done'
6.089   Preparing editable metadata (pyproject.toml): started
6.322   Preparing editable metadata (pyproject.toml): finished with status 'done'
6.731 Collecting pydantic<2.5 (from LLMPerf==0.1.0)
6.827   Downloading pydantic-2.4.2-py3-none-any.whl.metadata (158 kB)
7.090 INFO: pip is looking at multiple versions of llmperf to determine which version is compatible with other requirements. This could take a while.
7.093 ERROR: Could not find a version that satisfies the requirement ray (from llmperf) (from versions: none)
7.364
7.364 [notice] A new release of pip is available: 24.3.1 -> 25.0.1
7.364 [notice] To update, run: pip install --upgrade pip
7.365 ERROR: No matching distribution found for ray
------
Dockerfile:7
--------------------
   5 |     ADD ./ ./
   6 |
   7 | >>> RUN pip install -e .
   8 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -e ." did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions