DiamondLightSource / DiamondLightSource/coniql

Distutils deprecated for python 3.12

Open
#101 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.