Y
Hacker News
new
|
ask
|
show
|
jobs
by
guappa
465 days ago
Why would you be redoing your venv more than once?
2 comments
dagw
465 days ago
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.
link
kstrauser
465 days ago
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.
link
guappa
464 days ago
I thought you wanted to test your program, but seems you want to make sure that your unzip library keeps working :D
link
BoorishBears
465 days ago
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
link
guappa
464 days ago
If only linux distributions had existed for decades…
link
BoorishBears
462 days ago
Not sure how a linux distribution replaces python package management but ok?
link