1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
% uv pip install "pretix-oidc @ ./pretix-oidc"
× Failed to build `pretix-oidc @ file:///home/michael/src/pretix/pretix-oidc`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 28, in <module>
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 157, in setup
dist.parse_config_files()
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/_virtualenv.py", line 20, in parse_config_files
result = old_parse_config_files(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/dist.py", line 648, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py", line 73, in apply_configuration
return _apply(dist, config, filepath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 53, in apply
_apply_project_table(dist, config, root_dir)
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 72, in _apply_project_table
_handle_missing_dynamic(dist, project_table)
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 111, in _handle_missing_dynamic
value = getter(dist)
^^^^^^^^^^^^
File "/home/michael/.cache/uv/builds-v0/.tmpCHdrvj/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 328, in _get_previous_scripts
return value.get("console_scripts")
^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
hint: This usually indicates a problem with the package or the build environment.
|