zhucaoxiang/CoilPy

distutils deprecation

Opened this issue · 1 comments

Hi @zhucaoxiang, the pip install of coilpy will fail for python>3.12, as distutils will be deprecated then. The latest Ubuntu container started shipping with 3.12, and thus coilpy's dependency in py_spec will cause simsopt tests to fail when we start using 3.12.

Currently removing it as a dependency in py_spec, as the tests can run without coilpy, but the plotting of SPEC results depends on some of your routines.

Would you like me to look into a fix for the install or work on migrating the dependencies to py_spec itself so coilpy does not need to be changed?

Hi, coilpy is under development. Please first check if you are using the latest version. You can update it by pip install -U coilpy.