Skip to content

Commit 9b2fcd0

Browse files
authored
Merge pull request #7 from vantagecompute/release/0.0.4
fix: include go libs
2 parents 5d4c2cd + bf44e4d commit 9b2fcd0

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

helm_sdkpy/_ffi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ def get_library():
186186
try:
187187
_library = ffi.dlopen(lib_path)
188188
except OSError as e:
189-
raise HelmLibraryNotFound(f"Failed to load helm_sdkpy library from {lib_path}: {e}") from e
189+
raise HelmLibraryNotFound(
190+
f"Failed to load helm_sdkpy library from {lib_path}: {e}"
191+
) from e
190192

191193
return _library
192194

helm_sdkpy/chart.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ def _chart():
106106
result_json = ffi.new("char **")
107107
path_cstr = ffi.new("char[]", chart_path.encode("utf-8"))
108108

109-
result = self._lib.helm_sdkpy_show_chart(self.config._handle_value, path_cstr, result_json)
109+
result = self._lib.helm_sdkpy_show_chart(
110+
self.config._handle_value, path_cstr, result_json
111+
)
110112

111113
if result != 0:
112114
check_error(result)
@@ -135,7 +137,9 @@ def _values():
135137
result_json = ffi.new("char **")
136138
path_cstr = ffi.new("char[]", chart_path.encode("utf-8"))
137139

138-
result = self._lib.helm_sdkpy_show_values(self.config._handle_value, path_cstr, result_json)
140+
result = self._lib.helm_sdkpy_show_values(
141+
self.config._handle_value, path_cstr, result_json
142+
)
139143

140144
if result != 0:
141145
check_error(result)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "helm-sdkpy"
3-
version = "0.0.3"
3+
version = "0.0.4"
44
description = "Python bindings for Helm - The Kubernetes Package Manager"
55
readme = "README.md"
66
requires-python = ">=3.12"

tests/test_basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
"""Basic tests for helm-sdkpy package."""
1616

17-
1817
import helm_sdkpy
1918

2019

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)