Skip to content

Conversation

johnthagen
Copy link
Collaborator

requires-python has a long and sorted history in the Python community

When evaluating requires-python ranges for dependencies, uv only considers lower bounds and ignores upper bounds entirely. For example, >=3.8, <4 is treated as >=3.8

Remove the upper bound on generated clients to avoid pushing users into this without need.

@johnthagen johnthagen self-assigned this Oct 6, 2025
@johnthagen johnthagen added the ✨ enhancement New feature or improvement label Oct 6, 2025
@johnthagen johnthagen changed the title Drop requires-python upper bounds for uv and PDM Drop generated requires-python upper bounds for uv and PDM Oct 6, 2025
@johnthagen johnthagen requested a review from dbanty October 6, 2025 19:49
@johnthagen johnthagen marked this pull request as ready for review October 6, 2025 19:51
@johnthagen johnthagen removed the ✨ enhancement New feature or improvement label Oct 6, 2025
@dbanty dbanty changed the title Drop generated requires-python upper bounds for uv and PDM fix: Drop generated requires-python upper bounds for uv and PDM Oct 6, 2025
@dbanty
Copy link
Collaborator

dbanty commented Oct 6, 2025

Thanks!

@dbanty dbanty added this pull request to the merge queue Oct 6, 2025
Merged via the queue into main with commit df0ab16 Oct 6, 2025
22 checks passed
@dbanty dbanty deleted the drop-upper-bounds branch October 6, 2025 21:40
@knope-bot knope-bot bot mentioned this pull request Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants