Re:11% of Americans don’t use the internet
by mikec3010 on Monday July 23, 2018 @08:30PM
(#17597187)
Hypothetically, if you needed python couldn't you either compile it to binary or just install the runtime ? I don't see how a language would be coupled to the version of Linux.
[ Parent
| on HN ]
Doing so means putting all Python packages into a single opaque OS-level package. Not fun when your build system and related infrastructure, were all designed to work with OS-level packages.
Re:11% of Americans don’t use the internet
by mikec3010 on Tuesday July 24, 2018 @12:17PM
(#17602440)
Can't you just set PYTHON_PATH="where yoy put python" ?
> all Python packages
That's a weakness in the language. You trade such a simple syntax for dependency hell. Oh, you wanted XML-derp-3.5.2.9.6? Well that requires XML-slurp-2.6.5.9.77 and you only have '75, sorry bud, can't possibly work. Oh but if you upgrade XML-slurp that breaks pycairo-2.7.55-1 and all your GUI code will stop working. Fun stuff.
Not my choice. We've had over 50kloc of Python for several years before I arrived. The packaging shenanigans still occasionally sputter.
Re:11% of Americans don’t use the internet
by icebraining on Tuesday July 24, 2018 @03:09AM
(#17598733)
Why? You just use package dependencies to indicated that they depend on the New Python.
Third-party dependencies. Their BRPMs will all install to the OS's old Python. Pull them from PyPI using setup.py, and we get the problem I describe; the alternative is to build our own BRPMs, which is a massive headache to set up.