From 714ab6bfd34370b1bcc04ecd531560645738e674 Mon Sep 17 00:00:00 2001 From: mayeut Date: Fri, 27 Sep 2024 21:01:52 +0200 Subject: [PATCH] chore: pin git to 2.45.x git 2.46.x doesn't build on CentOS 7 --- tools/update_native_dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/update_native_dependencies.py b/tools/update_native_dependencies.py index 64bcfb47..bf6d5e23 100644 --- a/tools/update_native_dependencies.py +++ b/tools/update_native_dependencies.py @@ -73,13 +73,13 @@ def _update_with_root(tool, dry_run): } major = { "openssl": "3.0", + "git": "2.45", # 2.46+ can't build on CentOS 7 } only = { "autoconf": r"~v?[0-9]+\.[0-9]+(\.[0-9]+)?$", } exclude = { "libtool": r"~2\.5\.[0-2]$", # pre-release - "git": r"~2\.46\.[0-1]$", # can't build on CentOS 7 } lines = DOCKERFILE.read_text().splitlines() re_ = re.compile(f"^RUN export {tool.upper()}_ROOT={tool}-(?P\\S+) && \\\\$")