From 62428ae59ba57fceb7a05ca6bceff54e29568cb2 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 6 Sep 2025 23:24:18 +0200 Subject: [PATCH] ci/update_traces_checksum: fix decoding of log lines We don't need to evaluate escape sequences, we should instead read them verbatim. Fixes issues like: bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\.' bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\ ' bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\;' bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\_' Part-of: --- bin/ci/update_traces_checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ci/update_traces_checksum.py b/bin/ci/update_traces_checksum.py index 1e25d849a96..5240053b086 100755 --- a/bin/ci/update_traces_checksum.py +++ b/bin/ci/update_traces_checksum.py @@ -41,7 +41,7 @@ def gather_results( cur_job = project.jobs.get(job.id) # get variables print(f"👁 {job.name}...") - log: list[str] = cur_job.trace().decode("unicode_escape", "ignore").splitlines() + log: list[str] = cur_job.trace().decode().splitlines() filename: str = '' dev_name: str = '' for logline in log: