Skip to content
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
This repository was archived by the owner on Nov 9, 2026. It is now read-only.

Create a wheel cache #79

Closed
Closed

Description

@tdejager

So, it would be nice to have cache of built wheel files, once we built them using #32 this way we can re-use them over solves or platforms when using with pixi.

So @baszalmstra and I discussed using cacache-rs for this.

Activity

  1. added
    enhancement
    on Nov 16, 2023
  2. cnpryer commented on Nov 20, 2023

    @cnpryer

    Would this also support #64?

  3. tdejager commented on Nov 20, 2023

    @tdejager
    ContributorAuthor

    @cnpryer Sure! Although the downloaded artifacts are already cached :) We could also start using cacache-rs for that thats what you mean?

  4. cnpryer commented on Nov 20, 2023

    @cnpryer

    We could also start using cacache-rs for that thats what you mean?

    Yea I was thinking through the ways it could be implemented.

  5. baszalmstra commented on Nov 20, 2023

    @baszalmstra
    Contributor

    @tdejager Do we want to store the unpacked wheel in the cache? (Through an indirection).

    So we have an entry: rip::wheel::<integrity> that contains metadata that describes the files in the .whl and their integrities. Then we can use the same thing for regular wheels as well.

  6. tdejager commented on Nov 27, 2023

    @tdejager
    ContributorAuthor

    So the plan for now is:

    • Create a disk cache using cacache.
    • Store metadata for the hashed sdist.
    • Store the wheel by hash and store the hash in the metadata for the sdist.

    After which we should add functionality to:

    • Check if we have already built the wheel when building an sdist.
    • Install wheels from cache and package_db
  7. tdejager commented on Dec 5, 2023

    @tdejager
    ContributorAuthor

    Implemented in #107 and #111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions