haitham783
TRIAL

6 months ago

12 7.254 Building wheel for pendulum (pyproject.toml): finished with status 'error'

12 7.259 error: subprocess-exited-with-error

12 7.259

12 7.259 × Building wheel for pendulum (pyproject.toml) did not run successfully.

12 7.259 │ exit code: 1

12 7.259 ╰─> [28 lines of output]

12 7.259 The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.

12 7.259 Traceback (most recent call last):

12 7.259 File "/tmp/pip-install-2222jh/pendulum_db5651ec38664b6ab010ce54a3628b47/build.py", line 5, in

12 7.259 from distutils.command.buildext import buildext

12 7.259 ModuleNotFoundError: No module named 'distutils'

12 7.259 Traceback (most recent call last):

12 7.259 File "/opt/venv/lib/python3.12/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 353, in

12 7.259 main()

12 7.259 File "/opt/venv/lib/python3.12/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 335, in main

12 7.259 jsonout['returnval'] = hook(**hook_input['kwargs'])

12 7.259 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

12 7.259 File "/opt/venv/lib/python3.12/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 251, in build_wheel

12 7.259 return buildbackend().buildwheel(wheeldirectory, config_settings,

12 7.259 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

12 7.259 File "/tmp/pip-build-env-gnd1sc6r/overlay/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 58, in build_wheel

12 7.259 return WheelBuilder.make_in(

12 7.259 ^^^^^^^^^^^^^^^^^^^^^

12 7.259 File "/tmp/pip-build-env-gnd1sc6r/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 91, in make_in

12 7.259 wb.build(target_dir=directory)

12 7.259 File "/tmp/pip-build-env-gnd1sc6r/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 130, in build

12 7.259 self.build(zipfile)

12 7.259 File "/tmp/pip-build-env-gnd1sc6r/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 179, in _build

12 7.259 self.runbuildscript(self.package.build_script)

12 7.259 File "/tmp/pip-build-env-gnd1sc6r/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 300, in runbuild_script

12 7.259 subprocess.checkcall([self.executable.asposix(), build_script])

12 7.259 File "/root/.nix-profile/lib/python3.12/subprocess.py", line 413, in check_call

12 7.259 raise CalledProcessError(retcode, cmd)

12 7.259 subprocess.CalledProcessError: Command '['/opt/venv/bin/python', 'build.py']' returned non-zero exit status 1.

12 7.259 [end of output]

12 7.259

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

12 7.260 ERROR: Failed building wheel for pendulum

12 7.260 Failed to build pendulum

View Deploy details

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

0 Replies