From bd944510f1fad5ee95c878ce80991486cb09de9f Mon Sep 17 00:00:00 2001 From: macayu17 Date: Sun, 14 Jun 2026 00:36:23 +0530 Subject: [PATCH] Fix cached OpenSSL release lookup --- plugins/python-build/scripts/add_cpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/scripts/add_cpython.py b/plugins/python-build/scripts/add_cpython.py index 1d90e12f..fc507f5c 100755 --- a/plugins/python-build/scripts/add_cpython.py +++ b/plugins/python-build/scripts/add_cpython.py @@ -527,7 +527,7 @@ class OpenSSLVersionsDirectory(KeyedList[_OpenSSLVersionInfo, packaging.version. def get_store_latest_release(self, major: int) \ -> _OpenSSLVersionInfo: matching = [ - release for release in self.values() + release for release in self if release.version.major == major ] if matching: