Skip to content

Commit 7177923

Browse files
committed
exclude git 2.46.1 & tcl/tk 8.6.15 from updates
1 parent a5e9669 commit 7177923

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/update_native_dependencies.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ def _update_with_root(tool, dry_run):
7575
"openssl": "3.0",
7676
}
7777
only = {
78-
"autoconf": "~v?[0-9]+\.[0-9]+(\.[0-9]+)?$",
78+
"autoconf": r"~v?[0-9]+\.[0-9]+(\.[0-9]+)?$",
7979
}
8080
exclude = {
81-
"libtool": "~2\.5\.[0-2]$", # pre-release
82-
"git": "2.46.0", # can't build on CentOS 7
81+
"libtool": r"~2\.5\.[0-2]$", # pre-release
82+
"git": r"~2\.46\.[0-1]$", # can't build on CentOS 7
8383
}
8484
lines = DOCKERFILE.read_text().splitlines()
8585
re_ = re.compile(f"^RUN export {tool.upper()}_ROOT={tool}-(?P<version>\\S+) && \\\\$")
@@ -171,7 +171,7 @@ def _update_tcltk(dry_run):
171171
continue
172172
current_version = Version(match["version"])
173173
latest_version = latest("tcltk/tcl", only="core-8-6-")
174-
if latest_version > current_version:
174+
if latest_version > current_version and str(latest_version) != "8.6.15":
175175
root = f"tcl{latest_version}"
176176
url = re.match("^ export TCL_DOWNLOAD_URL=(?P<url>\\S+) && \\\\$", lines[i + 2])["url"]
177177
sha256 = _sha256(f"{url}/{root}-src.tar.gz")

0 commit comments

Comments
 (0)