Poetry
Version: 1.7.0
Python: 3.11.5
Virtualenv
Python: 3.10.12
Implementation: CPython
Path: /tmp/asdf/.venv
Executable: /tmp/asdf/.venv/bin/python
Valid: True
System
Platform: linux
OS: posix
Python: 3.10.12
Path: /usr
Executable: /usr/bin/python3.10
[tool.poetry]
name = "asdf"
version = "0.1.0"
description = ""
authors = ["pmav99"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
xarray = {version = "^2023.10.1", extras = ["parallel"]}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Issue
This is similar to #5862 but that one was affecting an older version of poetry and according to the report it had been resolved. So this is probably a regression. For the record, I tested the following with poetry 1.6.1 and it is an issue there, too.
xarray[parallel] is pulling dask[complete]. Nevertheless poetry only install the basic dependencies of dask and ignores dask's extras.
For example dask[complete] should install e.g. bokeh. Nevertheless, poetry does not install it:
poetry init -n
poetry add xarray -E parallel
python -c 'import bokeh' # fails
-vvvoption) and have included the output below.Issue
This is similar to #5862 but that one was affecting an older version of poetry and according to the report it had been resolved. So this is probably a regression. For the record, I tested the following with poetry 1.6.1 and it is an issue there, too.
xarray[parallel]is pullingdask[complete]. Nevertheless poetry only install the basic dependencies ofdaskand ignores dask's extras.For example
dask[complete]should install e.g. bokeh. Nevertheless, poetry does not install it: