Skip to content
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

Preparing metadata (pyproject.toml) ... error #20

Open
zoelabbb opened this issue Feb 6, 2024 · 0 comments
Open

Preparing metadata (pyproject.toml) ... error #20

zoelabbb opened this issue Feb 6, 2024 · 0 comments

Comments

@zoelabbb
Copy link

zoelabbb commented Feb 6, 2024

I have some problem when install this tools like this :

Processing /Users/mac/Documents/Development/My Project/Python/git-vuln-finder
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/usr/local/lib/python3.11/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/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/_x/x4pdztk914j_jxcfzgd7x8xr0000gn/T/pip-build-env-s73_0r3_/overlay/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 42, in prepare_metadata_for_build_wheel
          poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/_x/x4pdztk914j_jxcfzgd7x8xr0000gn/T/pip-build-env-s73_0r3_/overlay/lib/python3.11/site-packages/poetry/core/factory.py", line 58, in create_poetry
          raise RuntimeError("The Poetry configuration is invalid:\n" + message)
      RuntimeError: The Poetry configuration is invalid:
        - data.documentation must be uri
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Please help me, how to solve ? thanks in advance.

abhiseksanyal added a commit to lineaje-labs/git-vuln-finder that referenced this issue Aug 1, 2024
Fix Install error in cve-search#20 by setting Documentation link in pyproject.toml

Signed-off-by: Abhisek Sanyal <10907245+abhiseksanyal@users.noreply.github.com>
abhiseksanyal added a commit to lineaje-labs/git-vuln-finder that referenced this issue Aug 1, 2024
Fix Install error in cve-search#20 by setting Documentation link in pyproject.toml

Signed-off-by: Abhisek Sanyal <10907245+abhiseksanyal@users.noreply.github.com>
abhiseksanyal added a commit to lineaje-labs/git-vuln-finder that referenced this issue Aug 1, 2024
Fix Install error in cve-search#20 by setting Documentation link in pyproject.toml

Signed-off-by: Abhisek Sanyal <10907245+abhiseksanyal@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant