Hacker News new | ask | show | jobs
by iudqnolq 1174 days ago
But with python the custom is to ship prebuilt binaries. And there won't be prebuilt binaries for plenty of normal-ish platforms, like Alpine Linux. So those users will now have to set up local complication for the first time.

This is no big deal for us, but it can be quite confusing and frustrating for users who haven't written compiler code before.

2 comments

It looks like pydantic-core is distributing musllinux wheels, which should work fine on alpine. Fwiw tooling like cibuildwheel makes building and publishing wheels for all the common platforms fairly straightforward now.
My experience is that though the error messages Python produces are quite obscure and verbose, the installation of the necessary packages went quite smoothly. I've pkg added Rust in Termux on my phone, and it that works I don't think getting stuff built will be all that challenging.

What Python dependency managers need to improve, in my opinion, is for their toolsets to inform users about native dependencies when compilation is required.