While creating a PR on conda-forge (conda-forge/plotpy-feedstock#23), I noticed that importing from guidata.external import darkdetect on Darwin is failing for Python >=3.12.
distutils has been deprecated since python 3.10 and removed in 3.12: https://docs.python.org/3/library/distutils.html
This code could be replaced using the packaging module. That would require a new dependency.
On the other hand, it's used to detect if macOS is greater than 10.13, which is from 2017 and unsupported since 2020. Do we still need to be compatible with such an old version?
While creating a PR on conda-forge (conda-forge/plotpy-feedstock#23), I noticed that importing
from guidata.external import darkdetecton Darwin is failing for Python >=3.12.distutilshas been deprecated since python 3.10 and removed in 3.12: https://docs.python.org/3/library/distutils.htmlThis code could be replaced using the packaging module. That would require a new dependency.
On the other hand, it's used to detect if macOS is greater than 10.13, which is from 2017 and unsupported since 2020. Do we still need to be compatible with such an old version?