erro
Opened this issue · 1 comments
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in cdx_toolkit setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*'
[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.
The error message suggests that there was an issue with the setup of the cdx_toolkit package, specifically with the python_requires field in the pyproject.toml file.
The error message states that the python_requires field must be a string containing valid version specifiers, and it indicates that the specifier '>=3.6.*' is invalid.
To resolve this issue, you need to modify the pyproject.toml file and ensure that the python_requires field contains a valid version specifier. The specifier should specify the minimum Python version required for the cdx_toolkit package.
Here's an example of how the python_requires field should be formatted:
python_requires = ">=3.6"
In this example, the cdx_toolkit package requires a minimum Python version of 3.6 or higher. Adjust the version specifier according to the specific requirements of the cdx_toolkit package.
After making the necessary changes to the pyproject.toml file, you can try running the setup again to see if the issue is resolved.
Answered by GPT.