From b1b4debb827a55e2034cee2504fa95894c96c75b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 19 Apr 2026 20:13:26 +0900 Subject: [PATCH] internal/rosa/python: pathspec artifact Required by hatchling, which is required by many python packages. Signed-off-by: Ophestra --- internal/rosa/all.go | 1 + internal/rosa/python.go | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/internal/rosa/all.go b/internal/rosa/all.go index f8f6049b..ffbdde85 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -134,6 +134,7 @@ const ( PythonMako PythonMarkupSafe PythonPackaging + PythonPathspec PythonPluggy PythonPyTest PythonPyYAML diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 1022e643..e0aaaaab 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -273,6 +273,23 @@ func init() { ) } +func init() { + const ( + version = "1.0.4" + checksum = "zAZbcIO-JnNhb-xMg76W2j0tn5b2MtavWjUpGpPjBmbrcRZDLoXBn8o8yJ3DUgCT" + ) + artifactsM[PythonPathspec] = newPythonPackage( + "pathspec", 23424, + "utility library for gitignore style pattern matching of file paths", + "https://github.com/cpburnz/python-pathspec", + version, newFromGitHub( + "cpburnz/python-pathspec", + "v"+version, checksum, + ), nil, nil, nil, + PythonFlitCore, + ) +} + func init() { artifactsM[PythonPygments] = newPypi( "pygments", 3986,