TRIQS / tprf

TPRF: The Two-Particle Response Function tool box for TRIQS
https://triqs.github.io/tprf
Other
14 stars 12 forks source link

Remove distutils for py3.12 compatibility #43

Closed Thoemi09 closed 2 months ago

Thoemi09 commented 10 months ago

In the second commit, I have removed numpy_compat.py since (as far as I know) it only checks if the numpy version is >= 1.8, which is lower than the actual triqs requirement for numpy, i.e. 1.11.

Thoemi09 commented 10 months ago

For now, we can use setuptools as a workaround, since it ships the distutils package. In this case, we don't have to change anything in the repo.

Once we make the switch to clair (instead of cpp2py), we can check the numpy version directly in TRIQS with cmake. If we decide to only support numpy versions >= 1.8, we could merge this PR in the future.