]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
*: s/whitelist_externals/allowlist_externals/
authorKefu Chai <tchaikov@gmail.com>
Thu, 8 Dec 2022 06:53:33 +0000 (14:53 +0800)
committerAdam King <adking@redhat.com>
Fri, 9 Dec 2022 18:43:27 +0000 (13:43 -0500)
commit71dd6c108f54b6da7b60e0c56769d7dbb627447e
treed7eae8ed8fbeec649faf983a13dbf9c7798ff6c1
parent042532fa5c9b88a71525be7bfb47c06e4f1724b7
*: s/whitelist_externals/allowlist_externals/

as allowlist_externals was introduced in
tox v4.0. see
https://github.com/tox-dev/tox/commit/5e33fda1a40ffb4973de3d607a572891eb3cb2d2 , but
this option was backported to 3.18 as an alias of whitelist_externals, so we don't need
to specify the minversion to 4.0 in this change.

as we started using tox 4.0 and up (v4.0.2 in specific). tox complains
and fails like:

alerts-lint: failed with promtool is not allowed, use allowlist_externals to allow it
  alerts-lint: FAIL code 1 (9.25 seconds)

see https://tox.wiki/en/latest/faq.html#tox-4-removed-tox-ini-keys
and https://tox.wiki/en/latest/config.html#allowlist_externals

it'd be nice to use a more inclusive language also. so, in this change,
s/whitelist_externals/allowlist_externals/ in all tox.ini in this
project.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 34e2e33870b1ce381f9cd3eead882daa7b640b81)
monitoring/ceph-mixin/tox.ini
src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini
src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini
src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini
src/ceph-volume/shell_tox.ini