Skip to content

Unhelpful/wrong error message #2054

@nicolas-leydet

Description

@nicolas-leydet

On Poetry version 1.0.3

Steps to reproduce:

mktmpenv -p python3.7
pip install poetry
poetry init
poetry add fluent-logger

Error message:

Using version ^0.9.4 for fluent-logger

Updating dependencies
Resolving dependencies... (0.0s)

[SolverProblemError]
The current project's Python requirement (^3.7) is not compatible with some of the required packages Python requirement:
  - fluent-logger requires Python >=2.7,!=3.0,!=3.1,!=3.2,!=3.3,<3.9

Because no versions of fluent-logger match >0.9.4,<0.10.0
 and fluent-logger (0.9.4) requires Python >=2.7,!=3.0,!=3.1,!=3.2,!=3.3,<3.9, fluent-logger is forbidden.
So, because tmp-ef8119aac07c59ce depends on fluent-logger (^0.9.4), version solving failed.

The same error happens with python version 3.6 but not with 2.7
A classic pip install fluent-logger is installing the package without error

There's maybe an issue with fluent-logger but the message doesn't seem to describe the issue correctly.

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