From b69fc27578f8e961873bc662aa0c9be9387cbb60 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 16 Aug 2024 10:16:22 +0200 Subject: [PATCH] manifest: clarify that tomli is available in stdlib for rhel10 The code is a bit too terse for my liking right now and does just have an empty `case DISTO_EL10` - so this commit adds a comment. --- pkg/manifest/os.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/manifest/os.go b/pkg/manifest/os.go index 91911f84c1..88fcd039b7 100644 --- a/pkg/manifest/os.go +++ b/pkg/manifest/os.go @@ -319,6 +319,7 @@ func (p *OS) getBuildPackages(distro Distro) []string { case DISTRO_EL8: packages = append(packages, "python3-pytoml") case DISTRO_EL10: + // no extra package needed, stdlib has "tomli" default: packages = append(packages, "python3-toml") } @@ -335,6 +336,7 @@ func (p *OS) getBuildPackages(distro Distro) []string { case DISTRO_EL8: packages = append(packages, "python3-pytoml") case DISTRO_EL10: + // no extra package needed, stdlib has "tomli" default: packages = append(packages, "python3-toml") }