hafnia 0.5.1__tar.gz → 0.5.2__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.
Files changed (180) hide show
  1. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/build.yaml +3 -3
  2. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/ci_cd.yaml +1 -1
  3. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/lint.yaml +2 -2
  4. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/publish_docker.yaml +3 -3
  5. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/tests.yaml +2 -2
  6. {hafnia-0.5.1 → hafnia-0.5.2}/.trivyignore +4 -1
  7. {hafnia-0.5.1 → hafnia-0.5.2}/PKG-INFO +2 -1
  8. {hafnia-0.5.1 → hafnia-0.5.2}/pyproject.toml +4 -2
  9. hafnia-0.5.2/src/hafnia/experiment/command_builder.py +686 -0
  10. hafnia-0.5.2/tests/unit/test_command_builder.py +467 -0
  11. {hafnia-0.5.1 → hafnia-0.5.2}/uv.lock +708 -502
  12. {hafnia-0.5.1 → hafnia-0.5.2}/.devcontainer/devcontainer.json +0 -0
  13. {hafnia-0.5.1 → hafnia-0.5.2}/.devcontainer/hooks/post_create +0 -0
  14. {hafnia-0.5.1 → hafnia-0.5.2}/.github/dependabot.yaml +0 -0
  15. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/Dockerfile +0 -0
  16. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/check_release.yaml +0 -0
  17. {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/publish_pypi.yaml +0 -0
  18. {hafnia-0.5.1 → hafnia-0.5.2}/.gitignore +0 -0
  19. {hafnia-0.5.1 → hafnia-0.5.2}/.pre-commit-config.yaml +0 -0
  20. {hafnia-0.5.1 → hafnia-0.5.2}/.python-version +0 -0
  21. {hafnia-0.5.1 → hafnia-0.5.2}/.vscode/extensions.json +0 -0
  22. {hafnia-0.5.1 → hafnia-0.5.2}/.vscode/launch.json +0 -0
  23. {hafnia-0.5.1 → hafnia-0.5.2}/.vscode/settings.json +0 -0
  24. {hafnia-0.5.1 → hafnia-0.5.2}/LICENSE +0 -0
  25. {hafnia-0.5.1 → hafnia-0.5.2}/README.md +0 -0
  26. {hafnia-0.5.1 → hafnia-0.5.2}/docs/cli.md +0 -0
  27. {hafnia-0.5.1 → hafnia-0.5.2}/docs/release.md +0 -0
  28. {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_dataset_recipe.py +0 -0
  29. {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_hafnia_dataset.py +0 -0
  30. {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_logger.py +0 -0
  31. {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_torchvision_dataloader.py +0 -0
  32. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/__init__.py +0 -0
  33. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/data/__init__.py +0 -0
  34. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/data/factory.py +0 -0
  35. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_details_uploader.py +0 -0
  36. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_helpers.py +0 -0
  37. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_names.py +0 -0
  38. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_recipe/dataset_recipe.py +0 -0
  39. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_recipe/recipe_transforms.py +0 -0
  40. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_recipe/recipe_types.py +0 -0
  41. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_coco.py +0 -0
  42. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_helpers.py +0 -0
  43. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_image_classification_folder.py +0 -0
  44. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_yolo.py +0 -0
  45. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/torchvision_datasets.py +0 -0
  46. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/hafnia_dataset.py +0 -0
  47. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/hafnia_dataset_types.py +0 -0
  48. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/license_types.py +0 -0
  49. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/dataset_s3_storage.py +0 -0
  50. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/dataset_stats.py +0 -0
  51. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/dataset_transformations.py +0 -0
  52. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/table_transformations.py +0 -0
  53. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/__init__.py +0 -0
  54. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/bbox.py +0 -0
  55. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/bitmask.py +0 -0
  56. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/classification.py +0 -0
  57. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/point.py +0 -0
  58. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/polygon.py +0 -0
  59. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/primitive.py +0 -0
  60. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/segmentation.py +0 -0
  61. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/utils.py +0 -0
  62. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/experiment/__init__.py +0 -0
  63. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/experiment/hafnia_logger.py +0 -0
  64. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/http.py +0 -0
  65. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/log.py +0 -0
  66. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/__init__.py +0 -0
  67. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/builder.py +0 -0
  68. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/dataset_recipe.py +0 -0
  69. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/datasets.py +0 -0
  70. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/download.py +0 -0
  71. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/experiment.py +0 -0
  72. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/s5cmd_utils.py +0 -0
  73. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/trainer_package.py +0 -0
  74. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/torch_helpers.py +0 -0
  75. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/utils.py +0 -0
  76. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/visualizations/colors.py +0 -0
  77. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/visualizations/image_visualizations.py +0 -0
  78. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/__init__.py +0 -0
  79. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/__main__.py +0 -0
  80. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/config.py +0 -0
  81. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/consts.py +0 -0
  82. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/dataset_cmds.py +0 -0
  83. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/dataset_recipe_cmds.py +0 -0
  84. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/experiment_cmds.py +0 -0
  85. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/keychain.py +0 -0
  86. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/profile_cmds.py +0 -0
  87. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/runc_cmds.py +0 -0
  88. {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/trainer_package_cmds.py +0 -0
  89. {hafnia-0.5.1 → hafnia-0.5.2}/tests/__init__.py +0 -0
  90. {hafnia-0.5.1 → hafnia-0.5.2}/tests/conftest.py +0 -0
  91. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/train/000000000632.jpg +0 -0
  92. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/train/000000000724.jpg +0 -0
  93. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/train/_annotations.coco.json +0 -0
  94. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/valid/000000000139.jpg +0 -0
  95. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/valid/000000000285.jpg +0 -0
  96. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/valid/_annotations.coco.json +0 -0
  97. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/obj.names +0 -0
  98. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000139.jpg +0 -0
  99. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000139.txt +0 -0
  100. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000285.jpg +0 -0
  101. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000285.txt +0 -0
  102. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/images.txt +0 -0
  103. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/validation/data/000000000632.jpg +0 -0
  104. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/validation/data/000000000632.txt +0 -0
  105. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/validation/images.txt +0 -0
  106. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_image_metadata_schema.yaml +0 -0
  107. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_dataset_transformations/test_video_storage_format_read_image.png +0 -0
  108. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_convert_segmentation_to_rle_list[polygon].png +0 -0
  109. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_convert_segmentation_to_rle_list[rle_as_ints].png +0 -0
  110. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_convert_segmentation_to_rle_list[rle_compressed_bytes].png +0 -0
  111. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_convert_segmentation_to_rle_list[rle_compressed_str].png +0 -0
  112. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_from_coco_format_visualized.png +0 -0
  113. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_to_coco_format_visualized.png +0 -0
  114. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_yolo/test_format_yolo_import_export_tiny_dataset.png +0 -0
  115. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_yolo/test_import_yolo_format_visualized.png +0 -0
  116. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[caltech-101].png +0 -0
  117. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[caltech-256].png +0 -0
  118. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[cifar100].png +0 -0
  119. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[cifar10].png +0 -0
  120. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[coco-2017].png +0 -0
  121. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[midwest-vehicle-detection].png +0 -0
  122. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[mnist].png +0 -0
  123. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[tiny-dataset].png +0 -0
  124. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[caltech-101].png +0 -0
  125. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[caltech-256].png +0 -0
  126. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[cifar100].png +0 -0
  127. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[cifar10].png +0 -0
  128. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[coco-2017].png +0 -0
  129. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[midwest-vehicle-detection].png +0 -0
  130. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[mnist].png +0 -0
  131. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[tiny-dataset].png +0 -0
  132. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_blur_anonymization[micro-coco-2017].png +0 -0
  133. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_blur_anonymization[micro-tiny-dataset].png +0 -0
  134. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_draw_annotations[micro-coco-2017].png +0 -0
  135. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_draw_annotations[micro-tiny-dataset].png +0 -0
  136. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_mask_region[micro-coco-2017].png +0 -0
  137. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_mask_region[micro-tiny-dataset].png +0 -0
  138. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_polygon_to_bitmask_conversion.png +0 -0
  139. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/annotations.jsonl +0 -0
  140. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/annotations.parquet +0 -0
  141. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/data/253/253925d334c002ce6662d8133535dd4c.jpg +0 -0
  142. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/data/b1a/b1a09f4d922f8f6904bab0c1caf172ab.jpg +0 -0
  143. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/data/f67/f675c8a1e862b5e00203ab888ac7fff4.jpg +0 -0
  144. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/dataset_info.json +0 -0
  145. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/annotations.jsonl +0 -0
  146. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/annotations.parquet +0 -0
  147. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/data/25c/25c3a206e7b60ab50245ee3d52d97f11.png +0 -0
  148. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/data/962/962fd865fdd45f169d5ca8c8f284d68d.png +0 -0
  149. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/data/ec6/ec60f2f4fb854b59c97e16b45c713de0.png +0 -0
  150. {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/dataset_info.json +0 -0
  151. {hafnia-0.5.1 → hafnia-0.5.2}/tests/helper_testing.py +0 -0
  152. {hafnia-0.5.1 → hafnia-0.5.2}/tests/helper_testing_datasets.py +0 -0
  153. {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_bring_your_own_data.py +0 -0
  154. {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_check_example_scripts.py +0 -0
  155. {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_cli_integration.py +0 -0
  156. {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_dataset_merges.py +0 -0
  157. {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_dataset_recipes_with_platform.py +0 -0
  158. {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_samples.py +0 -0
  159. {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_torchvision_datasets.py +0 -0
  160. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/dataset_recipe/test_dataset_recipe_helpers.py +0 -0
  161. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/dataset_recipe/test_dataset_recipes.py +0 -0
  162. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/dataset_recipe/test_recipe_transformations.py +0 -0
  163. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/format_conversions/test_format_coco.py +0 -0
  164. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/format_conversions/test_format_image_classification_folder.py +0 -0
  165. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/format_conversions/test_format_yolo.py +0 -0
  166. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/operations/test_dataset_stats.py +0 -0
  167. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/operations/test_dataset_transformations.py +0 -0
  168. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/operations/test_table_transformations.py +0 -0
  169. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_colors.py +0 -0
  170. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_dataset_details_uploader.py +0 -0
  171. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_dataset_helpers.py +0 -0
  172. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_dataset_names.py +0 -0
  173. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_hafnia_dataset.py +0 -0
  174. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_hafnia_dataset_types.py +0 -0
  175. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_shape_primitives.py +0 -0
  176. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_builder.py +0 -0
  177. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_cli.py +0 -0
  178. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_hafnia_logger.py +0 -0
  179. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_utils.py +0 -0
  180. {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_visualizations.py +0 -0
@@ -21,8 +21,8 @@ jobs:
21
21
  outputs:
22
22
  package-version: ${{ steps.extract-version.outputs.package_version }}
23
23
  steps:
24
- - uses: actions/checkout@v6.0.1
25
- - uses: actions/setup-python@v6.1.0
24
+ - uses: actions/checkout@v6.0.2
25
+ - uses: actions/setup-python@v6.2.0
26
26
  with:
27
27
  python-version-file: ${{ inputs.python-version-file }}
28
28
 
@@ -38,7 +38,7 @@ jobs:
38
38
  version: 0.6.8
39
39
 
40
40
  - name: Cache dependencies
41
- uses: actions/cache@v4
41
+ uses: actions/cache@v5
42
42
  with:
43
43
  path: ~/.cache/uv
44
44
  key: ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml') }}
@@ -19,7 +19,7 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  needs: lint
21
21
  steps:
22
- - uses: actions/checkout@v6.0.1
22
+ - uses: actions/checkout@v6.0.2
23
23
  - name: Run Trivy vulnerability scanner
24
24
  uses: aquasecurity/trivy-action@0.33.1
25
25
  with:
@@ -10,8 +10,8 @@ jobs:
10
10
  lint:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
- - uses: actions/checkout@v6.0.1
14
- - uses: actions/setup-python@v6.1.0
13
+ - uses: actions/checkout@v6.0.2
14
+ - uses: actions/setup-python@v6.2.0
15
15
  with:
16
16
  python-version-file: ${{ inputs.python-version-file }}
17
17
  - uses: pre-commit/action@v3.0.1
@@ -24,8 +24,8 @@ jobs:
24
24
  build:
25
25
  runs-on: ubuntu-latest
26
26
  steps:
27
- - uses: actions/checkout@v6.0.1
28
- - uses: actions/setup-python@v6.1.0
27
+ - uses: actions/checkout@v6.0.2
28
+ - uses: actions/setup-python@v6.2.0
29
29
  id: python
30
30
  with:
31
31
  python-version-file: ${{ inputs.python-version-file }}
@@ -57,7 +57,7 @@ jobs:
57
57
  uses: aws-actions/amazon-ecr-login@v2.0.1
58
58
 
59
59
  - name: Set up Docker Buildx
60
- uses: docker/setup-buildx-action@v3.11.1
60
+ uses: docker/setup-buildx-action@v3.12.0
61
61
 
62
62
  - name: Build and push
63
63
  uses: docker/build-push-action@v6.18.0
@@ -15,8 +15,8 @@ jobs:
15
15
  matrix:
16
16
  os: [ubuntu-latest, windows-latest]
17
17
  steps:
18
- - uses: actions/checkout@v6.0.1
19
- - uses: actions/setup-python@v6.1.0
18
+ - uses: actions/checkout@v6.0.2
19
+ - uses: actions/setup-python@v6.2.0
20
20
  with:
21
21
  python-version-file: ${{ inputs.python-version-file }}
22
22
  - name: Install uv
@@ -1,3 +1,6 @@
1
1
  # Ignore 'CVE-2024-37059' issue https://avd.aquasec.com/nvd/2024/cve-2024-37059/
2
2
  # The vulnerability does not apply to our platform as models are not loaded on our platform.
3
- CVE-2024-37059
3
+ CVE-2024-37059
4
+
5
+ # Temporarily ignore 'CVE-2026-0994' issue https://avd.aquasec.com/nvd/2026/cve-2026-0994/
6
+ CVE-2026-0994
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hafnia
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Python SDK for communication with Hafnia platform.
5
5
  Author-email: Milestone Systems <hafniaplatform@milestone.dk>
6
6
  License-File: LICENSE
7
7
  Requires-Python: >=3.10
8
8
  Requires-Dist: boto3>=1.35.91
9
9
  Requires-Dist: click>=8.1.8
10
+ Requires-Dist: docstring-parser>=0.17.0
10
11
  Requires-Dist: emoji>=2.14.1
11
12
  Requires-Dist: flatten-dict>=0.4.2
12
13
  Requires-Dist: keyring>=25.6.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hafnia"
3
- version = "0.5.1"
3
+ version = "0.5.2"
4
4
  description = "Python SDK for communication with Hafnia platform."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -29,16 +29,18 @@ dependencies = [
29
29
  "mlflow>=3.4.0",
30
30
  "sagemaker-mlflow>=0.1.0",
31
31
  "mcp>=1.23.0",
32
+ "docstring-parser>=0.17.0", # Used to parse docstrings for CommandBuilder
32
33
  ]
33
34
 
34
35
  [dependency-groups]
35
36
  dev = [
36
37
  "ipykernel>=6.29.5",
37
- "lark>=1.2.2",
38
38
  "torch>=2.6.0",
39
39
  "torchvision>=0.21.0",
40
40
  "flatten-dict>=0.4.2",
41
41
  "pytest-cov>=7.0.0",
42
+ "cyclopts>=4.5.0", # Only to test "CommandBuilder" module
43
+ "typer>=0.21.1", # Only to test "CommandBuilder" module
42
44
  ]
43
45
 
44
46
  test = ["pytest>=8.3.4", "pre-commit>=4.2.0", "ruff>=0.9.1"]