From 8b1885f797f4c9710e4d3b384e97c4614977d21f Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 19 May 2026 06:55:46 +0900 Subject: [PATCH] feat: optionally allow manylinux_2_28 --- adbc_drivers_dev/make.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/adbc_drivers_dev/make.py b/adbc_drivers_dev/make.py index 57f10da..6cac417 100644 --- a/adbc_drivers_dev/make.py +++ b/adbc_drivers_dev/make.py @@ -516,8 +516,13 @@ def check_linux(binary: Path) -> None: # Like upstream. Match manylinux2014's versions. # https://peps.python.org/pep-0599/#the-manylinux2014-policy - glibc_max = "2.17" - glibcxx_max = "3.14.19" + manylinux = get_var("MANYLINUX", "manylinux2014").lower() + if manylinux == "manylinux2014": + glibc_max = "2.17" + glibcxx_max = "3.4.19" + elif manylinux == "manylinux_2_28": + glibc_max = "2.28" + glibcxx_max = "3.4.32" for symbol in symbols: if "@GLIBC_" in symbol: