From 3125a891987bacd8230b7d13d024a35c7a5c6657 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Fri, 13 Sep 2024 15:25:22 -0700 Subject: [PATCH] infra: fix min version (#26461) --- .github/scripts/get_min_versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/get_min_versions.py b/.github/scripts/get_min_versions.py index ede863467f484..d0be80210d501 100644 --- a/.github/scripts/get_min_versions.py +++ b/.github/scripts/get_min_versions.py @@ -67,7 +67,7 @@ def get_min_version_from_toml( min_versions = {} # Iterate over the libs in MIN_VERSION_LIBS - for lib in MIN_VERSION_LIBS: + for lib in set(MIN_VERSION_LIBS + (include or [])): if versions_for == "pull_request" and lib in SKIP_IF_PULL_REQUEST: # some libs only get checked on release because of simultaneous # changes