10 ms·
Yeah that sucks. something like: for venv in $(find ~/projects/ -type d -name 'venv'); do ( source ${venv}/bin/activate pip install -
by fragmede 2y ago
Yeah that sucks. something like:
for venv in $(find ~/projects/ -type d -name 'venv'); do
(
source ${venv}/bin/activate
pip install --upgrade pip
pip install --upgrade package_with_cve
deactivate
) &
done
should do the trick. Sucks that we're in that world, but let's not work any harder than we have to.
- fragmede 2y agoI forgot about parallel, which would do better than spawning off all the pip install --upgrade at once.