Skip to content

using poetry add 'package[all]' doesn't install extra dependencies (happens only with 'all') #7646

@aberges-grd

Description

@aberges-grd
  • Poetry version: 1.4.0
  • Python version: 3.8.10
  • OS version and name: Ubuntu 22.04
  • pyproject.toml:
  • 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

The issue is fairly simple. On a new poetry project, I used (I will report with the package used in case it helps):

poetry add 'polars[all]'

poetry installs polars but no extras. Meanwhile, on an isolated environment, using pip install 'polars[all]' does install every extra dependency listed by that package.

However, poetry works well if I specify which extras to install, e.g.:

poetry add 'polars[numpy,pandas,pyarrow,connectorx]'

works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions