uv/crates/puffin-resolver
Charlie Marsh 2cfa4a3574
Add a dedicated error message to hint users towards enabling pre-releases (#697)
This PR adds a dedicated error message for resolutions that fail, but
might've succeeded if pre-releases were allowed. Specifically, if we see
a failed resolution, and failed to find a version for a package that
included a pre-release marker, we add a hint nudging the user to
explicitly enable all pre-releases.

We'd prefer a solution like
https://github.com/astral-sh/puffin/pull/666, but believe that it will
break some assumptions in PubGrub, so this is the lighter-weight
solution.

Closes https://github.com/astral-sh/puffin/issues/659.
2023-12-28 21:44:35 -05:00
..
src Add a dedicated error message to hint users towards enabling pre-releases (#697) 2023-12-28 21:44:35 -05:00
tests Add a dedicated error message to hint users towards enabling pre-releases (#697) 2023-12-28 21:44:35 -05:00
Cargo.toml Split puffin-cache into Puffin-specific and generic utilities (#728) 2023-12-25 14:38:56 +00:00