@@ -128,6 +128,9 @@ envlist =
128
128
#
129
129
# pycodestyle
130
130
131
+ requires =
132
+ # For the renamed "allowlist_externals" keyword
133
+ tox>=3.18
131
134
132
135
skipsdist = true
133
136
@@ -582,7 +585,7 @@ setenv =
582
585
platform =
583
586
local-macos: darwin
584
587
585
- whitelist_externals =
588
+ allowlist_externals =
586
589
bash
587
590
docker: docker
588
591
homebrew: brew
@@ -684,7 +687,7 @@ commands =
684
687
685
688
[testenv:check_configure]
686
689
# # Test that configure behaves properly
687
- whitelist_externals =
690
+ allowlist_externals =
688
691
bash
689
692
setenv =
690
693
HOME = {envdir}
@@ -697,7 +700,7 @@ commands =
697
700
passenv =
698
701
HOME
699
702
envdir = {toxworkdir}/src
700
- whitelist_externals = tox
703
+ allowlist_externals = tox
701
704
commands = tox -c {toxinidir}/src/tox.ini -e {envname} -- {posargs}
702
705
703
706
[testenv:doctest]
@@ -706,54 +709,54 @@ description =
706
709
passenv = {[sage_src]passenv}
707
710
envdir = {[sage_src]envdir}
708
711
commands = {[sage_src]commands}
709
- whitelist_externals = {[sage_src]whitelist_externals }
712
+ allowlist_externals = {[sage_src]allowlist_externals }
710
713
711
714
[testenv:coverage]
712
715
description =
713
716
give information about doctest coverage of files (same as " sage --coverage[all]" )
714
717
passenv = {[sage_src]passenv}
715
718
envdir = {[sage_src]envdir}
716
719
commands = {[sage_src]commands}
717
- whitelist_externals = {[sage_src]whitelist_externals }
720
+ allowlist_externals = {[sage_src]allowlist_externals }
718
721
719
722
[testenv:startuptime]
720
723
description =
721
724
display how long each component of Sage takes to start up (same as " sage --startuptime" )
722
725
passenv = {[sage_src]passenv}
723
726
envdir = {[sage_src]envdir}
724
727
commands = {[sage_src]commands}
725
- whitelist_externals = {[sage_src]whitelist_externals }
728
+ allowlist_externals = {[sage_src]allowlist_externals }
726
729
727
730
[testenv:pycodestyle]
728
731
description =
729
732
check against the Python style conventions of PEP8
730
733
passenv = {[sage_src]passenv}
731
734
envdir = {[sage_src]envdir}
732
735
commands = {[sage_src]commands}
733
- whitelist_externals = {[sage_src]whitelist_externals }
736
+ allowlist_externals = {[sage_src]allowlist_externals }
734
737
735
738
[testenv:pycodestyle-minimal]
736
739
description =
737
740
check against Sage' s minimal style conventions
738
741
passenv = {[sage_src]passenv}
739
742
envdir = {[sage_src]envdir}
740
743
commands = {[sage_src]commands}
741
- whitelist_externals = {[sage_src]whitelist_externals }
744
+ allowlist_externals = {[sage_src]allowlist_externals }
742
745
743
746
[testenv:relint]
744
747
description =
745
748
check whether some forbidden patterns appear - similar to patchbot plugins
746
749
passenv = {[sage_src]passenv}
747
750
envdir = {[sage_src]envdir}
748
751
commands = {[sage_src]commands}
749
- whitelist_externals = {[sage_src]whitelist_externals }
752
+ allowlist_externals = {[sage_src]allowlist_externals }
750
753
751
754
[testenv:codespell]
752
755
description =
753
756
check for misspelled words in source code (use -w -i to fix)
754
757
passenv = {[sage_src]passenv}
755
758
envdir = {[sage_src]envdir}
756
- whitelist_externals = {[sage_src]whitelist_externals }
759
+ allowlist_externals = {[sage_src]allowlist_externals }
757
760
# Run on the whole project, not just src/ by default, if invoked directly at top level
758
761
commands = tox -c {toxinidir}/src/tox.ini -e {envname} -- {posargs:{toxinidir}}
759
762
@@ -763,12 +766,12 @@ description =
763
766
passenv = {[sage_src]passenv}
764
767
envdir = {[sage_src]envdir}
765
768
commands = {[sage_src]commands}
766
- whitelist_externals = {[sage_src]whitelist_externals }
769
+ allowlist_externals = {[sage_src]allowlist_externals }
767
770
768
771
[testenv:rst]
769
772
description =
770
773
validate Python docstrings markup as reStructuredText
771
774
passenv = {[sage_src]passenv}
772
775
envdir = {[sage_src]envdir}
773
776
commands = {[sage_src]commands}
774
- whitelist_externals = {[sage_src]whitelist_externals }
777
+ allowlist_externals = {[sage_src]allowlist_externals }
0 commit comments