From 72f4fff2172d23c21879323fa794a5a70c449747 Mon Sep 17 00:00:00 2001 From: Marc Wrobel Date: Sun, 27 Apr 2025 19:10:28 +0200 Subject: [PATCH] [eks] Add temporary fix for a typo in the source Replaces 'April 18.2025' by 'April 18 2025'. --- src/eks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eks.py b/src/eks.py index c1303434..5ef9226c 100644 --- a/src/eks.py +++ b/src/eks.py @@ -23,10 +23,11 @@ with releasedata.ProductData("eks") as product_data: k8s_version = cells[0].text.strip() eks_version = cells[1].text.strip() - date_str = cells[-1].text.strip() k8s_version_match = endoflife.DEFAULT_VERSION_PATTERN.match(k8s_version) if k8s_version_match: + date_str = cells[-1].text.strip() + date_str = date_str.replace("April 18.2025", "April 18 2025") # temporary fix for a typo in the source date = dates.parse_date_or_month_year_date(date_str) # K8S patch version is not kept to match versions on https://github.com/aws/eks-distro/tags. version = f"{k8s_version_match.group('major')}.{k8s_version_match.group('minor')}-{eks_version.replace('.', '-')}"