dftd3 / simple-dftd3

reimplementation of the DFT-D3 program
https://dftd3.readthedocs.io
GNU Lesser General Public License v3.0
46 stars 19 forks source link

Building wheels with Python 3.12 fails #62

Open awvwgk opened 1 month ago

awvwgk commented 1 month ago
Program python3 (cffi) found: YES (/tmp/build-env-g8_6itnh/bin/python) modules: cffi
Run-time dependency python found: YES 3.12
Configuring _libdftd3.h with command
Configuring _libdftd3.c with command

../dftd3/meson.build:50:19: ERROR: Command `/tmp/build-env-g8_6itnh/bin/python /__w/simple-dftd3/simple-dftd3/dftd3-1.0.0/dftd3/../ffibuilder.py /__w/simple-dftd3/simple-dftd3/dftd3-1.0.0/.mesonpy-j15lfj0y/dftd3/_libdftd3.h _libdftd3` failed with status 1.

A full log can be found at /__w/simple-dftd3/simple-dftd3/dftd3-1.0.0/.mesonpy-j15lfj0y/meson-logs/meson-log.txt

ERROR Backend subprocess exited when trying to invoke build_wheel

Added in #55 by Thijs @tvogels, reverted again on main.

tvogels commented 1 month ago

Hmm, I saw the same problem in the CI tests. How did this pass those to get merged?

awvwgk commented 1 month ago

Python 3.12 passes in the regular CI but fails in the wheel building step with cibuildwheel. Notably I am already shipping conda packages for 3.12 so there should be another issue.