From 5a9d0344c50c5709096f4127d630426c5201e9b5 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Sat, 4 Jul 2026 09:06:46 -0700 Subject: [PATCH 1/2] tests: allow build type override in test_helper.py --- tools/shell/test/test_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/shell/test/test_helper.py b/tools/shell/test/test_helper.py index a6d574309f..0a882a1fab 100644 --- a/tools/shell/test/test_helper.py +++ b/tools/shell/test/test_helper.py @@ -11,7 +11,7 @@ LBUG_EXEC_PATH = os.path.join( LBUG_ROOT, "build", - "relwithdebinfo", + os.environ.get("LBUG_BUILD_TYPE", "relwithdebinfo"), "tools", "shell", "lbug", From 3903b58ab346946b385ec25d67be1edb9b3f2e57 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Sat, 4 Jul 2026 10:07:33 -0700 Subject: [PATCH 2/2] fix: add from __future__ import annotations for Python 3.8 compat The manylinux_2_28 container defaults to Python 3.8, which doesn't support dict[str, list[str]] or str | None syntax natively. Adding from __future__ import annotations defers annotation evaluation to strings (PEP 563), making these work on Python 3.8+. --- scripts/run_pgembed_fixture.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/run_pgembed_fixture.py b/scripts/run_pgembed_fixture.py index e79b5bdc33..2c5c24f0db 100644 --- a/scripts/run_pgembed_fixture.py +++ b/scripts/run_pgembed_fixture.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +from __future__ import annotations + import argparse import os import platform