pypipython-poetry95% confidence\u2191 58

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

Full error message
Recently, I faced this issue with Poetry. All my commands using poetry were failing with the following error.

RuntimeError

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

I figured out the following issue. The code owners had updated the poetry core requirement to requires = ["poetry-core>=1.2.0"] My current poetry version was 1.1.12 I did the following to fix my issue. # remove the current poetry installation rm -rf /Users/myusername/.poetry # upgrade poetry version pip install poetry -U This should solve the problem. I verified the same by running my other poetry commands. It should be noted that your current poetry configurations will be lost while doing this, and would need to be recreated and reinstalled. # reinstall poetry for my project poetry install

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/e656c01ff81df9f9166611b5d6dfd44758492e258103a3fbab83a9e31a17960c
hash \u00b7 e656c01ff81df9f9166611b5d6dfd44758492e258103a3fbab83a9e31a17960c
Poetry configuration is invalid - Additional properties are… — DepScope fix | DepScope