Skip to content

Rename uv-traits and split into separate modules#2674

Merged
zanieb merged 1 commit intomainfrom
zb/traits-types
Mar 26, 2024
Merged

Rename uv-traits and split into separate modules#2674
zanieb merged 1 commit intomainfrom
zb/traits-types

Conversation

@zanieb
Copy link
Copy Markdown
Member

@zanieb zanieb commented Mar 26, 2024

This is driving me a little crazy and is becoming a larger problem in #2596 where I need to move more types (like Upgrade and Reinstall) into this crate. Anything that's shared across our core resolver, install, and build crates needs to be defined in this crate to avoid cyclic dependencies. We've outgrown it being a single file with some shared traits.

There are no behavioral changes here.

@zanieb zanieb added the internal A refactor or improvement that is not user-facing label Mar 26, 2024
@zanieb zanieb marked this pull request as ready for review March 26, 2024 19:54
Copy link
Copy Markdown
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

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

Makes sense.

@zanieb
Copy link
Copy Markdown
Member Author

zanieb commented Mar 26, 2024

Sorry about the diff 🤷‍♀️

@zanieb zanieb merged commit 0b08ba1 into main Mar 26, 2024
@zanieb zanieb deleted the zb/traits-types branch March 26, 2024 20:39
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