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

Add State::add_incompatibility_from_dependencies #27

Merged
merged 1 commit into from
Jun 19, 2024

Commits on Jun 19, 2024

  1. Add State::add_version

    This wrapper avoids accessing `incompatibility_store` directly in uv code.
    
    Before:
    
    ```rust
    let dep_incompats = self.pubgrub.add_incompatibility_from_dependencies(
        package.clone(),
        version.clone(),
        dependencies,
    );
    self.pubgrub.partial_solution.add_version(
        package.clone(),
        version.clone(),
        dep_incompats,
        &self.pubgrub.incompatibility_store,
    );
    ```
    
    After:
    
    ```rust
    self.pubgrub.add_version(package.clone(), version.clone(), dependencies);
    ```
    konstin committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    193988d View commit details
    Browse the repository at this point in the history