-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Unhelpful errors for projects in root directory #7185
Comments
✨ This is an old work account. Please reference @brandonchinn178 for all future communication ✨ ah seems to only happen when running in the root directory Also, there's another error when using
|
Another way to reproduce [tool.poetry]
name = ""
version = "0.0.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "^3.8" |
presumably can be fixed by adding a pattern to the schema, preventing empty strings - at https://github.com/python-poetry/poetry-core/blob/0749c5531d778a07788dfdc163716523fd479d9e/src/poetry/core/json/schemas/poetry-schema.json#L13 |
-vvv
option) and have included the output below.Issue
Repro: running
docker build .
with this Dockerfile shows an unhelpful "tuple index out of range" error:Seems to happen when
packages
is not specified inpyproject.toml
and poetry tries to automatically add anInclude
that has a glob pattern.
, which is an invalid glob:The text was updated successfully, but these errors were encountered: