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

Poetry configuration is invalid: group #603

Closed
2 tasks done
za opened this issue Feb 11, 2022 · 3 comments
Closed
2 tasks done

Poetry configuration is invalid: group #603

za opened this issue Feb 11, 2022 · 3 comments

Comments

@za
Copy link
Contributor

za commented Feb 11, 2022

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Issue

I can't run poetry install. Is this issue with Pendulum or poetry version?

➜  pendulum git:(master) poetry install

  RuntimeError

  The Poetry configuration is invalid:
    - Additional properties are not allowed ('group' was unexpected)
  

  at ~/.poetry/lib/poetry/_vendor/py3.8/poetry/core/factory.py:43 in create_poetry
       39│             message = ""
       40│             for error in check_result["errors"]:
       41│                 message += "  - {}\n".format(error)
       42│ 
    →  43│             raise RuntimeError("The Poetry configuration is invalid:\n" + message)
       44│ 
       45│         # Load package
       46│         name = local_config["name"]
       47│         version = local_config["version"]
➜  pendulum git:(master) poetry --version
Poetry version 1.1.13
@za
Copy link
Contributor Author

za commented Feb 11, 2022

Hmm... it could be issue on poetry python-poetry/poetry#4983

@rileyjohngibbs
Copy link

I ran into this and fixed it based on this comment pointing out that pendulum uses a preview version of poetry, so unless you specifically install that version, poetry won't work properly with pendulum's config.

So it's not so much a poetry issue as it is pendulum being a little eager to have those sweet new features. 😅

@za
Copy link
Contributor Author

za commented Mar 14, 2022

Hi @rileyjohngibbs thanks for the hint! It works now.

➜  pendulum git:(master) poetry install
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: pendulum (3.0.0a0)

And the poetry version now:

➜  pendulum git:(master) poetry --version
Poetry (version 1.2.0a2)

@za za closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants