pypa/pip

Speed up build environment creation (re-usable, faster)

Open

#7,294 opened on Nov 4, 2019

View on GitHub
 (19 comments) (6 reactions) (0 assignees)Python (8,952 stars) (3,032 forks)batch import
C: PEP 517 impacthelp wantedstate: needs discussiontype: performance

Description

Currently pip always creates all build environments from scratch, requiring network access for this. This causes a significant overhead of creating isolated build environments. Can we somehow speed-up this operation?

Idea: Creating isolated build environments from cached wheels only? Do not recreate isolated build environments from scratch, but have a master copy that we just copy.

Contributor guide