DiamondLightSource / DiamondLightSource/coniql
Distutils deprecated for python 3.12
Open
- Dominant language
- Python
- Stars
- 5
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Package installation fails with python 3.12 with error `ModuleNotFoundError: No module named 'numpy.distutils'`. Python 3.12 has officially [removed distutils](https://peps.python.org/pep-0632/) and it has been deprecated in python 3.10. This has caused errors with using python 3.12:
```
ModuleNotFoundError: No module named 'numpy.distutils'
```
and with deprecation warnings in older python versions:
```
DeprecationWarning: dep_util is Deprecated. Use functions from setuptools instead.
```
Contributor guide
Assessment
This issue has not been assessed yet.