Dependency groups were not supported in uv before version 0.4.7, no matter how hard you edited pyproject.toml by hand.