[23:35:04] <techalchemy> toad_polo, is there ever any reason for people to be using distutils directly for building extensions that you're aware of now? Thinking specifically of pyyaml for example
[23:35:18] <toad_polo> techalchemy: Never use distutils for any reason.
[23:35:50] <techalchemy> my AST parser tripped over pyyaml so I grabbed the sdist in question (https://files.pythonhosted.org/packages/3d/d9/ea9816aea31beeadccd03f1f8b625ecf8f645bd66744484d162d84803ce5/PyYAML-5.3.tar.gz) and figured I'd take a look at setup.py first
[23:36:55] <techalchemy> ah they do seem to use setuptools by manually overwriting the distutils modules in the sys.modules dict :|
[23:37:25] <toad_polo> Yeah this is an absurd an unnecessary attempt at excessive compatibility or something.
[23:37:30] <techalchemy> but only if setuptools is already imported? i'm so confused
[23:37:35] <toad_polo> This would be fixed by just adding a pyproject.toml and declaring a dependency on setuptools.
[23:37:58] <techalchemy> it would still break in the distro build pipeline i'm pretty sure
[23:39:33] <techalchemy> meh i'm not even going to try to fix this, this is the one that compiles totally different code paths depending on your python version