inelastica icon indicating copy to clipboard operation
inelastica copied to clipboard

Deprecations and future problems

Open zerothi opened this issue 1 year ago • 1 comments

Currently one cannot compile Inelastica with newer versions of numpy.

  • numpy.complex is deprecated (to not overwrite default complex) Instead one should use numpy.complex_ if really needed
  • numpy.distutils will be removed in Python >= 3.12 releases, possibly one should move to scikit-build or something similar to account for these problems... :(

I am trying to do this in sisl. But are having some issues at the moment. Hopefully they should be fixed asap!

zerothi avatar Apr 11 '23 11:04 zerothi

My latest sisl commits have omitted the numpy.distutils problem. So you can take the CMakeLists.txt files from there to make it work for newer Python releases.

zerothi avatar Jun 09 '23 11:06 zerothi