[Debichem-devel] Bug#1024075: Bug#1024075: pymatgen FTBFS with Python 3.11 as supported version

Andrius Merkys merkys at debian.org
Mon Nov 14 14:56:04 GMT 2022


Control: tags -1 + fixed-upstream

Hello,

On 2022-11-14 15:54, Adrian Bunk wrote:
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/numpy/core/include -c pymatgen/optimization/linear_assignment.c -o build/temp.linux-x86_64-cpython-311/pymatgen/optimization/linear_assignment.o
> pymatgen/optimization/linear_assignment.c:196:12: fatal error: longintrepr.h: No such file or directory
>    196 |   #include "longintrepr.h"
>        |            ^~~~~~~~~~~~~~~
> compilation terminated.
> error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
> E: pybuild pybuild:379: build: plugin distutils failed with: exit code=1: /usr/bin/python3.11 setup.py build

Updating to the newest upstream version should fix Python 3.11 
compatibility issues, at least upstream reports no issues with Python 
3.11 [1].

[1] https://github.com/materialsproject/pymatgen/issues/2710

Andrius



More information about the Debichem-devel mailing list