3 ms·
You’re already managing a few hundred dependencies and their versions. Each venv roughly doubles the number of dependencies and they all have slightly different
by sjducb 2y ago
You’re already managing a few hundred dependencies and their versions. Each venv roughly doubles the number of dependencies and they all have slightly different versions.
Now your 15 venvs deep, and have over 3000 different package version combinations installed. Your job is to upgrade them right now because of a level 8 CVE
- fragmede 2y agoYeah 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.