Skip to content

Can not install Dask package #7768

@dbalabka

Description

@dbalabka
  • Poetry version: >=1.4.0
  • Python version: 3.8
  • OS version and name: Ubuntu 20.04.5 LTS
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

poetry init
poetry add dask

Leading to the following error:

❯ poetry add dask
Using version ^2023.3.2 for dask

Updating dependencies
Resolving dependencies... (0.0s)

  AssertionError



  at ~/.local/pipx/venvs/poetry/lib/python3.8/site-packages/poetry/mixology/incompatibility.py:113 in __str__
      109│         )
      110│
      111│     def __str__(self) -> str:
      112│         if isinstance(self._cause, DependencyCause):
    → 113│             assert len(self._terms) == 2
      114│
      115│             depender = self._terms[0]
      116│             dependee = self._terms[1]
      117│             assert depender.is_positive()

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expectedstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions