From 6932d2a26851af0dc0ea1c8b17e77da187387fbb Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 28 Jul 2025 13:21:43 +0200 Subject: [PATCH] Rocky8 python3.6 build-all compatibility --- nix/build-all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/build-all.py b/nix/build-all.py index 8b79a4d03c..7da77521e4 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -323,7 +323,7 @@ except: pass -def run(cmds: Sequence[str], cwd: Union[str, None] = None, can_fail: bool = False) -> str: +def run(cmds: 'Sequence[str]', cwd: 'Union[str, None]' = None, can_fail: bool = False) -> str: """ Wraps `subprocess.Popen.communicate()` and logs the command being executed, sets up logging `stderr` to `LOG_FILE` (in append mode) and returns stdout @@ -455,7 +455,7 @@ def build_dependency( revision: Union[str, None] = None, patch: Union[str, list[str], None] = None, shell=None, - pre_compile_subs: Sequence[tuple[str, str, str]] = (), + pre_compile_subs: 'Sequence[tuple[str, str, str]]' = (), additional_files: Union[dict[str, str], None] = None, no_append_name=False, **kwargs,