holoscan-cli 3.3.0__py3-none-any.whl → 3.4.1__py3-none-any.whl

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.

Potentially problematic release.


This version of holoscan-cli might be problematic. Click here for more details.

@@ -138,7 +138,7 @@ def detect_holoscan_version(sdk_version: Optional[Version] = None) -> str:
138
138
  return sdk_version.base_version
139
139
  else:
140
140
  try:
141
- ver_str = importlib.metadata.version("holoscan-cli").title()
141
+ ver_str = importlib.metadata.version("holoscan").title()
142
142
  ver = Version(ver_str)
143
143
  ver_str = ".".join(str(i) for i in ver.release)
144
144
 
@@ -193,3 +193,17 @@ def detect_monaideploy_version(sdk_version: Optional[Version] = None) -> str:
193
193
  raise FailedToDetectSDKVersionError(
194
194
  "Failed to detect installed MONAI Deploy App SDK PyPI version.", ex
195
195
  ) from ex
196
+
197
+
198
+ def detect_holoscan_cli_version() -> str:
199
+ """
200
+ Detects Holoscan CLI version to use based on installed PyPI package.
201
+ """
202
+ try:
203
+ ver_str = importlib.metadata.version("holoscan-cli").title()
204
+ ver = Version(ver_str)
205
+ return ver.base_version
206
+ except Exception as ex:
207
+ raise FailedToDetectSDKVersionError(
208
+ "Failed to detect installed Holoscan CLI PyPI version.", ex
209
+ ) from ex
@@ -20,6 +20,7 @@ from argparse import Namespace
20
20
  from ..common.enum_types import SdkType
21
21
  from ..common.sdk_utils import (
22
22
  detect_holoscan_version,
23
+ detect_holoscan_cli_version,
23
24
  detect_monaideploy_version,
24
25
  detect_sdk,
25
26
  )
@@ -40,6 +41,12 @@ def execute_version_command(args: Namespace):
40
41
  except Exception:
41
42
  print("Holoscan SDK: N/A")
42
43
 
44
+ try:
45
+ cli_version = detect_holoscan_cli_version()
46
+ print(f"Holoscan CLI: {cli_version}")
47
+ except Exception:
48
+ print("Holoscan CLI: N/A")
49
+
43
50
  if sdk == SdkType.MonaiDeploy:
44
51
  try:
45
52
  sdk_version = detect_monaideploy_version()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: holoscan-cli
3
- Version: 3.3.0
3
+ Version: 3.4.1
4
4
  Summary: Command line interface for packaging and running Holoscan applications.
5
5
  License: Apache-2.0
6
6
  Keywords: AI,holoscan,medical,streaming,HPC,nvidia,docker,container
@@ -25,12 +25,12 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
25
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
26
  Classifier: Typing :: Typed
27
27
  Requires-Dist: Jinja2 (>=3.1.6,<4.0.0)
28
- Requires-Dist: packaging (>=23.1,<24.0)
29
- Requires-Dist: pip (>22.0.2)
30
- Requires-Dist: psutil (>=6.0.0,<7.0.0)
31
- Requires-Dist: python-on-whales (>=0.60.1,<0.61.0)
28
+ Requires-Dist: packaging (>=25.0,<26.0)
29
+ Requires-Dist: pip (>25.1.0)
30
+ Requires-Dist: psutil (>=7.0.0,<8.0)
31
+ Requires-Dist: python-on-whales (>=0.77.0)
32
32
  Requires-Dist: pyyaml (>=6.0,<7.0)
33
- Requires-Dist: requests (>=2.31.0,<3.0.0)
33
+ Requires-Dist: requests (>=2.32,<3.0)
34
34
  Project-URL: Documentation, https://docs.nvidia.com/holoscan/sdk-user-guide/index.html
35
35
  Project-URL: Homepage, https://github.com/nvidia-holoscan/holoscan-cli
36
36
  Project-URL: Repository, https://github.com/nvidia-holoscan/holoscan-cli
@@ -6,7 +6,7 @@ holoscan_cli/common/constants.py,sha256=4yXMmz-PzHth5Qy4zt4E5bvpG6eQN3KQrjhyagRF
6
6
  holoscan_cli/common/dockerutils.py,sha256=lbDt_TCB8b74FRJljvpV3s_zVD-E4FoH2-3rI8O_BbM,17684
7
7
  holoscan_cli/common/enum_types.py,sha256=qdqMum01uM0-qrF2jyk1GYGoh76xBJsBUX9cvxVbVtA,1711
8
8
  holoscan_cli/common/exceptions.py,sha256=ubN33Av69Xm_CUVC_5DeKx_zO8qfIc_T-_S18xDQguE,2999
9
- holoscan_cli/common/sdk_utils.py,sha256=uDMOM_Jq3SnzDROrFERc8krDS6-BkhOebKV2h9I_-0Y,6659
9
+ holoscan_cli/common/sdk_utils.py,sha256=ehxuUONILiQ7KzYcBuveAowKIKhgF-EY_r2DFli6R2E,7092
10
10
  holoscan_cli/common/utils.py,sha256=3plIFGMWy8WcRB2lL4fTqINlE1CyBkm9CDrIVA1qPDU,3796
11
11
  holoscan_cli/logging.json,sha256=0tfLHoqV5_xH_q4m9gQufHYfYezocFVJxtlEj6UR3qI,809
12
12
  holoscan_cli/nics/__init__.py,sha256=IMHmlnYvJxjlJGi1UxwRG0deK4w9M7-_WWDoCqKcjJE,737
@@ -31,9 +31,9 @@ holoscan_cli/runner/resources.py,sha256=R7wLnfwsG67jJD6U8d_gvteycsLPPDfWDYimAmnC
31
31
  holoscan_cli/runner/run_command.py,sha256=CnSyyq0y9rv6kkRtSOi3kOGHuRDLv2RDQ3JUWZ6U-YE,7320
32
32
  holoscan_cli/runner/runner.py,sha256=9TqvzBL5z1boGQXvlBiPiuuMDMg7dQlo40YXO1Le604,10521
33
33
  holoscan_cli/version/__init__.py,sha256=1pf-RBR16STdFXsh82bYly_lUyv1MgxuczbLOTDJRto,743
34
- holoscan_cli/version/version.py,sha256=FL4DUcQ2FA4eyvL8YjR2rcdPCduMnbTBhLNeXlESLsI,1738
35
- holoscan_cli-3.3.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
- holoscan_cli-3.3.0.dist-info/METADATA,sha256=7H1jRE5ZdeDudMnE-Hshj9DkSKG0nvNCOodgOXMOVQM,3978
37
- holoscan_cli-3.3.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
38
- holoscan_cli-3.3.0.dist-info/entry_points.txt,sha256=ZbJklrhFtmmhqcGvGizL_4Pf9FTRgmZ11LblKPbj8yo,95
39
- holoscan_cli-3.3.0.dist-info/RECORD,,
34
+ holoscan_cli/version/version.py,sha256=1jAgChi39oEl9Rl0BDc30PPJMYeo7m5bMGPBGlRSX2M,1976
35
+ holoscan_cli-3.4.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
+ holoscan_cli-3.4.1.dist-info/METADATA,sha256=BVeDwSbue-pe9tW0M7tOjuwTQgvkd5G9ibF_CFBXc7E,3964
37
+ holoscan_cli-3.4.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
38
+ holoscan_cli-3.4.1.dist-info/entry_points.txt,sha256=ZbJklrhFtmmhqcGvGizL_4Pf9FTRgmZ11LblKPbj8yo,95
39
+ holoscan_cli-3.4.1.dist-info/RECORD,,