Given a pyproject.toml with dependency-groups, eg
[dependency-groups]
group-a = [
"requests"
]
group-b = []
[tool.uv]
default-groups = ["group-a"]
uv export respects the default-groups and produces a requirements.in containing requests and transitive dependencies
uv pip compile on the other hand generates an empty file.
The pip_compile rule is using uv pip compile and hence misses the groups.