2 years ago
Hi,
My deployment failed due to an incompatible python version. The message recommends me to contact railway support. Could you please instruct on the required changes to ensure a successfull deployment?
10 20.54 RuntimeError: Cannot install on Python version 3.11.9; only versions >=3.7,<3.11 are supported.
I tried both llvmlite==0.41.1 and llvmlite==0.39.1. The project uses Python 3.8 and runs locally without error. Additionally, a deployment 11 months with llvmlite==0.39.1. did not result in an error.
Thanks for your help
10 20.54 error: subprocess-exited-with-error
10 20.54
10 20.54 × Getting requirements to build wheel did not run successfully.
10 20.54 │ exit code: 1
10 20.54 ╰─> [21 lines of output]
10 20.54 Traceback (most recent call last):
10 20.54 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/in<process.py>", line 353, in
10 20.54 main()
10 20.54 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/in<process.py>", line 335, in main
10 20.54 json_out['return_val'] = hook(**hook_input['kwargs'])
10 20.54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 20.54 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/in<process.py>", line 118, in get_requires_for_build_wheel
10 20.54 return hook(config_settings)
10 20.54 ^^^^^^^^^^^^^^^^^^^^^
10 20.54 File "/tmp/pip-build-env-znx8kvh3/overlay/lib/python3.11/site-packages/setuptools/build<meta.py>_", line 327, in get_requires_for_build_wheel
10 20.54 return self._get_build_requires(config_settings, requirements=[])
10 20.54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 20.54 File "/tmp/pip-build-env-znx8kvh3/overlay/lib/python3.11/site-packages/setuptools/build_<meta.py>", line 297, in _get_build_requires
10 20.54 <self.run>_setup()
10 20.54 File "/tmp/pip-build-env-znx8kvh3/overlay/lib/python3.11/site-packages/setuptools/build<meta.py>_", line 497, in run_setup
10 20.54 super().run_setup(setup_script=setup_script)
10 20.54 File "/tmp/pip-build-env-znx8kvh3/overlay/lib/python3.11/site-packages/setuptools/build<meta.py>_", line 313, in run_setup
10 20.54 exec(code, locals())
10 20.54 File "", line 55, in
10 20.54 File "", line 52, in _guard_py_ver
10 20.54 RuntimeError: Cannot install on Python version 3.11.9; only versions >=3.7,<3.11 are supported.
10 20.54 [end of output]
10 20.54
10 20.54 note: This error originates from a subprocess, and is likely not a problem with pip.
10 20.54 error: subprocess-exited-with-error
10 20.54
10 20.54 × Getting requirements to build wheel did not run successfully.
10 20.54 │ exit code: 1
10 20.54 ╰─> See above for output.
10 20.54
10 20.54 note: This error originates from a subprocess, and is likely not a problem with pip.
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/d10a8e84-381a-44fc-b073-0f3e4ed92873-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:
20.54 [end of output]
20.54
20.54 note: This error originates from a subprocess, and is likely not a problem with pip.
20.54 error: subprocess-exited-with-error
20.54
20.54 × Getting requirements to build wheel did not run successfully.
20.54 │ exit code: 1
> ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies