From 7177923abf93a887252ffab5fd0ab3caeb6a481f Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 15 Sep 2024 12:37:25 +0200 Subject: [PATCH] exclude git 2.46.1 & tcl/tk 8.6.15 from updates --- tools/update_native_dependencies.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/update_native_dependencies.py b/tools/update_native_dependencies.py index 2ad9e5db..64bcfb47 100644 --- a/tools/update_native_dependencies.py +++ b/tools/update_native_dependencies.py @@ -75,11 +75,11 @@ def _update_with_root(tool, dry_run): "openssl": "3.0", } only = { - "autoconf": "~v?[0-9]+\.[0-9]+(\.[0-9]+)?$", + "autoconf": r"~v?[0-9]+\.[0-9]+(\.[0-9]+)?$", } exclude = { - "libtool": "~2\.5\.[0-2]$", # pre-release - "git": "2.46.0", # can't build on CentOS 7 + "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+) && \\\\$") @@ -171,7 +171,7 @@ def _update_tcltk(dry_run): continue current_version = Version(match["version"]) latest_version = latest("tcltk/tcl", only="core-8-6-") - if latest_version > current_version: + if latest_version > current_version and str(latest_version) != "8.6.15": root = f"tcl{latest_version}" url = re.match("^ export TCL_DOWNLOAD_URL=(?P\\S+) && \\\\$", lines[i + 2])["url"] sha256 = _sha256(f"{url}/{root}-src.tar.gz")