News for hackers. Stuff that matters.
Re:Ask HN: Is there a reason every language comes with it's ... by thesuperbigfrog on Sunday February 19, 2023 @05:19PM (#34862446)
>> Why could't PIP just be an apt-extension?

Because not eveyone uses an apt-based package manager.

Python runs on quite a few platforms:

https://github.com/python/cpython/blob/main/Lib/platform.py

Apt is not the package manager for most of those platforms. Thus an operating system package manager-based approach would not work for everyone.

That said, several operating systems do "vendor" pip packages so that apt or the equivalent operating system package manager can install a known good version of the package. This approach can introduce problems, but it also can prevent problems depending on the operating system and programming language.

There are no comments on this comment yet.