scverse / cookiecutter-scverse

Cookiecutter template for scverse
https://cookiecutter-scverse-instance.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
71 stars 9 forks source link

hatch vs uv #331

Open grst opened 1 month ago

grst commented 1 month ago

We currently suggest to use hatch with a uv backend.

However, uv is already a quite powerful project management tool by itself. The only piece that seems to be missing is a definition of development commands, such as

[tool.hatch.envs.docs]
features = [ "doc" ]
scripts.build = "sphinx-build -M html docs docs/_build {args}"

But there's an active discussion to support that as well: https://github.com/astral-sh/uv/issues/5903.

flying-sheep commented 1 month ago

Thanks for the pointer! I don’t think keeping this open makes sense at the moment though.

Hatch’s environment definition is pretty fully-featured and mature. I don’t think uv can catch up within a few months (if they decide to grow that feature at all).