DiamondLightSource / DiamondLightSource/pymalcolm

imp module deprecated

Open
#325 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
12
PR merge metrics
No merged PRs in 30d

Description

The imp module is deprecated and needs replacing with importlib:

```
DeprecationWarning: the imp module is deprecated in favour of importlib;
see the module's documentation for alternative uses
import imp
```

This is a bit more involved than just a straight replacement. This may help: https://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path

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.