Skip to content

poetry self add poetry-plugin-export doesn't work with poetry 1.8.2 #328

@juliankeppel

Description

@juliankeppel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions