|
|
|
|
|
by edpenz
1478 days ago
|
|
The most efficient workflow I've found for pip so far is something along the lines of: pip-compile # resolve and pin the dependency tree
grep '==' requirements-pinned.txt | xargs -n1 pip wheel # build every wheel in parallel
pip install *.whl # install the pre-built wheels
It may not avoid all the slowness, but when nicely integrated into a build/CI system it can avoid suffering it more than once. |
|
It still happens from time to time, but if somebody else read this comment, you want to check how many wheels you build before doing so.
Also, you may want to cache those build once and for all.