Skip to content
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

(🐞) authors is a required property but is not reported as such on poetry install #4990

Closed
3 tasks done
KotlinIsland opened this issue Jan 6, 2022 · 3 comments
Closed
3 tasks done
Labels
kind/bug Something isn't working as expected

Comments

@KotlinIsland
Copy link
Contributor

KotlinIsland commented Jan 6, 2022

  • I am on the latest Poetry version.
  • 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: Windows 10
  • Poetry version: Poetry (version 1.2.0a2)
  • Link of a Gist with the contents of your pyproject.toml file:
[tool.poetry]

Issue

> poetry install

  RuntimeError

  The Poetry configuration is invalid:
    - 'name' is a required property
    - 'version' is a required property
    - 'description' is a required property

[snippet removed]

The docs say that authors is a required property:
image

When you add name, version, and description, and run again you get a more less informative error:

> poetry install

  NonExistentKey

  'Key "authors" does not exist.'

[snippet removed]
@KotlinIsland KotlinIsland added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jan 6, 2022
@mkniewallner
Copy link
Member

This is not on the same command, but the root cause should be the same as for #4303, so this is probably a duplicate.

The isssue is on poetry-core, and a PR (python-poetry/poetry-core#99) exists to fix the issue.

@KotlinIsland
Copy link
Contributor Author

@mkniewallner Thanks! this does look like a duplicate, I'll add a comment to that pr so that poetry install is tested in that pr.

@KotlinIsland KotlinIsland changed the title authors is a required property but is not reported as such on poetry install (🐞) authors is a required property but is not reported as such on poetry install Jan 6, 2022
@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

3 participants