On 2024-01-22 09:28, Andrius Merkys wrote:
Hi Drew,


spglib should be configured to build for all available python versions.
In other libraries (e.g. fenics-basix) this is done by building the C
library separately from the the python module.

Thanks for a pointer, I will give fenics-basix a look. I did not
manage to figure out a way to build spglib for all available Python
versions.

Thinking about it, it could be tricky since spglib handles the python build from cmake with no setup.py. The others run the two parts separately, cmake for the library and python setup for the python module. Seems to be a flaw in cmake that it can't handle multiple pythons. Could possibly run cmake multiple times specifying the python version for each run.

Not sure, should this be severity: serious?

I think no. Supporting default Python only is not RC-critical, AFAIR.
However, having spglib support all Python versions would fix other
issues, like #1056457.

True. For now I'll configure the client packages to run their tests only on default python then.

Drew

Reply via email to