Hacker News new | ask | show | jobs
by d0mine 597 days ago
To create venv2 that uses venv1, define pep-735 dependencies groups in your pyproject.toml Specifically, a group can include other groups

uv supports groups and can create venv with the desired group set https://docs.astral.sh/uv/concepts/dependencies/#development...

For example, there can be "dev" group that includes "test", "mkdocs", "nuitka" groups (nuitka wants to be run with venv it builds binary for, so to keep venv minimal, it is in a separate group)