From: John Mulligan Date: Wed, 18 Sep 2024 03:21:31 +0000 (-0700) Subject: pybind/mgr: attempt to fix mypy importing from python-common X-Git-Tag: v20.0.0~1026^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F59845%2Fhead;p=ceph.git pybind/mgr: attempt to fix mypy importing from python-common For some reason mypy on python 3.12 can no longer automatically find imports from python-common. Help it out by expanding the MYPYPATH value for the tox.ini. Signed-off-by: John Mulligan --- diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 4190bcf44db7..956cd7896aab 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -69,7 +69,7 @@ commands = [testenv:{,py37-,py38-,py39-,py310-}mypy] setenv = - MYPYPATH = {toxinidir}/.. + MYPYPATH = {toxinidir}/..:{toxinidir}/../../python-common passenv = MYPYPATH deps =