Invalid pyproject.toml file
If your build has failed due to this error then it means that the TOML syntax in your
pyproject.toml
file (
example
) is invalid.
For instance, you may have mentioned your the dependencies in the app's
pyproject.toml
like so:
dependencies = [
Babel
Click
filelock
]
but the actual format is this:
dependencies = [
"Babel~=2.13.1",
"Click~=8.1.7",
"filelock~=3.13.1",
]
To fix this issue:
-
If the repository is not yours, contact the developer and ask them to fix the file.
-
If the repository is yours, fix the file and push the changes to the repository.
Once the format has been fixed, you can retry the deploy.