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

Don't prefetch unreachable packages #8246

Merged
merged 1 commit into from
Oct 18, 2024

Commits on Oct 17, 2024

  1. Don't prefetch unreachable packages

    When batch prefetching we can fetch versions we know that are incompatible. In the following example, we were prefetching sentry-kafka-schemas below version 1.50.0.
    
    ```
    python-rapidjson<=1.20,>=1.4
    sentry-kafka-schemas<=0.1.113,>=0.1.50
    ```
    
    Using a new pubgrub interface from astral-sh/pubgrub#32, we can avoid those prefetches by asking for incompatibilities that won't change anymore (those with root).
    konstin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7475e75 View commit details
    Browse the repository at this point in the history