You're correct. I believe he uses venv for non-containerized development to keep his python packages tidy; it's good practice. Sometimes you want to hack around straight on your machine and not run a container since it can be a lot simpler to test a new feature or debug without dealing with containers.
Exactly! In the video, I am comparing how the test cases behave differently inside vs outside the container. The virtual environment is to handle the packages running directly on my host system.
You're correct. I believe he uses
venv
for non-containerized development to keep his python packages tidy; it's good practice. Sometimes you want to hack around straight on your machine and not run a container since it can be a lot simpler to test a new feature or debug without dealing with containers.Exactly! In the video, I am comparing how the test cases behave differently inside vs outside the container. The virtual environment is to handle the packages running directly on my host system.
Pyenv is also a good alternative locally, it allows you to work with multiple python versions