pyhelm3 0.3.2__tar.gz → 0.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyhelm3
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: Python library for managing Helm releases using Helm 3.
5
5
  Home-page: https://github.com/stackhpc/pyhelm3
6
6
  Author: Matt Pryor
@@ -98,7 +98,7 @@ class Client:
98
98
  devel: bool = False,
99
99
  repo: t.Optional[str] = None,
100
100
  version: t.Optional[str] = None
101
- ) -> contextlib.AbstractAsyncContextManager[pathlib.Path]:
101
+ ) -> t.AsyncIterator[pathlib.Path]:
102
102
  """
103
103
  Context manager that pulls the specified chart and yields a chart object
104
104
  whose ref is the unpacked chart directory.
@@ -323,7 +323,7 @@ class Client:
323
323
  if revision_chart.version != chart.metadata.version:
324
324
  return True
325
325
  # If the values have changed from the deployed release, we should redeploy
326
- revision_values = (await current_revision.values()) or {}
326
+ revision_values = await current_revision.values()
327
327
  if revision_values != values:
328
328
  return True
329
329
  # If the chart and values are the same, there is nothing to do
@@ -474,7 +474,7 @@ class Command:
474
474
  command.extend(["--revision", revision])
475
475
  if namespace:
476
476
  command.extend(["--namespace", namespace])
477
- return json.loads(await self.run(command))
477
+ return json.loads(await self.run(command)) or {}
478
478
 
479
479
  async def history(
480
480
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyhelm3
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: Python library for managing Helm releases using Helm 3.
5
5
  Home-page: https://github.com/stackhpc/pyhelm3
6
6
  Author: Matt Pryor
@@ -6,6 +6,7 @@ long_description_content_type = text/markdown
6
6
  author = Matt Pryor
7
7
  author_email = matt@stackhpc.com
8
8
  url = https://github.com/stackhpc/pyhelm3
9
+ license_files = LICENSE
9
10
 
10
11
  [options]
11
12
  zip_safe = False
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes