Hacker News new | ask | show | jobs
by guappa 465 days ago
Why would you be redoing your venv more than once?
2 comments

Once rebuilding your venv takes negligible time, it opens up for all kinds of new ways to develop. For example I now always run my tests in a clean environment, just to make sure I haven't added anything that only happens to work in my dev venv.
That's smart. Oh, you used `pip install` to fix a missing import, but forgot to add it to pyproject.toml? You'll find out quickly.
I thought you wanted to test your program, but seems you want to make sure that your unzip library keeps working :D
It has nothing to do with redoing venv: some package installs were just taking multiple minutes.

I cancelled one at 4 minutes before switching to uv and having it finish in a few seconds

If only linux distributions had existed for decades…
Not sure how a linux distribution replaces python package management but ok?