diff options
author | Kefu Chai <kchai@redhat.com> | 2020-08-02 03:31:01 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2020-08-02 03:39:55 +0200 |
commit | a196672b77bf5f1806e0c1c8b906052cf45a6afe (patch) | |
tree | 2b335451d614d75075dab62cf607df25ba9a5e29 /src/pybind/mgr/tox.ini | |
parent | Merge pull request #36348 from votdev/cephadm_tox_pylint (diff) | |
download | ceph-a196672b77bf5f1806e0c1c8b906052cf45a6afe.tar.xz ceph-a196672b77bf5f1806e0c1c8b906052cf45a6afe.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/tox.ini | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index b4541d7c226..3ceba83386b 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -69,7 +69,8 @@ commands = {[testenv]commands} [testenv:fix] basepython = python3 -deps = -rrequirements-fix.txt +deps = + autopep8 commands = python --version autopep8 {[autopep8]addopts} {posargs: \ |