Error running pytest with Poetry due to invalid config


When running pytest with Poetry, a runtime error occurs due to an invalid config with additional properties not allowed.


We installed poetry with sudo apt install python3 poetry instead of poetry install --with dev

When we run poetry run pytest unit_tests

We are getting runtime error

The poetry config is invalid
Additional properties are not allowed(‘group’ was unexpected)

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["poetry", "pytest", "runtime-error", "invalid-config"]