From fba5a4472dfb4e585ed2965248fca1f058927c0a Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 20 Oct 2023 10:48:29 -0400 Subject: [PATCH] fix: Replaced whitelist_externals with allowlist_externals in tox and removed tox-battery --- requirements/ci.in | 1 - requirements/dev.in | 1 - tox.ini | 12 ++++++------ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/requirements/ci.in b/requirements/ci.in index fc0a5e9b13..31e622d21b 100644 --- a/requirements/ci.in +++ b/requirements/ci.in @@ -4,4 +4,3 @@ coverage # Base coverage for codecov tox # Virtualenv management for tests -tox-battery # Makes tox aware of requirements file changes diff --git a/requirements/dev.in b/requirements/dev.in index a9f0b877a6..c0112566f0 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -7,7 +7,6 @@ diff-cover # Changeset diff test coverage edx_lint # Python code linting rules edx-i18n-tools # For i18n_tool dummy tox # virtualenv management for tests -tox-battery # Makes tox aware of requirements file changes wheel # For generation of wheels for PyPI path.py django diff --git a/tox.ini b/tox.ini index 0198c2fd1b..b55574827e 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ commands = python -Wd -m pytest {posargs:-n 3} [testenv:js_tests] -whitelist_externals = +allowlist_externals = npm make commands = @@ -27,7 +27,7 @@ commands = make test-js [testenv:js_lint] -whitelist_externals = +allowlist_externals = npm make commands = @@ -36,7 +36,7 @@ commands = make lint-js [testenv:rst_validation] -whitelist_externals = +allowlist_externals = make deps = -r{toxinidir}/requirements/quality.txt @@ -44,7 +44,7 @@ commands = make quality-rst [testenv:quality] -whitelist_externals = +allowlist_externals = make rm touch @@ -63,7 +63,7 @@ commands = {toxinidir}/edx_proctoring/scripts/version_check.py [testenv:pii_check] -whitelist_externals = +allowlist_externals = make deps = -r{toxinidir}/requirements/test.txt @@ -72,7 +72,7 @@ commands = make pii_check [testenv:translations] -whitelist_externals = +allowlist_externals = make deps = django32: Django>=3.2,<3.3