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.
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/build.yaml +3 -3
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/ci_cd.yaml +1 -1
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/lint.yaml +2 -2
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/publish_docker.yaml +3 -3
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/tests.yaml +2 -2
- {hafnia-0.5.1 → hafnia-0.5.2}/.trivyignore +4 -1
- {hafnia-0.5.1 → hafnia-0.5.2}/PKG-INFO +2 -1
- {hafnia-0.5.1 → hafnia-0.5.2}/pyproject.toml +4 -2
- hafnia-0.5.2/src/hafnia/experiment/command_builder.py +686 -0
- hafnia-0.5.2/tests/unit/test_command_builder.py +467 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/uv.lock +708 -502
- {hafnia-0.5.1 → hafnia-0.5.2}/.devcontainer/devcontainer.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.devcontainer/hooks/post_create +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/dependabot.yaml +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/Dockerfile +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/check_release.yaml +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.github/workflows/publish_pypi.yaml +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.gitignore +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.pre-commit-config.yaml +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.python-version +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.vscode/extensions.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.vscode/launch.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/.vscode/settings.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/LICENSE +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/README.md +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/docs/cli.md +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/docs/release.md +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_dataset_recipe.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_hafnia_dataset.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_logger.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/examples/example_torchvision_dataloader.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/__init__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/data/__init__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/data/factory.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_details_uploader.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_helpers.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_names.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_recipe/dataset_recipe.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_recipe/recipe_transforms.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/dataset_recipe/recipe_types.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_coco.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_helpers.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_image_classification_folder.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/format_yolo.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/format_conversions/torchvision_datasets.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/hafnia_dataset.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/hafnia_dataset_types.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/license_types.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/dataset_s3_storage.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/dataset_stats.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/dataset_transformations.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/operations/table_transformations.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/__init__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/bbox.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/bitmask.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/classification.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/point.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/polygon.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/primitive.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/segmentation.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/dataset/primitives/utils.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/experiment/__init__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/experiment/hafnia_logger.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/http.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/log.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/__init__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/builder.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/dataset_recipe.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/datasets.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/download.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/experiment.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/s5cmd_utils.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/platform/trainer_package.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/torch_helpers.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/utils.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/visualizations/colors.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia/visualizations/image_visualizations.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/__init__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/__main__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/config.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/consts.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/dataset_cmds.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/dataset_recipe_cmds.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/experiment_cmds.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/keychain.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/profile_cmds.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/runc_cmds.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/src/hafnia_cli/trainer_package_cmds.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/__init__.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/conftest.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/train/000000000632.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/train/000000000724.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/train/_annotations.coco.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/valid/000000000139.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/valid/000000000285.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_coco_roboflow/valid/_annotations.coco.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/obj.names +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000139.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000139.txt +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000285.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/data/000000000285.txt +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/train/images.txt +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/validation/data/000000000632.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/validation/data/000000000632.txt +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_formats/format_yolo/validation/images.txt +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/dataset_image_metadata_schema.yaml +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_dataset_transformations/test_video_storage_format_read_image.png +0 -0
- {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
- {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
- {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
- {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
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_from_coco_format_visualized.png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_coco/test_to_coco_format_visualized.png +0 -0
- {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
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_format_yolo/test_import_yolo_format_visualized.png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[caltech-101].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[caltech-256].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[cifar100].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[cifar10].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[coco-2017].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[midwest-vehicle-detection].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[mnist].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_check_dataset[tiny-dataset].png +0 -0
- {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
- {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
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[cifar100].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[cifar10].png +0 -0
- {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
- {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
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[mnist].png +0 -0
- {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
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_blur_anonymization[micro-coco-2017].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_blur_anonymization[micro-tiny-dataset].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_draw_annotations[micro-coco-2017].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_draw_annotations[micro-tiny-dataset].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_mask_region[micro-coco-2017].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_mask_region[micro-tiny-dataset].png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/expected_images/test_visualizations/test_polygon_to_bitmask_conversion.png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/annotations.jsonl +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/annotations.parquet +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/data/253/253925d334c002ce6662d8133535dd4c.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/data/b1a/b1a09f4d922f8f6904bab0c1caf172ab.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/data/f67/f675c8a1e862b5e00203ab888ac7fff4.jpg +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-coco-2017/dataset_info.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/annotations.jsonl +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/annotations.parquet +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/data/25c/25c3a206e7b60ab50245ee3d52d97f11.png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/data/962/962fd865fdd45f169d5ca8c8f284d68d.png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/data/ec6/ec60f2f4fb854b59c97e16b45c713de0.png +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/data/micro_test_datasets/micro-tiny-dataset/dataset_info.json +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/helper_testing.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/helper_testing_datasets.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_bring_your_own_data.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_check_example_scripts.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_cli_integration.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_dataset_merges.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_dataset_recipes_with_platform.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_samples.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/integration/test_torchvision_datasets.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/dataset_recipe/test_dataset_recipe_helpers.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/dataset_recipe/test_dataset_recipes.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/dataset_recipe/test_recipe_transformations.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/format_conversions/test_format_coco.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/format_conversions/test_format_image_classification_folder.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/format_conversions/test_format_yolo.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/operations/test_dataset_stats.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/operations/test_dataset_transformations.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/operations/test_table_transformations.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_colors.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_dataset_details_uploader.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_dataset_helpers.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_dataset_names.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_hafnia_dataset.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_hafnia_dataset_types.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/dataset/test_shape_primitives.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_builder.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_cli.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_hafnia_logger.py +0 -0
- {hafnia-0.5.1 → hafnia-0.5.2}/tests/unit/test_utils.py +0 -0
- {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.
|
|
25
|
-
- uses: actions/setup-python@v6.
|
|
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@
|
|
41
|
+
uses: actions/cache@v5
|
|
42
42
|
with:
|
|
43
43
|
path: ~/.cache/uv
|
|
44
44
|
key: ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml') }}
|
|
@@ -10,8 +10,8 @@ jobs:
|
|
|
10
10
|
lint:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@v6.0.
|
|
14
|
-
- uses: actions/setup-python@v6.
|
|
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.
|
|
28
|
-
- uses: actions/setup-python@v6.
|
|
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.
|
|
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.
|
|
19
|
-
- uses: actions/setup-python@v6.
|
|
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.
|
|
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.
|
|
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"]
|