ExpHP / rsp2

phonons in rust
Apache License 2.0
2 stars 1 forks source link

Required version of numpy can't be installed on Python 3.9 #113

Closed ExpHP closed 3 years ago

ExpHP commented 3 years ago

The numpy dependency in requirements.txt has to be updated .

      compile options: '-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/core/inc
lude/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/sr
c/npysort -I/home/lampam/cpp/other/rust/rsp2/venv/include -I/usr/include/python3.9 -Ibuild/src.linux-x86_64-3.9/numpy/core/src/private -Ibuild/src.linux-x86_
64-3.9/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.9/numpy/core/src/private -Ibuild/src.linux-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.linux-x86_6
4-3.9/numpy/core/src/private -Ibuild/src.linux-x86_64-3.9/numpy/core/src/npymath -c'                                                                          
     clang: numpy/random/mtrand/mtrand.c                                                                                                                     
     numpy/random/mtrand/mtrand.c:43635:34: error: no member named 'tp_print' in 'struct _typeobject'                                                        
       __pyx_type_6mtrand_RandomState.tp_print = 0;                                                                                                          
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

I think this will ultimately require updating to support a newer version of phonopy.

ExpHP commented 3 years ago

It's possible that all of the main blockers preventing the phonopy dependency from being updated were removed back in f650e17 or nearby commits. My memory is a bit foggy. Looking further into this.

ExpHP commented 3 years ago

The original blockers were related to diagonalizer: phonopy which is long gone, but there are new, smaller issues which affect disp-finder: phonopy in that Phonopy made breaking changes to its CLI:

Shouldn't be too bad.