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

Cache prepared metadata #11165

Open
1 task done
sbidoul opened this issue Jun 5, 2022 · 1 comment · May be fixed by #12256
Open
1 task done

Cache prepared metadata #11165

sbidoul opened this issue Jun 5, 2022 · 1 comment · May be fixed by #12256
Labels
C: cache Dealing with cache and files in it type: feature request Request for a new feature

Comments

@sbidoul
Copy link
Member

sbidoul commented Jun 5, 2022

What's the problem this feature will solve?

Pip currently caches built wheels. In several circumstances pip needs to prepare metadata that will not lead to build a wheel (such as during dependency resolution when several versions need to be considered).

Since metadata preparation can be a costly process in itself, a cache of prepared metadata may help resolution performance.

Describe the solution you'd like

A new metadata cache that would work in a very similar way as the wheel cache (same keys, same criteria for deciding whether to cache or not. Feasibility and implementation details to be investigated.

Alternative Solutions

None.

Additional context

#11126 (comment)

Code of Conduct

@sbidoul sbidoul added C: cache Dealing with cache and files in it type: feature request Request for a new feature labels Jun 5, 2022
@sbidoul sbidoul linked a pull request Sep 4, 2023 that will close this issue
1 task
@cosmicexplorer
Copy link
Contributor

I am hoping that #12256 addresses this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: cache Dealing with cache and files in it type: feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants