Skip to content

Dependency resolution failure due to misunderstanding extras with incompatible variants #3022

@michamos

Description

@michamos
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

When trying to install invenio-search with extras = ["elasticsearch7"], dependency resolution fails. From the log of poetry install -vvv, it looks like poetry thinks that all elaststicsearch* extras should be installed simultaneously, whereas they are mutually exclusive in the invenio-search setup.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/solverRelated to the dependency resolverkind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions