-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality
Description
Summary
Right now, the [dependency-groups] have the same requires-python as the [project] defines, but this causes problems when a group is only intended to be used with a different Python version range, e.g., you could only care about 3.12+ for building your documentation but 3.9+ matters for publishing your library.
See
As a meta-note, I know this was discussed elsewhere but cannot find it.
Example
[project]
name = "example"
version = "0.0.0"
requires-python = ">=3.10"
[tool.uv.dependency-groups.foo]
requires-python = ">=3.12"konstin, cjw296, T-256, chirizxc, a-reich and 1 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality