When changing dependency declarations in configuration files like pyproject.toml, treat group placement and lockfile updates as part of the change.
uv.lock).default and test), keep it declared in each required group—don’t “move” it to another group just to reduce duplication.Example (pattern):
[project.optional-dependencies]
# Keep in both groups if both are required
default = ["pycryptodomex==3.20.0"]
test = ["pycryptodomex==3.20.0", "websockets>=14.0"]
After editing, regenerate and commit the matching lockfile (e.g., uv.lock).
Enter the URL of a public GitHub repository