-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/solverRelated to the dependency resolverRelated to the dependency resolverkind/bugSomething isn't working as expectedSomething isn't working as expected
Description
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 (
-vvvoption). -
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/solverRelated to the dependency resolverRelated to the dependency resolverkind/bugSomething isn't working as expectedSomething isn't working as expected