-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Due to lyst/lightfm#687
❯ uv pip install lightfm
Resolved 11 packages in 231ms
error: Failed to prepare distributions
Caused by: Failed to fetch wheel: lightfm==1.17
Caused by: Build backend failed to determine requirements with `build_wheel()` (exit status: 1)
--- stdout:
--- stderr:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "<string>", line 11, in <module>
AttributeError: 'dict' object has no attribute '__LIGHTFM_SETUP__'
---
the above error is thrown when trying to install the latest version, 1.17.
Trying to fix to 1.16, as in environment.yml and requirements.txt, produces the same error:
❯ uv pip install lightfm==1.16
Resolved 11 packages in 7ms
error: Failed to prepare distributions
Caused by: Failed to fetch wheel: lightfm==1.16
Caused by: Build backend failed to determine requirements with `build_wheel()` (exit status: 1)
--- stdout:
--- stderr:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "<string>", line 11, in <module>
AttributeError: 'dict' object has no attribute '__LIGHTFM_SETUP__'
---
Metadata
Metadata
Assignees
Labels
No labels