From 5ad6f26b4632d451d1973935815c057307a05403 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 19 Apr 2026 22:11:10 +0900 Subject: [PATCH] internal/rosa/python: install packaging from source This is required by many packages. Signed-off-by: Ophestra --- internal/rosa/python.go | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 1ecf93ff..842efd44 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -322,6 +322,22 @@ func init() { ) } +func init() { + const ( + version = "26.1" + checksum = "AOX4RBYPCMs2-vv8zSxQWANCK4XUbACRZWuR0ZHSiZ-fz_43IUXpMs_1-SZl8AVP" + ) + artifactsM[PythonPackaging] = newPythonPackage( + "packaging", 60461, + "reusable core utilities for various Python Packaging interoperability specifications", + "https://packaging.pypa.io/", + version, newFromGitHub( + "pypa/packaging", + version, checksum, + ), nil, nil, P{PythonFlitCore}, + ) +} + func init() { const ( version = "1.0.4" @@ -366,13 +382,6 @@ func init() { "qlyqX2YSXcV0Z8XgGaPttc_gkq-xsu_nYs6NFOcYnk-CX7qmcj45gG-h6DpwPIcO", ) - artifactsM[PythonPackaging] = newPypi( - "packaging", 60461, - "reusable core utilities for various Python Packaging interoperability specifications", - "26.1", "py3", "none", "any", - "6WZjBJeRb0eZZavxM8cLPcgD-ch-1FblsHoCFKC_9VUC5XAmd397LwliVhsnQcSN", - ) - artifactsM[PythonIniConfig] = newPypi( "iniconfig", 114778, "a small and simple INI-file parser module",