#1142153 build python extension using common abi3

Package:
openbabel
Source:
openbabel
Description:
Chemical toolbox utilities (cli)
Submitter:
Drew Parsons
Date:
2026-07-15 23:29:02 UTC
Severity:
normal
#1142153#5
Date:
2026-07-15 23:27:33 UTC
From:
To:
openbabel uses cmake, which makes it difficult to build the python
extension for multiple python versions
(it can be done by using multiple subdirs to find each version,
but that's a heavy patch to maintain if it's not merged upstream)

But cython now offers a common python3 abi, so the extension can be
tagged abi3 instead of cpython-314.  I think cmake can be configured
to use it.

openbabel is an ideal candidate for this mechanism, since in principle
it doesn't really care which python version it's built against.

It would increase the usefulness of the package, making it available
for all python versions (and could help improve debci testing of client
packages).