From 36a8c8590e17902adbb8655e9b6813dce7dc60ba Mon Sep 17 00:00:00 2001 From: Laura Flores Date: Mon, 29 Jan 2024 00:58:25 +0000 Subject: [PATCH] mgr: pin pytest to version 7.4.4 On 2024-01-27, pytest updated to 8.0.0, which broke run-tox-mgr. https://docs.pytest.org/en/stable/changelog.html ==================================== ERRORS ==================================== _____________________ ERROR collecting alerts/__init__.py ______________________ alerts/__init__.py:2: in from .module import Alerts alerts/module.py:6: in from mgr_module import CLIReadCommand, HandleCommandResult, MgrModule, Option mgr_module.py:1: in import ceph_module # noqa E ModuleNotFoundError: No module named 'ceph_module' ______________________ ERROR collecting alerts/module.py _______________________ alerts/module.py:6: in from mgr_module import CLIReadCommand, HandleCommandResult, MgrModule, Option mgr_module.py:1: in import ceph_module # noqa E ModuleNotFoundError: No module named 'ceph_module' ____________________ ERROR collecting balancer/__init__.py _____________________ balancer/__init__.py:2: in from .module import Module balancer/module.py:12: in from mgr_module import CLIReadCommand, CLICommand, CommandResult, MgrModule, Option, OSDMap, CephReleases mgr_module.py:1: in import ceph_module # noqa E ModuleNotFoundError: No module named 'ceph_module' _____________________ ERROR collecting balancer/module.py ______________________ balancer/module.py:12: in from mgr_module import CLIReadCommand, CLICommand, CommandResult, MgrModule, Option, OSDMap, CephReleases mgr_module.py:1: in import ceph_module # noqa E ModuleNotFoundError: No module named 'ceph_module' Fixes: https://tracker.ceph.com/issues/64200 Signed-off-by: Laura Flores (cherry picked from commit 5554e565ca7ca9c9d6bc70e245be63d947722eda) --- src/pybind/mgr/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/requirements.txt b/src/pybind/mgr/requirements.txt index 1c7b326a70f0f..7daee3323b8c6 100644 --- a/src/pybind/mgr/requirements.txt +++ b/src/pybind/mgr/requirements.txt @@ -2,3 +2,4 @@ asyncssh==2.9 kubernetes==11.0.0 urllib3==1.26.15 +pytest==7.4.4 -- 2.39.5