Skip to content

wrong dependency in "quantumaudio[demos]" for librosa / numba for python==3.12 #39

@thomasehmer

Description

@thomasehmer

Hello, I see that you recommend Python 3.10 in the ENVIRONMENT.md - so this is only for information as it should likely work with 3.10. (while see error description below)

Just a hint, in case you need it later or want to add it in the dependencies.

When I install "quantumaudio[demos]" (or librosa for that matter) and using Python 3.12.7, I do get an error telling that the numba==0.53.1 dependency cannot be installed.

The way to fix it is to install numba without the version (or numba==0.59) first
I am using rye add numba / rye sync - but I guess it works with pip, too.

I am not sure where this can be fixed in the dependencies?

error: Failed to prepare distributions
Caused by: Failed to download and build numba==0.53.1
Caused by: Build backend failed to determine requirements with build_wheel() (exit status: 1)

[stderr]
Traceback (most recent call last):
[...] Installing dependencies
Resolved 135 packages in 11ms
error: Failed to prepare distributions
Caused by: Failed to download and build numba==0.53.1
Caused by: Build backend failed to determine requirements with build_wheel() (exit status: 1)

[ ... ]
run_setup
exec(code, locals())
File "", line 50, in
File "", line 47, in _guard_py_ver
RuntimeError: Cannot install on Python version 3.12.7; only versions >=3.6,<3.10 are supported.
error: Installation of dependencies failed in venv at /Users/thomasehmer/Desktop/Code/moth/.venv. uv exited with status: exit status: 2

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions