Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecations and future problems #70

Open
zerothi opened this issue Apr 11, 2023 · 1 comment
Open

Deprecations and future problems #70

zerothi opened this issue Apr 11, 2023 · 1 comment

Comments

@zerothi
Copy link
Collaborator

zerothi commented Apr 11, 2023

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
Copy link
Collaborator Author

zerothi commented Jun 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant