]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: install setuptools >= 12
authorKefu Chai <kchai@redhat.com>
Wed, 31 Jul 2019 08:20:33 +0000 (16:20 +0800)
committerAlfonso Martínez <almartin@redhat.com>
Tue, 17 Sep 2019 13:48:25 +0000 (15:48 +0200)
commit72b918f6c142c3f0b230f71dbc0ac9f2a2ef8cac
tree077b2110922e5082169f0e3963e7194fb58363c7
parentd1f064b278e839154dc3a3d3bda8fb0da8dff6e1
pybind/mgr: install setuptools >= 12

otherwise we have
```
  Running setup.py egg_info for package apache-libcloud

    libcloud/utils/py3.py:76: UserWarning: Missing backports.ssl_match_hostname package
      warnings.warn("Missing backports.ssl_match_hostname package")
    Traceback (most recent call last):
...
      File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 66, in _warn_if_setuptools_outdated

...
setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
...
Command python setup.py egg_info failed with error code 1 in /tmp/tmp.i95Fg82Ea4/venv/build/apache-libcloud
```

and more important thing is, setuptools >= 12 allows us to install the
python modules in venv, without uninstalling existing modules if they
are also installed in by system packages.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 2094c2f2fd6ac0f2028fcaf22f2b51a306e60172)
src/pybind/mgr/dashboard/run-backend-api-tests.sh