Skip to content

Commit

Permalink
Merge pull request #1933 from openedx/zshkoor/tox-updates
Browse files Browse the repository at this point in the history
Replaced whitelist_externals with allowlist_externals in tox and removed tox-battery
  • Loading branch information
UsamaSadiq authored Oct 31, 2023
2 parents c54ae9e + c51d162 commit 9f0c3f5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion requirements/ci.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
-c constraints.txt

tox # Virtualenv management for tests
tox-battery==0.6.1 # Makes tox aware of requirements file changes
3 changes: 0 additions & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ tox==3.28.0
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/ci.in
# tox-battery
tox-battery==0.6.1
# via -r requirements/ci.in
virtualenv==20.24.5
# via tox
1 change: 0 additions & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ pycodestyle # PEP 8 compliance validation
pydocstyle # PEP 257 compliance validation
testfixtures # Mock objects for unit tests and doc tests
tox # virtualenv management for tests
tox-battery==0.6.1 # Makes tox aware of requirements file changes (it's experimental, so keep it pinned)
twine==1.11.0 # Utility for PyPI package uploads
wheel # For generation of wheels for PyPI
3 changes: 0 additions & 3 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -877,9 +877,6 @@ tox==3.28.0
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/dev.in
# tox-battery
tox-battery==0.6.1
# via -r requirements/dev.in
tqdm==4.66.1
# via
# -r requirements/doc.txt
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ commands =
setenv =
DJANGO_SETTINGS_MODULE = enterprise.settings.test
PYTHONPATH = {toxinidir}
whitelist_externals =
allowlist_externals =
make
rm
deps =
Expand Down Expand Up @@ -65,7 +65,7 @@ commands =
[testenv:quality]
setenv =
DJANGO_SETTINGS_MODULE = enterprise.settings.test
whitelist_externals =
allowlist_externals =
make
rm
touch
Expand Down

0 comments on commit 9f0c3f5

Please sign in to comment.