Skip to content

SolverProblemError with papermill #2819

@AssassinTee

Description

@AssassinTee

Information

  • 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).

  • OS version and name: Ubuntu 18 LTS

  • Poetry version: 1.0.10 (and 1.0.5, too)

  • Link of a Gist with the contents of your pyproject.toml file: Not required

Issue

When installing papermill with poetry i got the following error message:

[SolverProblemError]
Because no versions of papermill match >2.1.2,<3.0.0
 and papermill (2.1.2) depends on black (*), papermill (>=2.1.2,<3.0.0) requires black (*).
So, because no versions of black match *
 and **myframework** on papermill (^2.1.2), version solving failed.

It looks like it failed to find any version of black, which is weird.

workaround

I just installed black by hand and papermill after that with:

poetry add black
poetry add papermill

This resolved my issue but I leave it here for the poetry devs and other users running into this issue

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