Currently when using Pipenv, the source repository for editable VCS installs defaults to being cloned into the app directory, at /app/src/<repo>.
This directory isn't cached, meaning for repeat builds the repo has to be cloned again from scratch.
In comparison, when using Pip instead of Pipenv, we force the source directory to be created at /app/.heroku/src/<repo> instead, by passing --src when invoking pip install.
We should do the same thing for Pipenv, to speed up builds.
Currently when using Pipenv, the source repository for editable VCS installs defaults to being cloned into the app directory, at
/app/src/<repo>
.This directory isn't cached, meaning for repeat builds the repo has to be cloned again from scratch.
In comparison, when using Pip instead of Pipenv, we force the source directory to be created at
/app/.heroku/src/<repo>
instead, by passing--src
when invokingpip install
.We should do the same thing for Pipenv, to speed up builds.
GUS-W-14764812.