News for hackers. Stuff that matters.
Re:Apple M3 Ultra by kstrauser on Wednesday March 05, 2025 @10:50AM (#43268188)
Virtualenv’s been a thing for many years, it’s built into Python, and it solves all that without adding additional tooling.

And if you’re genuinely asking, everything’s converging toward uv. If you pick only one, use that and be done with it.

Re:Apple M3 Ultra by hedora on Wednesday March 05, 2025 @11:57AM (#43269211)
I’ve been using virtualenv for a decade, and we use uv at work.

Neither fixed anything. They just make it slightly less painful to deal with python scripts’ constant bitrot.

They also make python uniquely difficult to dockerize.

Re:Apple M3 Ultra by kstrauser on Wednesday March 05, 2025 @01:38PM (#43270468)
That's so completely, diametrically opposite of my experience with both that I can't help but wonder how it ended up there.

> They also make python uniquely difficult to dockerize.

  RUN pip install uv && uv sync
Tada, done. No, seriously. That's the whole invocation.
Re:Apple M3 Ultra by pmarreck on Thursday March 06, 2025 @11:05AM (#43281730)
So you've never encountered a stale python project that used to work and had difficulties getting it up and running again?

Do you actually try new Python projects out with git-clone, or do you just use the same 3 Python projects for years at a time (all regularly)?

That might explain the difference in experiences