At one point, I was working on 4 different python projects at once. Some of them were using APIs that, for example, used different versions of requests, so having venvs helped keep them separate.
Another is when I build documentation with sphinx. I keep a separate venv for the docs so that no extra packages are installed to the main project
Again, been programming for over 10 years, and have never had that issue. What braking changes could prevent you from updating a dependency in your api code?
4
u/JoseALerma Dec 19 '18
At one point, I was working on 4 different python projects at once. Some of them were using APIs that, for example, used different versions of
requests, so having venvs helped keep them separate.Another is when I build documentation with
sphinx. I keep a separate venv for the docs so that no extra packages are installed to the main project