From dfb895989d68537ce597fbbd6c7ff0b29cd9f988 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Tue, 3 Nov 2026 17:59:46 +0100 Subject: [PATCH 1/4] Update uv for downstream tests --- .github/actions/downstream-test/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/downstream-test/action.yml b/.github/actions/downstream-test/action.yml index 0802e8494a..86d0d080a9 100644 --- a/.github/actions/downstream-test/action.yml +++ b/.github/actions/downstream-test/action.yml @@ -92,7 +92,7 @@ runs: set -euo pipefail python3 -m venv "$RUNNER_TEMP/uv-venv" - "$RUNNER_TEMP/uv-venv/bin/python" -m pip install "uv==0.11.21" + "$RUNNER_TEMP/uv-venv/bin/python" -m pip install "uv==0.13.4" echo "$RUNNER_TEMP/uv-venv/bin" >> "$GITHUB_PATH" - name: Get GraalPy CE dev build From 68f45cfcb13ed0eaf085fd1a7c19d4a7bbdf42c6 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Tue, 3 Nov 2026 18:42:31 +0100 Subject: [PATCH 2/4] Update pyarrow in oracledb downstream test --- .github/workflows/_downstream-test-oracledb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_downstream-test-oracledb.yml b/.github/workflows/_downstream-test-oracledb.yml index 5e0717866b..8bb9a1385b 100644 --- a/.github/workflows/_downstream-test-oracledb.yml +++ b/.github/workflows/_downstream-test-oracledb.yml @@ -101,7 +101,7 @@ jobs: needs: build-numpy-wheels runs-on: ubuntu-latest env: - PACKAGES_TO_BUILD: pyarrow==20.0.0 + PACKAGES_TO_BUILD: pyarrow==24.0.0 PIP_FIND_LINKS: ${{ github.workspace }}/dependency-wheels PIP_PREFER_BINARY: "1" steps: From 7733429ad58fe7c3f3191ff5c4224f521084ecab Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mon, 2 Nov 2026 17:34:01 +0100 Subject: [PATCH 3/4] Enable detailed asserts in mx graalpytest --- mx.graalpython/mx_graalpython.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mx.graalpython/mx_graalpython.py b/mx.graalpython/mx_graalpython.py index e745466207..7a7f7d3be0 100644 --- a/mx.graalpython/mx_graalpython.py +++ b/mx.graalpython/mx_graalpython.py @@ -1689,15 +1689,16 @@ def graalpytest(args): python_binary = args.python if not python_binary: is_graalpy = True - python_args = ["--experimental-options=true", "--python.EnableDebuggingBuiltins", *python_args] if args.svm: python_binary = graalpy_standalone_native() elif 'graalpy' in os.path.basename(python_binary) or 'mxbuild' in python_binary: is_graalpy = True + if is_graalpy: gp_args = ["--experimental-options=true", "--python.EnableDebuggingBuiltins"] if env.get("GRAALPYTEST_ALLOW_NO_JAVA_ASSERTIONS") != "true": gp_args += ["--vm.ea", "--vm.esa", "--vm.Dpython.DetailedAsserts=true"] - mx.log(f"Executable seems to be GraalPy, prepending arguments: {gp_args}") + if args.python: + mx.log(f"Executable seems to be GraalPy, prepending arguments: {gp_args}") python_args = [*gp_args, *python_args] runner_args.append(f'--subprocess-args={shlex.join(arg for arg in python_args if arg != "-repeated-run")}') if is_graalpy: From bc6d99d01d3b02d7a0a542cc1f67ebd05ef6264f Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Tue, 3 Nov 2026 19:04:55 +0100 Subject: [PATCH 4/4] Fix warning on missing default patch repository --- .../lib-graalpython/modules/graalpy_pip_extensions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graalpython/lib-graalpython/modules/graalpy_pip_extensions.py b/graalpython/lib-graalpython/modules/graalpy_pip_extensions.py index a03bd459ca..e08c6c2572 100644 --- a/graalpython/lib-graalpython/modules/graalpy_pip_extensions.py +++ b/graalpython/lib-graalpython/modules/graalpy_pip_extensions.py @@ -64,6 +64,7 @@ VERSION_PARAMETER = '' DEFAULT_PATCHES_URL = f'https://raw.githubusercontent.com/oracle/graalpython/refs/heads/github/patches/{VERSION_PARAMETER}/graalpython/lib-graalpython/patches/' +OVERRIDES_PATCHES_URL = 'PIP_GRAALPY_PATCHES_URL' in os.environ PATCHES_URL = os.environ.get('PIP_GRAALPY_PATCHES_URL', DEFAULT_PATCHES_URL) DISABLED_PATCHES_URL = 'disabled' DISABLE_PATCHING = os.environ.get('PIP_GRAALPY_DISABLE_PATCHING', '').lower() in ('true', '1') @@ -216,6 +217,8 @@ def from_url(cls, patches_url: str): if not response.encoding: response.encoding = 'utf-8' metadata_content = response.text + except RepositoryNotFound: + raise except Exception as e: raise RepositoryException(f"'{METADATA_FILENAME}' cannot be retrieved': {e}") return cls(patches_url, cls.metadata_from_string(metadata_content)) @@ -272,7 +275,7 @@ def create_patch_repository(patches_url, default_patches_path=DEFAULT_PATCHES_PA try: return repository_from_url_or_path(patches_url) except RepositoryException as e: - if patches_url == DEFAULT_PATCHES_URL and isinstance(e, RepositoryNotFound): + if not OVERRIDES_PATCHES_URL and isinstance(e, RepositoryNotFound): logger.info("No post-release patch repository published yet") else: logger.warning("Failed to load GraalPy patch repository: %s", e)