You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
OS version and name: Ubuntu 21.04
Poetry version: 1.1.7
Link of a Gist with the contents of your pyproject.toml file: Very basic, see below
Issue
# poetry -V
Poetry version 1.1.7
# poetry init --name test --description desc -n
This command will guide you through creating your pyproject.toml config.
You can specify a package in the following forms:
- A single name (requests)
- A name and a constraint (requests@^2.23.0)
- A git url (git+https://github.com/python-poetry/poetry.git)
- A git url with a revision (git+https://github.com/python-poetry/poetry.git#develop)
- A file path (../my-package/my-package.whl)
- A directory (../my-package/)
- A url (https://example.com/packages/my-package-0.1.0.tar.gz)
# sed -i /authors/d pyproject.toml
# cat pyproject.toml
[tool.poetry]
name = "test"
version = "0.1.0"
description = "desc"
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# poetry check
All set!
# poetry add dummy
NonExistentKey
'Key "authors" does not exist.'
at ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/tomlkit/container.py:576 in __getitem__
572│ key = Key(key)
573│
574│ idx = self._map.get(key, None)
575│ if idx is None:
→ 576│ raise NonExistentKey(key)
577│
578│ if isinstance(idx, tuple):
579│ # The item we are getting is an out of order table
580│ # so we need a proxy to retrieve the proper objects
The text was updated successfully, but these errors were encountered:
-vvv
option).Issue
The text was updated successfully, but these errors were encountered: