hatch icon indicating copy to clipboard operation
hatch copied to clipboard

What is analog to `poetry add` and `pdm add` in hatch?

Open gunungpw opened this issue 1 year ago • 3 comments
trafficstars

What is similar command in hatch for add dependencies to the virtual env? like;

from the documentation you need to add dependencies to pyproject.toml manually

gunungpw avatar Dec 16 '23 13:12 gunungpw

Those commands are coming soon.

ofek avatar Dec 16 '23 13:12 ofek

Those commands are coming soon.

Nice! Is there a tracking issue with things we can help out with?

NeilBotelho avatar Dec 29 '23 13:12 NeilBotelho

It would be interesting to precise some details about the implementation.

For instance it could be nice to add lockfiles for some extra, maybe with a configurable format (or it could be opinionated).

For instance the development and docs generation dependencies could be locked via pip-compile or uv pip compile if configured to ensure similar docs builds and test envs among developers.

Though for a library we do not generally want to lock dependencies but only to emit the pyproject.toml constraints

HenriBlacksmith avatar May 22 '24 08:05 HenriBlacksmith