Skip to content

llvmlite docker build error in 0.0.13.dev15 #301

@P1ker1

Description

@P1ker1

Tried running docker build -t ultrasinger . with the current main version and this fun little thing showed up. It seems llvmlite is the main problem here, even though it also warns about some other things

17.63   × Failed to build `llvmlite==0.36.0`
17.63   ├─▶ The build backend returned an error
17.63   ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit
17.63       status: 1)
17.63
17.63       [stderr]
17.63       /root/.cache/uv/builds-v0/.tmpqWPbAQ/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py:4:
17.63       FutureWarning: The 'wheel' package is no longer the canonical location
17.63       of the 'bdist_wheel' command, and will be removed in a future release.
17.63       Please update to setuptools v70.1 or later which contains an integrated
17.63       version of this command.
17.63         warn(
17.63       Traceback (most recent call last):
17.63         File "<string>", line 14, in <module>
17.63         File
17.63       "/root/.cache/uv/builds-v0/.tmpqWPbAQ/lib/python3.12/site-packages/setuptools/build_meta.py",
17.63       line 333, in get_requires_for_build_wheel
17.63           return self._get_build_requires(config_settings, requirements=[])
17.63                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17.63         File
17.63       "/root/.cache/uv/builds-v0/.tmpqWPbAQ/lib/python3.12/site-packages/setuptools/build_meta.py",
17.63       line 301, in _get_build_requires
17.63           self.run_setup()
17.63         File
17.63       "/root/.cache/uv/builds-v0/.tmpqWPbAQ/lib/python3.12/site-packages/setuptools/build_meta.py",
17.63       line 520, in run_setup
17.63           super().run_setup(setup_script=setup_script)
17.63         File
17.63       "/root/.cache/uv/builds-v0/.tmpqWPbAQ/lib/python3.12/site-packages/setuptools/build_meta.py",
17.63       line 317, in run_setup
17.63           exec(code, locals())
17.63         File "<string>", line 55, in <module>
17.63         File "<string>", line 52, in _guard_py_ver
17.63       RuntimeError: Cannot install on Python version 3.12.12; only versions
17.63       >=3.6,<3.10 are supported.
17.63
17.63       hint: This usually indicates a problem with the package or the build
17.63       environment.
17.63   help: `llvmlite` (v0.36.0) was included because `ultrasinger`
17.63         (v0.0.13.dev15) depends on `librosa` (v0.11.0) which depends on
17.63         `numba` (v0.53.1) which depends on `llvmlite`
------
Dockerfile:30
--------------------
  28 |     # Install dependencies from pyproject.toml directly without venv (container is already isolated)
  29 |     # Using build isolation (without --no-build-isolation) so uv handles all build dependencies automatically   
  30 | >>> RUN uv pip install --system --python 3.12 -e .

Really nice to see you worked on updating the dependencies & simplifying the build but there seems to be a bit more work to do, as always :D.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions