News for hackers. Stuff that matters.
Re:Uv's killer feature is pulling in local dependencies by dragonwriter on Monday January 13, 2025 @01:29PM (#42686762)
> Node.js's replacement for virtualenv is literally just a folder named "node_modules".

Node_modules doesn't support an isolated node interpreter distinct from what may be installed elsewhere on the machine. Third party tools are available that do that for node, but node_modules alone addresses a subset of the issues that venvs solve.

OTOH, its arguably undesirable that there isn't a convenient way in Python to do just what node_modules does without the extra stuff that venvs do, because there are a lot of use cases where that kind of solution would be sufficient and lower overhead.

There are no comments on this comment yet.