How do I add a dependency to a group like dev using uv add?
- User
How do I add a dependency to a group like dev using uv add?
Assistant
To add a dependency to a specific group like "dev" using uv, you can use the
--groupflag (or-Gfor short):uv add --group dev pytestThis will add pytest as a development dependency. You can also add multiple packages at once:
uv add -G dev pytest black mypy- User
And how do I add a package to one of my extras using uv add?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.