Skip to content

Consolidate UnusableDependencies into a generic Unavailable incompatibility#20

Merged
zanieb merged 2 commits intomainfrom
zb/consolidate-unavailable
Jan 25, 2024
Merged

Consolidate UnusableDependencies into a generic Unavailable incompatibility#20
zanieb merged 2 commits intomainfrom
zb/consolidate-unavailable

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
@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