3 ms·
What are "hunter-gatherer-style installs?"
by aazaa 5y ago
What are "hunter-gatherer-style installs?"
- taeric 5y agoI take that as "keep running pip install on yet another discovered dep until the script works." And heaven help you if you accidentally get conflicting versions installed in the same venv. (By conflicting, I mean two libraries that both depend on different versions of the same underlying library. Odds of this increase dramatically the more you use.)
- deleted 5y ago[deleted]
- orf 5y agoPip now checks this, but you usually use something like Poetry to give you a concrete lockfile with the correct transient dependencies locked in.
- taeric 5y agoMy "heaven help you" was more that, if you are in that situation, you don't really have an exit strategy in python. Do you?
- singularity2001 5y agoyeah people are often lazy about adding a requirements.txt
- joconde 5y agoNeither of these problems have happened to me since pip introduced their new dependency resolver (I think sometime during 2020). All dependencies are installed, and packages in the default repo usually have consistent dependency lists. It's another story for conda, which flat-out refused to install my list of around 10 packages (that seems to stems from the fact that most packages are in conda-forge, and requirements are often inconsistent with the default repo).