On 6/4/24 11:04 PM, Grant Edwards wrote: > On 2024-06-04, Eli Schwartz <[email protected]> wrote: >> If a package claimed to support python 3.12 and nonetheless failed to >> build with it, that's a bug in the package -- can you provide more details? > > IIRC, the first one was pycxx. The build faild during the config > step. I uninstalled it (which meant I also had to uninstall pysvn, > which I think means that meld is going to stop working).
Thanks for the report. This was migrated to python 3.12 in https://bugs.gentoo.org/929486 and indeed it builds fine for me. However, it is very obvious, *to me*, why it failed for you (even without build logs). The package doesn't have a build dependency on the dev-python/setuptools package, and python 3.12 removed a standard library module (distutils) which is henceforth provided by this package. And pycxx doesn't use pep517 mode either. It's a trivial fix. You would have seen a build error that looked something like ModuleNotFoundError: No module named 'distutils' I have queued the fix, so this should start working soon. I do understand that this doesn't necessarily help you anymore, but still. I am happy to at least make *one* package work reliably. (Well, other packages too, just unrelated to your report.) -- Eli Schwartz
OpenPGP_0x84818A6819AF4A9B.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature

