]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add `types-PyYAML` dependency in mypy testing
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 6 Dec 2023 15:09:44 +0000 (15:09 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:07:21 +0000 (15:07 +0000)
commit04f8b5b85c628f8efc422b0cdf52d6522f6a3898
tree6376b0ff35e2d657d27988191a50e4b977241492
parentf9a6467fdceb0ffe0b5bd2c61a55f3cbe9cf1518
cephadm: add `types-PyYAML` dependency in mypy testing

In order to address the following error:

```
cephadmlib/node_proxy/util.py:2: error: Library stubs not installed for "yaml" (or incompatible with Python 3.9)
cephadmlib/node_proxy/util.py:2: note: Hint: "python3 -m pip install types-PyYAML"
cephadmlib/node_proxy/util.py:2: note: (or run "mypy --install-types" to install all missing stub packages)
cephadmlib/node_proxy/util.py:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
```

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/cephadm/tox.ini