News for hackers. Stuff that matters.
Re:Switching from Pyenv to Uv by BoorishBears on Wednesday March 12, 2025 @06:44PM (#43348488)
I was working on a Raspberry Pi at a hackathon, and pip install was eating several minutes at a time.

Tried uv for the first time and it was down to seconds.

Re:Switching from Pyenv to Uv by guappa on Thursday March 13, 2025 @08:24AM (#43352562)
Why would you be redoing your venv more than once?
Re:Switching from Pyenv to Uv by dagw on Thursday March 13, 2025 @10:50AM (#43353960)
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.
Re:Switching from Pyenv to Uv by kstrauser on Thursday March 13, 2025 @01:06PM (#43355251)
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.
Re:Switching from Pyenv to Uv by guappa on Friday March 14, 2025 @03:27AM (#43360347)
I thought you wanted to test your program, but seems you want to make sure that your unzip library keeps working :D
Re:Switching from Pyenv to Uv by BoorishBears on Thursday March 13, 2025 @04:00PM (#43356736)
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

Re:Switching from Pyenv to Uv by guappa on Friday March 14, 2025 @04:36AM (#43360646)
If only linux distributions had existed for decades…
Re:Switching from Pyenv to Uv by BoorishBears on Saturday March 15, 2025 @10:01PM (#43376459)
Not sure how a linux distribution replaces python package management but ok?