Checks
Reproducible example
Commands I ran and their output:
$ pixi init
$ pixi add python dash
$ pixi add --feature tests pytest
$ pixi workspace environment add tests --feature tests
$ pixi add --feature tests --pypi "dash[testing]"
pixi.toml/pyproject.toml file that reproduces my issue:
[workspace]
channels = ["conda-forge"]
name = "temp"
platforms = ["linux-64"]
[tasks]
[dependencies]
python = ">=3.14.5,<3.15"
dash = ">=4.2.0,<5"
[feature.tests.dependencies]
pytest = "*"
[feature.tests.pypi-dependencies]
dash = { version = "*", extras = ["testing"] }
[environments]
tests = ["tests"]
pixi info output:
System
------------
Pixi version: 0.70.2
TLS backend: rustls
Platform: linux-64
Virtual packages: __unix=0=0
: __linux=6.6.114.1=0
: __glibc=2.39=0
: __archspec=1=ivybridge
Cache dir: /home/andreas/.cache/rattler/cache
Auth storage: /home/andreas/.rattler/credentials.json
Config locations: No config files found
Global
------------
Bin dir: /home/andreas/.pixi/bin
Environment dir: /home/andreas/.pixi/envs
Manifest dir: /home/andreas/.pixi/manifests/pixi-global.toml
Workspace
------------
Name: workspace
Version: 0.1.0
Manifest file: /home/andreas/workspace/pixi.toml
Last updated: 11-06-2026 23:19:48
Environments
------------
Environment: default
Features: default
Channels: conda-forge
Dependency count: 2
Dependencies: python, dash
Target platforms: linux-64
Prefix location: /home/andreas/workspace/.pixi/envs/default
Environment: tests
Features: tests, default
Channels: conda-forge
Dependency count: 3
Dependencies: pytest, python, dash
PyPI Dependencies: dash
Target platforms: linux-64
Prefix location: /home/andreas/workspace/.pixi/envs/tests
Other files (e.g. script files, source files, etc.):
Issue description
Trying to add dash[testing] produces the warning
WARN The package dash==4.2.0 does not have an extra named testing
Expected behavior
pixi uses the testing extra dependencies of dash to the tests feature.
When using no features, it seems to work:
$ pixi init
$ pixi add python
$ pixi add --pypi "dash[testing]"
[workspace]
channels = ["conda-forge"]
name = "temp"
platforms = ["linux-64"]
[tasks]
[dependencies]
python = ">=3.14.5,<3.15"
[pypi-dependencies]
dash = { version = ">=4.2.0, <5", extras = ["testing"] }
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version.Reproducible example
Commands I ran and their output:
$ pixi init $ pixi add python dash $ pixi add --feature tests pytest $ pixi workspace environment add tests --feature tests $ pixi add --feature tests --pypi "dash[testing]"pixi.toml/pyproject.tomlfile that reproduces my issue:pixi infooutput:Other files (e.g. script files, source files, etc.):
Issue description
Trying to add
dash[testing]produces the warningExpected behavior
pixiuses thetestingextra dependencies ofdashto thetestsfeature.When using no features, it seems to work:
$ pixi init $ pixi add python $ pixi add --pypi "dash[testing]"