uv icon indicating copy to clipboard operation
uv copied to clipboard

Add `uv sync --dev-only` or equivalent

Open charliermarsh opened this issue 1 year ago • 5 comments

This was a feature request, it seems reasonable to me.

charliermarsh avatar Aug 22 '24 23:08 charliermarsh

Including the root project, I presume? --only-dev for consistency with --with and --no-install?

zanieb avatar Aug 22 '24 23:08 zanieb

Yeah I prefer --only-dev. I was thinking exclusive of the root project but... I'm not sure?

charliermarsh avatar Aug 22 '24 23:08 charliermarsh

We also need the ability to uv pip install pyproject.toml --dev (including dev requirements).

Necessary to install dev requirements into a docker containers --system.

uptickmetachu avatar Aug 24 '24 07:08 uptickmetachu

I wonder if this should instead be --prod and --no-prod, like --dev and --no-dev.

charliermarsh avatar Aug 28 '24 23:08 charliermarsh

I feel like --prod might imply something more, like ignoring "sources"?

zanieb avatar Aug 29 '24 03:08 zanieb