spyder-ide / spyder-kernels

Jupyter Kernels for the Spyder console
MIT License
39 stars 40 forks source link

distutils and LooseVersion deprecation #440

Closed juliangilbey closed 1 year ago

juliangilbey commented 1 year ago

As seen in the warning messages in #342, distutils is also being deprecated. It is used in two places in spyder_kernels: spyder_kernels/console/kernel.py line 14 and spyder_kernels/console/start.py line 14, in both cases to import LooseVersion. Please could you replace this by something that doesn't require distutils before Python 3.12 comes out?

Thanks!

ccordoba12 commented 1 year ago

Ok, although this is fixed in master we'll try to also fix it in 2.4.3 to avoid issues when Python 3.12 is released.