Skip to content

Conversation

@blueraft
Copy link
Contributor

Summary

Part of #8607. This is a pure refactor aimed at paving the way for supporting the default-extras configuration in the pyproject.toml file.

The ExtraSpecification struct has been refactored to align more closely with the DependencyGroups struct.

Test Plan

Existing tests.

Copy link
Contributor

@Gankra Gankra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, I left some notes for minor potential errors.

@blueraft blueraft force-pushed the refactor-extra-specification branch from d9e93d7 to a8cf855 Compare April 26, 2025 11:50
@blueraft blueraft force-pushed the refactor-extra-specification branch from a8cf855 to 440db64 Compare April 28, 2025 11:20
@Gankra
Copy link
Contributor

Gankra commented Apr 28, 2025

@blueraft any outstanding concerns with the PR from you, or ready to land?

@Gankra
Copy link
Contributor

Gankra commented Apr 28, 2025

Alternatively I can just close the PR and we focus on the main one?

@blueraft
Copy link
Contributor Author

No concerns on my side! I think we can land this and tweak stuff in the main one

@Gankra Gankra added the internal A refactor or improvement that is not user-facing label Apr 28, 2025
@Gankra Gankra merged commit f872917 into astral-sh:main Apr 28, 2025
85 checks passed
Gankra pushed a commit that referenced this pull request Apr 28, 2025
)

## Summary

Brings in a bug fix for `uv add` w.r.t default groups from
#12964, see comment:
#12964 (comment)

Adds additional test coverage for default groups in `run`, `remove`,
`add`.

## Test Plan

`cargo test`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants