]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: remove vestigial basepython directives
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 10 Apr 2024 14:35:31 +0000 (10:35 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 10 Apr 2024 14:35:31 +0000 (10:35 -0400)
Remove what I think are vestigial configuration parameters setting
`basepython` in tox.ini. These may have been useful during the change
from python 2 to 3, but I don't see them serving any useful purpose
at this current time. In fact they now interfere with the ability to
globally override the basepython version of all testenv's at once.
So let's just remove them. We can always add it back if we find
an issue in the future (and document it!).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/tox.ini

index 86d2c289c761a6e9291fa1be27b0fbbc0d8a0e2e..70e9a411238fbb5e20b0d98cbd4ece36e0693486 100644 (file)
@@ -35,7 +35,6 @@ deps =
 commands=pytest {posargs}
 
 [testenv:mypy]
-basepython = python3
 deps =
     mypy
     types-PyYAML
@@ -44,7 +43,6 @@ deps =
 commands = mypy --config-file ../mypy.ini {posargs:cephadm.py cephadmlib}
 
 [testenv:flake8]
-basepython = python3
 allowlist_externals = bash
 deps =
     flake8 == 5.0.4