-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Labels
bugSomething isn't workingSomething isn't working
Description
Your current environment
The output of `python collect_env.py`
Your output of `python collect_env.py` here
🐛 Describe the bug
python3 setup.py develop
Traceback (most recent call last):
File "/app/vllmupstream/setup.py", line 688, in <module>
setup(
File "/usr/local/lib/python3.10/dist-packages/setuptools/_init_.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 158, in setup
dist.parse_config_files()
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 631, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/usr/local/lib/python3.10/dist-packages/setuptools/config/pyprojecttoml.py", line 68, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
File "/usr/local/lib/python3.10/dist-packages/setuptools/config/pyprojecttoml.py", line 129, in read_configuration
validate(subset, filepath)
File "/usr/local/lib/python3.10/dist-packages/setuptools/config/pyprojecttoml.py", line 57, in validate
raise ValueError(f"{error}\n{summary}") from None
ValueError: invalid pyproject.toml config: project.license.
configuration error: project.license must be valid exactly by one definition (2 matches found):
- keys:
'file': {type: string}
required: ['file']
- keys:
'text': {type: string}
required: ['text']
Temporary fix
Replace: pyproject.toml
license = "Apache-2.0"
license-files = ["LICENSE"]
With:
license = {text = "Apache-2.0"}
The PR #17389 should be a fixed for this issue.
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working