Are PyPI, cargo, Maven, etc... all immune to supply chain attacks?
Python also has "wheels", which are pre-compiled distributions, rather than full-source distributions. These are often smaller and install faster.
a feature not a bug. Anyone who ahs built a sufficiently large project and had to abandon some dependencies know this pain
But for day to day use it's much better than Python. They've done a fantastic job overall allowing you not to need to worry about all the different formats and transpilers and whatnot.
That's from the developer's perspective, not the user's. The user of a C++ project doesn't have to care about any of that; they just run the binary, or ./configure && make to build from source. The user of a Python project has to struggle through worst case days of pain depending on how many dependencies are randomly broken.
For "users" that have to touch the code: well, those get the full developer's perspective. And I've lost more hours than I would like to admit trying to get C++ projects to build. A project has to be really small or packaged really well to make it as simple as ./configure && make
Genuine question: How is PyPI different from NPM, Maven, crates.io, etc..?
Why "Python packaging is a mess" and not the others?
It's definitely not the worst. But it's hilarious how bad it is considering how popular it is and how long it's been around
Interestingly, Ruby was the first language to improve on Perl's CPAN. Maven 2 was inspired by it.
For their age, bundler/gem do quite well.