From: Kefu Chai Date: Wed, 20 Nov 2019 08:31:29 +0000 (+0800) Subject: pybind/mgr: add ipaddress to requirements.txt X-Git-Tag: v15.1.0~836^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=71b38f5c8b120ea077359006eb7b6f4c1e4c6150;p=ceph.git pybind/mgr: add ipaddress to requirements.txt ipaddress dependency was introduced in 16f281d2. because the tox testenv is isolated from the host python env, the test env has no access to the ipaddress python module installed by install-deps.sh. we have to install ipaddress for python<3.3 for testing which uses `orchestrator.py`. Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/requirements.txt b/src/pybind/mgr/requirements.txt index 103aee733209..fe76eee7964f 100644 --- a/src/pybind/mgr/requirements.txt +++ b/src/pybind/mgr/requirements.txt @@ -1,3 +1,4 @@ pytest-cov==2.7.1 mock; python_version <= '3.3' +ipaddress; python_version < '3.3' ../../python-common