diff --git a/worker/games.py b/worker/games.py index 8d56e3cff..eb1cca7f7 100644 --- a/worker/games.py +++ b/worker/games.py @@ -1299,7 +1299,7 @@ def run_games( start_game_index = opening_offset + input_total_games run_seed = int(hashlib.sha1(run["_id"].encode("utf-8")).hexdigest(), 16) % (2**30) - # Format options according to fastchess syntax. + # Format options according to fast-chess syntax. def parse_options(s): results = [] chunks = s.split("=") @@ -1531,7 +1531,7 @@ def make_player(arg): if any(substring in book.upper() for substring in ["FRC", "960"]): variant = "fischerandom" - # Run fastchess binary. + # Run fast-chess binary. fastchess = "fast-chess" + EXE_SUFFIX cmd = ( [ diff --git a/worker/sri.txt b/worker/sri.txt index 62c6ecc85..7b5f9719d 100644 --- a/worker/sri.txt +++ b/worker/sri.txt @@ -1 +1 @@ -{"__version": 242, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "fF/2yzobPMjsU42K0O7P0gGn2Ss/gXLXhwAbP0nKkHnGnKQ0WSGEuFiCy/qt2T1E", "games.py": "7RjSD5X3UP0DIgQecSpaRKTVFmf/4POUAHpNskuPVWNkdscE7+2PTQGfqHklIwho"} +{"__version": 242, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "BiGlU/DUb/C4IdELbaJnPNqrY4GsSu68cLjPXXs5FQxwr7aTyUXVlS4GfEIcIUZg", "games.py": "2sAfBWL3NXZapSqw9SZCwMPtpzRUO1hDlVin3cOSp+s6CIyRLiS45ZO/JyopfTT8"} diff --git a/worker/worker.py b/worker/worker.py index 2f99a9c24..9642368ca 100644 --- a/worker/worker.py +++ b/worker/worker.py @@ -397,7 +397,7 @@ def get_credentials(config, options, args): def verify_required_fastchess(fastchess_path, fastchess_sha): - # Verify that fastchess is working and has the required minimum version. + # Verify that fast-chess is working and has the required minimum version. if not fastchess_path.exists(): return False @@ -473,7 +473,7 @@ def setup_fastchess(worker_dir, compiler, concurrency, global_cache): + fastchess_sha ) - print("Building fast chess from sources at {}".format(item_url)) + print("Building fast-chess from sources at {}".format(item_url)) should_cache = False blob = cache_read(global_cache, fastchess_sha + ".zip")