mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-28 23:53:45 +00:00
fix: expose types to implement custom ResolverProvider
(#1862)
<!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary To integrate `uv` into `pixi` I need to specify a custom `ResolverProvider` to be able to specify that some packages are already installed by conda and should not be touched. However, some of the types required to implement your own `ResolverProvider` were not accessible through the public API. This PR basically adds them. ## Test Plan I didnt add an explicit test for this.
This commit is contained in:
parent
e97b094bc9
commit
4e011b305f
4 changed files with 19 additions and 7 deletions
|
@ -4,12 +4,15 @@ pub use finder::{DistFinder, Reporter as FinderReporter};
|
|||
pub use manifest::Manifest;
|
||||
pub use options::{Options, OptionsBuilder};
|
||||
pub use prerelease_mode::PreReleaseMode;
|
||||
pub use python_requirement::PythonRequirement;
|
||||
pub use resolution::{AnnotationStyle, Diagnostic, DisplayResolutionGraph, ResolutionGraph};
|
||||
pub use resolution_mode::ResolutionMode;
|
||||
pub use resolver::{
|
||||
BuildId, DefaultResolverProvider, InMemoryIndex, Reporter as ResolverReporter, Resolver,
|
||||
ResolverProvider,
|
||||
BuildId, DefaultResolverProvider, InMemoryIndex, PackageVersionsResult,
|
||||
Reporter as ResolverReporter, Resolver, ResolverProvider, VersionsResponse,
|
||||
WheelMetadataResult,
|
||||
};
|
||||
pub use version_map::VersionMap;
|
||||
|
||||
mod candidate_selector;
|
||||
mod constraints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue