Skip to content

Poetry doesn't install the correct dependency according to its supported Python version #5447

@lypwig

Description

@lypwig

Issue

I have a wheel dependency on specific url for many platforms (Linuw/macOS/Windows) and many Python version (3.8, 3.9, 3.10).

Despite the fact I use Python 3.9, when I try poetry install, the python 3.8 version of the wheel is downloaded.

I also tried to:

  • replace python = "^3.8" by python = "^3.9" (same thing);
  • replace python = "~3.8", markers = "platform_system == 'Linux'", by markers = "python_version ~= '3.8' and platform_system == 'Linux'", (same thing).

Maybe related to #5378 or #5205, I don't think it's the same issue but I'm not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/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