From d176fbe3240a9e3ff9d5111230ed20319209a9e3 Mon Sep 17 00:00:00 2001 From: Marco Burstein Date: Sun, 9 Dec 2018 17:18:40 -0800 Subject: [PATCH] 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. --- tools/test-bots | 4 ---- zulip_bots/zulip_bots/bots/chessbot/requirements.txt | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/test-bots b/tools/test-bots index ea8e751..8295c06 100755 --- a/tools/test-bots +++ b/tools/test-bots @@ -91,10 +91,6 @@ def main(): # (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} - # Temporary hack to get build running. The chess bot didn't pin - # its dependency. - bots_to_test.discard('chessbot') - if options.pytest: excluded_bots = ['merels'] pytest_bots_to_test = sorted([bot for bot in bots_to_test if bot not in excluded_bots]) diff --git a/zulip_bots/zulip_bots/bots/chessbot/requirements.txt b/zulip_bots/zulip_bots/bots/chessbot/requirements.txt index fc2ee08..11ecc01 100644 --- a/zulip_bots/zulip_bots/bots/chessbot/requirements.txt +++ b/zulip_bots/zulip_bots/bots/chessbot/requirements.txt @@ -1 +1 @@ -python-chess[engine,gaviota] +python-chess[engine,gaviota] == 0.22.0