Skip to content

Commit 2c40b5c

Browse files
robertnurnbergppigazzini
authored andcommitted
chore: bump fastchess version to sha e892ad92
Also raise worker version to 303 (also server side)
1 parent 128b610 commit 2c40b5c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

server/fishtest/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
according to the route/URL mapping defined in `__init__.py`.
3737
"""
3838

39-
WORKER_VERSION = 302
39+
WORKER_VERSION = 303
4040

4141

4242
@exception_view_config(HTTPException)

worker/games.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ def make_player(arg):
16141614
pgnout = []
16151615
else:
16161616
games_to_play = games_remaining
1617-
pgnout = ["-pgnout", f"file={pgn_name}"]
1617+
pgnout = ["-pgnout", f"file={pgn_name}", "append=false"]
16181618

16191619
if "sprt" in run["args"]:
16201620
batch_size = 2 * run["args"]["sprt"].get("batch_size", 1)

worker/sri.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"__version": 302, "updater.py": "eDDBPKA/vrTCadgtEJFdL06vSoiysF0JhiHKdEnjQv3zS4kfdOAqnco/DJpDWbvh", "worker.py": "IefIjuMpGHFUli5kjkBcnGIZfXyjJY80SryBrlXdM9vFvQmaaRDBfRHj0TcC+q3u", "games.py": "JdAmyr48crzHgGTFGxaE9hg3K1sWfkd2azImdoPD+Pn3pqsApWt2CykBOKaWwIBM"}
1+
{"__version": 303, "updater.py": "eDDBPKA/vrTCadgtEJFdL06vSoiysF0JhiHKdEnjQv3zS4kfdOAqnco/DJpDWbvh", "worker.py": "f8YZy2eGjfNUU4WOnpiP92BqwkniTrsiENSaa6YPUsPYcLv14PjfxDnEVJTNytzA", "games.py": "xb1DODe7mtxfJ2kqCTuh4TODbUYtB//6d/Q23axr/2+oMwbLbMIkGCgtFj3nj2Ur"}

worker/worker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
MIN_CLANG_MAJOR = 10
7373
MIN_CLANG_MINOR = 0
7474

75-
FASTCHESS_SHA = "47e686f604e6b6f1f872d6e8b2831b4a47d70dae"
75+
FASTCHESS_SHA = "e892ad92a74c8a4fd7184b9e4867b97ae8952685"
7676

77-
WORKER_VERSION = 302
77+
WORKER_VERSION = 303
7878
FILE_LIST = ["updater.py", "worker.py", "games.py"]
7979
HTTP_TIMEOUT = 30.0
8080
INITIAL_RETRY_TIME = 15.0
@@ -381,7 +381,7 @@ def verify_fastchess(fastchess_path, fastchess_sha):
381381
print(f"Obtaining version info for {fastchess_path}...")
382382
try:
383383
with subprocess.Popen(
384-
[fastchess_path, "--version"],
384+
[fastchess_path, "-version"],
385385
stdout=subprocess.PIPE,
386386
stderr=subprocess.PIPE,
387387
universal_newlines=True,

0 commit comments

Comments
 (0)