3 ms·
Interesting take. I use Python daily and virtualenv is really good for our use cases (running CI/CD, testing installation and running in production in a contain
by StreamBright 5y ago
Interesting take. I use Python daily and virtualenv is really good for our use cases (running CI/CD, testing installation and running in production in a container). I am not experiencing too many problems with pip + venv. We also maintain our own libraries and even those were relatively easy to set up. Mypy and yapf also helps to maintain a style and type correctness (do not pass in None accidentally).
- rickspencer3 5y agoI do all of my server side Python development in a container. Whenever I start a new project, I create a dockerfile as a first step. This is the easiest way I have found to make my code portable. The main downside I have found is with IDE support. I use the latest tag, so I get updated containers periodically, which has not been a source of breakages. I have not figured out how to tell VSCode to use the Python in my container for statement completion and validation. For personal projects on my desktop, I have given up and just use pip install, and then don't try to share those scripts.