



















Getting a build error:
==> Starting build()...
* Getting build dependencies for wheel...
Traceback (most recent call last):
File "/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 10, in <module>
File "/bslx/bslxbuild/python-speechrecognition/src/speech_recognition-3.14.5/speech_recognition/__init__.py", line 7, in <module>
import aifc
ModuleNotFoundError: No module named 'aifc'
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
==> ERROR: A failure occurred in build().
Aborting...
I'm unable to install python-standard-aifc because it conflicts with python-deadlib which is required by python-speechrecognition. Is there some other way to get the aifc module?
Are we missing a dependency, or has a dependency changed?
Hi! Tests are still included in the package at "${pkgdir}"/usr/lib/python*/site-packages/tests, causing conflicts with lieer (which shouldn't have these either). See Test directory in site-package.
Is provides=('python-speech_recognition') required? This is not needed by any other pkg
@vvch thanks, I added some cleanup commands but can't test it currently, please let me know if there are further problems
Stores files directly to
/usr/lib/python3.13/site-packages/tests/
like
/usr/lib/python3.13/site-packages/tests/init.py /usr/lib/python3.13/site-packages/tests/pycache/ /usr/lib/python3.13/site-packages/tests/pycache/init.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/tests/pycache/init.cpython-313.pyc /usr/lib/python3.13/site-packages/tests/pycache/test_audio.cpython-313.opt-1.pyc
which seems to be not good and may conflict with other packages
@That1Calculator done, thanks for the report
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@jghodd It's the same thing, actually.
youknowone/python-deadlib is not actually a single package, but a collection of small packages (like
standard-aifcon PyPI). The AUR package used to be namedpython-deadlib, but there's no single module named deadlib in there. So, when it was moved to extra, it became a split package using the same naming from PyPI. This also aligns better with how upstream declares the dependency.In your case, please remove
python-deadlibbecause that's not a package in AUR anymore. Then install the deadlib packages from the official repos.