Advertisement
Guest User

Untitled

a guest
Nov 21st, 2023
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.76 KB | None | 0 0
  1. Installing build dependencies ... done
  2. Getting requirements to build wheel ... error
  3. error: subprocess-exited-with-error
  4.  
  5. × Getting requirements to build wheel did not run successfully.
  6. │ exit code: 1
  7. ╰─> [57 lines of output]
  8. /tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `license` defined outsideof `pyproject.toml` is ignored.
  9. !!
  10.  
  11. ********************************************************************************
  12. The following seems to be defined outside of `pyproject.toml`:
  13.  
  14. `license = 'MIT'`
  15.  
  16. According to the spec (see the link below), however, setuptools CANNOT
  17. consider this value unless `license` is listed as `dynamic`.
  18.  
  19. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
  20.  
  21. To prevent this problem, you can list `license` under `dynamic` or alternatively
  22. remove the `[project]` table from your file and rely entirely on other means of
  23. configuration.
  24. ********************************************************************************
  25.  
  26. !!
  27. _handle_missing_dynamic(dist, project_table)
  28. Traceback (most recent call last):
  29. File "/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  30. main()
  31. File "/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  32. json_out['return_val'] = hook(**hook_input['kwargs'])
  33. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  34. File "/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
  35. return hook(config_settings)
  36. ^^^^^^^^^^^^^^^^^^^^^
  37. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
  38. return self._get_build_requires(config_settings, requirements=['wheel'])
  39. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  40. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
  41. self.run_setup()
  42. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 480, in run_setup
  43. super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
  44. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
  45. exec(code, locals())
  46. File "<string>", line 43, in <module>
  47. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
  48. return distutils.core.setup(**attrs)
  49. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  50. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 159, in setup
  51. dist.parse_config_files()
  52. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 627, in parse_config_files
  53. pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
  54. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 67, in apply_configuration
  55. return _apply(dist, config, filepath)
  56. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  57. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 56, in apply
  58. _apply_project_table(dist, config, root_dir)
  59. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 82, in _apply_project_table
  60. corresp(dist, value, root_dir)
  61. File "/tmp/pip-build-env-wdjaqchu/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 183, in _license
  62. _set_config(dist, "license", val["text"])
  63. ~~~^^^^^^^^
  64. KeyError: 'text'
  65. [end of output]
  66.  
  67. note: This error originates from a subprocess, and is likely not a problem with pip.
  68. error: subprocess-exited-with-error
  69.  
  70. × Getting requirements to build wheel did not run successfully.
  71. │ exit code: 1
  72. ╰─> See above for output.
  73.  
  74. note: This error originates from a subprocess, and is likely not a problem with pip.
  75. ==> ERROR: A failure occurred in package().
  76. Aborting...
  77. -> error making: pyradio-git-exit status 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement