]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: track dependency in tox.ini
authorKefu Chai <kchai@redhat.com>
Sun, 2 Aug 2020 01:31:01 +0000 (09:31 +0800)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 4 Aug 2020 14:21:44 +0000 (16:21 +0200)
commit2f56aba1b94e98fe8c423ff8aefbf9f99aa0ab8f
tree0f929a277bd93f716415e6370dc420c56e893414
parent01c8ef83756a80f57ebe08879f3dc510253265fb
mgr/cephadm: track dependency in tox.ini

* track dependency for running tox tests with tox.ini. the fix
  test is not performed by "make check", so `install-deps.sh`
  is not responsible for preparing the autopep8 wheels. hence
  we can just put it in tox.ini
* remove "python_version >= '3'" as we do not support python2

this change addresses a regression introduced by
7d8a3b60321da10af6f4557a9d69eda09ca2c620, which fails the rpmbuild like:

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/ceph/mgr/requirements-fix.txt

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit a196672b77bf5f1806e0c1c8b906052cf45a6afe)
src/pybind/mgr/requirements-fix.txt [deleted file]
src/pybind/mgr/tox.ini