the immediate blocker when trying to run this Python project is that a native package deep within its dependency graph won’t compile without gcc-12 even though gcc 15 was released in August last year

that’s not even targeting gcc 14 which was released in 2024

and to hardcode this expectation without a Dockerfile or some Python-native mechanism to pull in a specific version of a C/Cxx compiler …

https://xkcd.com/1987/

🐍 🤡

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    19 hours ago

    I see. My assumption was you had a problem with a certain application, and my reply was from that viewpoint.

    I 100% agree that Python programs relying on binary programs can be really complicated. In fact one of my projects requires a third party binary program to be installed, but I do not build it from source and just require it to be available on the system. And I encountered lot of issues when trying to create AppImage and sharing in certain environments. Actually this made me learn Rust, so I have a real compiled language in my repertoire for future projects when needed.

    • jokeyrhyme@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      hehe, this exact same problem but in Node.js drove me towards Rust, as well 🦀

      there are widely-used Rust crates that wrap C/C++ code and there are the …-sys crates that expose bindings for dynamically-linked dependencies, but i’ve never encountered one that needed a specifically-ancient version of GCC