a year 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/pyprojecthooks/inprocess/inprocess.py", line 353, in
10 20.54 main()
10 20.54 File "/opt/venv/lib/python3.11/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 335, in main
10 20.54 jsonout['returnval'] = hook(**hook_input['kwargs'])
10 20.54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 20.54 File "/opt/venv/lib/python3.11/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 118, in getrequiresforbuildwheel
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/buildmeta.py", line 327, in getrequiresforbuild_wheel
10 20.54 return self.getbuildrequires(configsettings, 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 _getbuildrequires
10 20.54 self.run_setup()
10 20.54 File "/tmp/pip-build-env-znx8kvh3/overlay/lib/python3.11/site-packages/setuptools/buildmeta.py", line 497, in runsetup
10 20.54 super().runsetup(setupscript=setup_script)
10 20.54 File "/tmp/pip-build-env-znx8kvh3/overlay/lib/python3.11/site-packages/setuptools/buildmeta.py", line 313, in runsetup
10 20.54 exec(code, locals())
10 20.54 File "", line 55, in
10 20.54 File "", line 52, in guardpy_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