]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr: add ipaddress to requirements.txt
authorKefu Chai <kchai@redhat.com>
Wed, 20 Nov 2019 08:31:29 +0000 (16:31 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 20 Nov 2019 08:41:09 +0000 (16:41 +0800)
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 <kchai@redhat.com>
src/pybind/mgr/requirements.txt

index 103aee7332099cd314f7a7b74c252b4606baef52..fe76eee7964f6937bcf09f8449ebe4a7d04d465a 100644 (file)
@@ -1,3 +1,4 @@
 pytest-cov==2.7.1
 mock; python_version <= '3.3'
+ipaddress; python_version < '3.3'
 ../../python-common