diff --git a/src/python_interpreter/config.rs b/src/python_interpreter/config.rs index 8a00ffedc..6ff3600f1 100644 --- a/src/python_interpreter/config.rs +++ b/src/python_interpreter/config.rs @@ -69,7 +69,7 @@ impl InterpreterConfig { target.target_env().to_string().replace("musl", "gnu") } } - PyPy => "gnu".to_string(), + PyPy | GraalPy => "gnu".to_string(), }; match (target.target_os(), python_impl) { (Os::Linux, CPython) => { diff --git a/src/python_interpreter/get_interpreter_metadata.py b/src/python_interpreter/get_interpreter_metadata.py index 22493611c..791bba0ab 100644 --- a/src/python_interpreter/get_interpreter_metadata.py +++ b/src/python_interpreter/get_interpreter_metadata.py @@ -33,7 +33,7 @@ def get_abi_tag(): abi = "-".join(soabi.split("-")[:3]) return abi.replace(".", "_").replace("-", "_") else: - return (sysconfig.get_config_var("SOABI") or "-").split("-")[1] or None, + return (sysconfig.get_config_var("SOABI") or "-").split("-")[1] or None metadata = {