I tried to install the plugin with poetry self add poetry-plugin-export with Poetry version 1.8.2 and Python version 3.9.20.
I get the following error:
Because no versions of poetry-plugin-export match >1.9.0,<2.0.0
and poetry-plugin-export (1.9.0) depends on poetry (>=2.0.0,<3.0.0), poetry-plugin-export (>=1.9.0,<2.0.0) requires poetry (>=2.0.0,<3.0.0).
So, because poetry-instance depends on both poetry (1.8.2) and poetry-plugin-export (^1.9.0), version solving failed.
When I try specifying an older version of the plugin explicitly, it works as expected:
poetry self add poetry-plugin-export==1.8.0