-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Unable to download Librosa on python 3.13.0 due to Numba support issue #1883
Comments
There's nothing we can do about this until numba gets an update. However, we don't currently claim to support 3.13, so I don't think it's accurate to call this a bug: Lines 46 to 60 in d5aa7e1
I'll leave this open so we can keep tabs on it and update when numba does though. |
Hi @bmcfee, absolutely fair response, I did not check if you were supposed to support 3.13 by now 🙃 Fair enough - thanks! |
thanks for reporting the issue. i was so confused why it was not getting installed |
Bug summary
Numba does not support 3.13.0 as of yet. Given Librosa depends on Numba, Librosa can't be installed on python 3.13.0 (only tried with pip).
This issue is also being tracked in the Numba repo: numba/numba#9413
Code for reproduction
Actual outcome
Defaulting to user installation because normal site-packages is not writeable
Collecting librosa
Using cached librosa-0.10.2.post1-py3-none-any.whl.metadata (8.6 kB)
Collecting audioread>=2.1.9 (from librosa)
Using cached audioread-3.0.1-py3-none-any.whl.metadata (8.4 kB)
Requirement already satisfied: numpy!=1.22.0,!=1.22.1,!=1.22.2,>=1.20.3 in ./.local/lib/python3.13/site-packages (from librosa) (2.1.2)
Requirement already satisfied: scipy>=1.2.0 in ./.local/lib/python3.13/site-packages (from librosa) (1.14.1)
Requirement already satisfied: scikit-learn>=0.20.0 in ./.local/lib/python3.13/site-packages (from librosa) (1.5.2)
Requirement already satisfied: joblib>=0.14 in ./.local/lib/python3.13/site-packages (from librosa) (1.4.2)
Requirement already satisfied: decorator>=4.3.0 in ./.local/lib/python3.13/site-packages (from librosa) (5.1.1)
Collecting numba>=0.51.0 (from librosa)
Using cached numba-0.60.0.tar.gz (2.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
~~~~^^
File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-vpmi0jy6/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vpmi0jy6/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-vpmi0jy6/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 521, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vpmi0jy6/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 319, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "", line 51, in
File "", line 48, in _guard_py_ver
RuntimeError: Cannot install on Python version 3.13.0; only versions >=3.9,<3.13 are supported.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Expected outcome
Should install Librosa
Additional information
No response
Operating system
Fedora 41
software versions
Installation
pip
The text was updated successfully, but these errors were encountered: