I know of a couple packages with so many optional dependencies that they implement a shorthand to get all of them as, for instance pip install 'pkg[all]' or something similar. Problem is that this is hardly discoverable for end users, must be documented, and not every package chooses the same extra name so it's hard to remember.
uv pip install <PyPI package> --all-extras would seem like a natural solution here but currently (as of uv 0.4.9) doesn't support this:
$ uv pip install astropy --all-extras
error: Requesting extras requires a `pyproject.toml`, `setup.cfg`, or `setup.py` file.
Is it something that could be considered in the future ?
I know of a couple packages with so many optional dependencies that they implement a shorthand to get all of them as, for instance
pip install 'pkg[all]'or something similar. Problem is that this is hardly discoverable for end users, must be documented, and not every package chooses the sameextraname so it's hard to remember.uv pip install <PyPI package> --all-extraswould seem like a natural solution here but currently (as of uv 0.4.9) doesn't support this:Is it something that could be considered in the future ?