Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate UnusableDependencies into a generic Unavailable incompatibility #20

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jan 25, 2024

A follow-up to the discussion in pubgrub-rs#153 consolidating our unusable dependencies type with general unavailability. I've decided not to wait until we introduce a generic "metadata" type which is much more work.

zanieb added a commit to astral-sh/uv that referenced this pull request Jan 25, 2024
…patibility (#1088)

Requires astral-sh/pubgrub#20

In short, `UnusableDependencies` can be generalized into `Unavailable`
which encompasses incompatibilities where a package range which is
unusable for some inherent reason as well as when its dependencies are
unusable. We can eventually use this to track more incompatibilities in
the solver. I made the reason string required because I can't see a case
where we should leave it out.

Additionally, this improves the display of conflicts in the root
requirements.
@zanieb zanieb merged commit 86447f2 into main Jan 25, 2024
5 checks passed
@Eh2406
Copy link

Eh2406 commented Jan 25, 2024

This fork seams to be working well. My qualms about reusability are not slowing you down, and we are still getting things done together on the main repo! Let's hope for continued win-wins!

konstin pushed a commit that referenced this pull request Mar 6, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request Mar 12, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request Mar 12, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request Mar 13, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request Mar 22, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request May 2, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request May 7, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request May 8, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
konstin pushed a commit that referenced this pull request May 21, 2024
…patibility (#20)

* Consolidate `UnusableDependencies` into a generic `Unavailable` incompatibility

* Docs
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.

3 participants