Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A mix of hold your breath and pray, and google until you find some github issue or stack overflow post that addresses incompatibilities of version x.x.x with OS version y.y.y on architecture z, then download some custom wheel that a person uploaded to their personal PyPi instance.

It's one of the most stressful and least-fun parts of being a developer for me.

I keep reading about NixOS lately, but I haven't done a deep dive into it. Does this seem like something that could be useful for this?

Also, does anyone have any resources for pragmatically working through such things or guidelines to help maintain one's sanity?



Particularly if you're on ARM. I did a stint with a company that worked in the AI / ML space, and when we tried to get stuff working on Amazon's Graviton it was a mess. Docker containers are suddenly installing gcc, make, every '*-dev' library you could think of. Builds take forever, and you end up with who-knows-what gigantic .whl files built under the hood. I ended up writing a script to find the wheels and upload anything larger than 500kb to our AWS Artifact pip repo so they didn't have to get built every time the pipeline ran. It worked, but took a while to iron out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: