Trying to deploy langgraph studio via Railway but deployment failing

gadsdencode
PRO

7 months ago

Anyone know why this is happening? I'm a noob, so apologies if there's an obvious answer.

Deploy logs

11 5.214 Installing collected packages: setuptools, pyproject_hooks, packaging, build

11 5.214 Attempting uninstall: setuptools

11 5.218 Found existing installation: setuptools 65.5.0

11 5.237 Uninstalling setuptools-65.5.0:

11 5.248 Successfully uninstalled setuptools-65.5.0

11 6.172 Successfully installed build-1.2.2.post1 packaging-24.2 pyproject_hooks-1.2.0 setuptools-75.6.0

11 6.781 Processing /app

11 6.784 Installing build dependencies: started

11 8.763 Installing build dependencies: finished with status 'done'

11 8.765 Getting requirements to build wheel: started

11 9.017 Getting requirements to build wheel: finished with status 'error'

11 9.022 error: subprocess-exited-with-error

11 9.022

11 9.022 × Getting requirements to build wheel did not run successfully.

11 9.022 │ exit code: 1

11 9.022 ╰─> [10 lines of output]

11 9.022 /tmp/pip-build-env-6sih1kz0/overlay/lib/python3.11/site-packages/setuptools/config/expand.py:125: SetuptoolsWarning: File '/app/README.md' cannot be found

11 9.022 return '\n'.join(

11 9.022 running egg_info

11 9.022 creating react_agent.egg-info

11 9.022 writing react_agent.egg-info/PKG-INFO

11 9.022 writing dependencylinks to reactagent.egg-info/dependency_links.txt

11 9.022 writing requirements to react_agent.egg-info/requires.txt

11 9.022 writing top-level names to reactagent.egg-info/toplevel.txt

11 9.022 writing manifest file 'react_agent.egg-info/SOURCES.txt'

11 9.022 error: package directory 'src/react_agent' does not exist

11 9.022 [end of output]

11 9.022

11 9.022 note: This error originates from a subprocess, and is likely not a problem with pip.

11 9.024 error: subprocess-exited-with-error

11 9.024

11 9.024 × Getting requirements to build wheel did not run successfully.

11 9.024 │ exit code: 1

11 9.024 ╰─> See above for output.

11 9.024

11 9.024 note: This error originates from a subprocess, and is likely not a problem with pip.

11 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install --upgrade build setuptools && pip install ." did not complete successfully: exit code: 1

[stage-0 6/8] RUN --mount=type=cache,id=s/cebec79e-f2ac-44b6-8d83-c2fa5a17cbbe-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install --upgrade build setuptools && pip install .:

9.022 [end of output]

9.022

9.022 note: This error originates from a subprocess, and is likely not a problem with pip.

9.024 error: subprocess-exited-with-error

9.024

9.024 × Getting requirements to build wheel did not run successfully.

9.024 │ exit code: 1

9.024 ╰─> See above for output.

9.024

9.024 note: This error originates from a subprocess, and is likely not a problem with pip.

Dockerfile:20

18 | ENV NIXPACKSPATH=/opt/venv/bin:$NIXPACKSPATH

19 | COPY pyproject.toml /app/pyproject.toml

20 | >>> RUN --mount=type=cache,id=s/cebec79e-f2ac-44b6-8d83-c2fa5a17cbbe-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install --upgrade build setuptools && pip install .

21 |

22 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install --upgrade build setuptools && pip install ." 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.

Awaiting User Response

1 Replies

7 months ago

Hey you are getting this because of Incompatible Python or library versions

I would try to resolve that issue and then trigger another deployment.


Status changed to Awaiting User Response railway[bot] 7 months ago


Trying to deploy langgraph studio via Railway but deployment failing - Railway Help Station