diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-19 22:53:32 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-19 22:53:32 +0900 |
| commit | 20d5b71575c9af0c3dd659738e235d5216d10cdd (patch) | |
| tree | a65534a3f11ad045306c0b25755f426e93e4a0f0 | |
| parent | e903e7f5429edb99959620fe55df7896c9b08b0a (diff) | |
internal/rosa/python: install iniconfig from source
This also required the setuptools-scm hack.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/python.go | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 34cabe73..754c68c1 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -429,13 +429,26 @@ func init() { } func init() { - artifactsM[PythonIniConfig] = newPypi( + const ( + version = "2.3.0" + checksum = "mH7VBZaXcYatBPE3RQQZvSzz_Ay8IPPek60NpPHZulPq4ReAFUUsA4EPWfiyMknZ" + ) + artifactsM[PythonIniConfig] = newPythonPackage( "iniconfig", 114778, "a small and simple INI-file parser module", - "2.3.0", "py3", "none", "any", - "SDgs4S5bXi77aVOeKTPv2TUrS3M9rduiK4DpU0hCmDsSBWqnZcWInq9lsx6INxut", + "https://github.com/pytest-dev/iniconfig", + version, newFromGitHub( + "pytest-dev/iniconfig", + "v"+version, checksum, + ), &PackageAttr{ + Env: []string{ + "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_INICONFIG=" + version, + }, + }, nil, P{PythonSetuptoolsSCM}, ) +} +func init() { artifactsM[PythonPyTest] = newPypi( "pytest", 3765, "the pytest framework", |
