Build is failing

kjrelationsHOBBY

9 months ago

In the build logs I am getting the following error and I don't understand why or how to read these logs:

10 6.742 ERROR: Could not find a version that satisfies the requirement install==1.3.5 (from versions: none)

10 6.742 ERROR: No matching distribution found for install==1.3.5

10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

[stage-0 6/8] RUN --mount=type=cache,id=s/b8529bb2-2fd5-4e2f-9fe9-4cba84ae97ab-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:
6.644 Collecting hyperframe==6.0.1 (from -r requirements.txt (line 24))
6.652 Downloading hyperframe-6.0.1-py3-none-any.whl.metadata (2.7 kB)
6.672 Collecting hyperlink==21.0.0 (from -r requirements.txt (line 25))
6.680 Downloading hyperlink-21.0.0-py2.py3-none-any.whl.metadata (1.5 kB)
6.698 Collecting idna==3.6 (from -r requirements.txt (line 26))
6.706 Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
6.722 Collecting incremental==22.10.0 (from -r requirements.txt (line 27))
6.730 Downloading incremental-22.10.0-py2.py3-none-any.whl.metadata (6.0 kB)

6.742 ERROR: Could not find a version that satisfies the requirement install==1.3.5 (from versions: none)

6.742 ERROR: No matching distribution found for install==1.3.5

2 warnings found (use --debug to expand):

  • UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
    LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)

Dockerfile:20

18 | ENV NIXPACKSPATH /opt/venv/bin:$NIXPACKSPATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/b8529bb2-2fd5-4e2f-9fe9-4cba84ae97ab-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
21 |

22 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

Error: Docker build failed

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

kjrelationsHOBBY

9 months ago

I've resolved the issue, for some reason one of the packages in my pipfile called just "install" no longer works and removing it continued the build process


Status changed to Solved brody 9 months ago


Build is failing - Railway Help Station