News for hackers. Stuff that matters.
Re:Nix – Death by a Thousand Cuts by ofrzeta on Wednesday January 15, 2025 @12:52AM (#42707765)
Well, what about "FROM python:3.18" and using requirements.txt or something like that? I mean, running an arbitrary Python version will get you in trouble anyway.
Re:Nix – Death by a Thousand Cuts by neobrain on Wednesday January 15, 2025 @06:48AM (#42709866)
There's no mechanism to enforce this is done consistently. With nix, there is.

The degree to which this guarantee is useful or necessary depends on your use case.

Re:Nix – Death by a Thousand Cuts by viraptor on Wednesday January 15, 2025 @07:18AM (#42710075)
Depends on the repository used, actual version revision of Python, compiled features, the way the requirements for is written, the way the current version of pip resolves them, the base is that Python image and a lot of other things. Doing that gives you maybe 30% of the way towards something reproducible and consistent.