bots: Fix a Chessbot dependency error.
Specify a version for Chessbot so that it will continue to function properly if the library is updated. Also, update `test-bots` to remove a temporary fix for Chessbot.
This commit is contained in:
parent
0fd093a698
commit
d176fbe324
|
@ -91,10 +91,6 @@ def main():
|
||||||
# (from globbing multiple test_*.py files, or multiple on the command line)
|
# (from globbing multiple test_*.py files, or multiple on the command line)
|
||||||
bots_to_test = {bot for bot in specified_bots if bot not in options.exclude}
|
bots_to_test = {bot for bot in specified_bots if bot not in options.exclude}
|
||||||
|
|
||||||
# Temporary hack to get build running. The chess bot didn't pin
|
|
||||||
# its dependency.
|
|
||||||
bots_to_test.discard('chessbot')
|
|
||||||
|
|
||||||
if options.pytest:
|
if options.pytest:
|
||||||
excluded_bots = ['merels']
|
excluded_bots = ['merels']
|
||||||
pytest_bots_to_test = sorted([bot for bot in bots_to_test if bot not in excluded_bots])
|
pytest_bots_to_test = sorted([bot for bot in bots_to_test if bot not in excluded_bots])
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
python-chess[engine,gaviota]
|
python-chess[engine,gaviota] == 0.22.0
|
||||||
|
|
Loading…
Reference in a new issue