hafnia 0.1.23__tar.gz → 0.1.24__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 (61) hide show
  1. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/build.yaml +2 -2
  2. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/check_release.yaml +1 -1
  3. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/ci_cd.yaml +1 -9
  4. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/lint.yaml +1 -1
  5. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/publish_docker.yaml +3 -3
  6. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/publish_pypi.yaml +1 -1
  7. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/tests.yaml +2 -2
  8. {hafnia-0.1.23 → hafnia-0.1.24}/PKG-INFO +1 -1
  9. {hafnia-0.1.23 → hafnia-0.1.24}/pyproject.toml +1 -1
  10. {hafnia-0.1.23 → hafnia-0.1.24}/uv.lock +1 -1
  11. {hafnia-0.1.23 → hafnia-0.1.24}/.devcontainer/devcontainer.json +0 -0
  12. {hafnia-0.1.23 → hafnia-0.1.24}/.devcontainer/hooks/post_create +0 -0
  13. {hafnia-0.1.23 → hafnia-0.1.24}/.github/dependabot.yaml +0 -0
  14. {hafnia-0.1.23 → hafnia-0.1.24}/.github/workflows/Dockerfile +0 -0
  15. {hafnia-0.1.23 → hafnia-0.1.24}/.gitignore +0 -0
  16. {hafnia-0.1.23 → hafnia-0.1.24}/.pre-commit-config.yaml +0 -0
  17. {hafnia-0.1.23 → hafnia-0.1.24}/.python-version +0 -0
  18. {hafnia-0.1.23 → hafnia-0.1.24}/.vscode/extensions.json +0 -0
  19. {hafnia-0.1.23 → hafnia-0.1.24}/.vscode/launch.json +0 -0
  20. {hafnia-0.1.23 → hafnia-0.1.24}/.vscode/settings.json +0 -0
  21. {hafnia-0.1.23 → hafnia-0.1.24}/LICENSE +0 -0
  22. {hafnia-0.1.23 → hafnia-0.1.24}/README.md +0 -0
  23. {hafnia-0.1.23 → hafnia-0.1.24}/docs/cli.md +0 -0
  24. {hafnia-0.1.23 → hafnia-0.1.24}/docs/release.md +0 -0
  25. {hafnia-0.1.23 → hafnia-0.1.24}/docs/s2m.md +0 -0
  26. {hafnia-0.1.23 → hafnia-0.1.24}/examples/dataset_builder.py +0 -0
  27. {hafnia-0.1.23 → hafnia-0.1.24}/examples/example_load_dataset.py +0 -0
  28. {hafnia-0.1.23 → hafnia-0.1.24}/examples/example_logger.py +0 -0
  29. {hafnia-0.1.23 → hafnia-0.1.24}/examples/example_torchvision_dataloader.py +0 -0
  30. {hafnia-0.1.23 → hafnia-0.1.24}/examples/script2model/pytorch/Dockerfile +0 -0
  31. {hafnia-0.1.23 → hafnia-0.1.24}/examples/script2model/pytorch/src/lib/train_utils.py +0 -0
  32. {hafnia-0.1.23 → hafnia-0.1.24}/examples/script2model/pytorch/src/scripts/train.py +0 -0
  33. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/__init__.py +0 -0
  34. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/__main__.py +0 -0
  35. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/config.py +0 -0
  36. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/consts.py +0 -0
  37. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/data_cmds.py +0 -0
  38. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/experiment_cmds.py +0 -0
  39. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/profile_cmds.py +0 -0
  40. {hafnia-0.1.23 → hafnia-0.1.24}/src/cli/runc_cmds.py +0 -0
  41. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/__init__.py +0 -0
  42. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/data/__init__.py +0 -0
  43. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/data/factory.py +0 -0
  44. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/experiment/__init__.py +0 -0
  45. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/experiment/hafnia_logger.py +0 -0
  46. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/http.py +0 -0
  47. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/log.py +0 -0
  48. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/platform/__init__.py +0 -0
  49. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/platform/api.py +0 -0
  50. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/platform/builder.py +0 -0
  51. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/platform/download.py +0 -0
  52. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/platform/executor.py +0 -0
  53. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/platform/experiment.py +0 -0
  54. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/torch_helpers.py +0 -0
  55. {hafnia-0.1.23 → hafnia-0.1.24}/src/hafnia/utils.py +0 -0
  56. {hafnia-0.1.23 → hafnia-0.1.24}/tests/test_builder.py +0 -0
  57. {hafnia-0.1.23 → hafnia-0.1.24}/tests/test_check_example_scripts.py +0 -0
  58. {hafnia-0.1.23 → hafnia-0.1.24}/tests/test_cli.py +0 -0
  59. {hafnia-0.1.23 → hafnia-0.1.24}/tests/test_executor.py +0 -0
  60. {hafnia-0.1.23 → hafnia-0.1.24}/tests/test_mdi_logger.py +0 -0
  61. {hafnia-0.1.23 → hafnia-0.1.24}/tests/test_samples.py +0 -0
@@ -18,7 +18,7 @@ jobs:
18
18
  package-version: ${{ steps.extract-version.outputs.package_version }}
19
19
  steps:
20
20
  - uses: actions/checkout@v4.2.2
21
- - uses: actions/setup-python@v5.4.0
21
+ - uses: actions/setup-python@v5.6.0
22
22
  with:
23
23
  python-version-file: ${{ inputs.python-version-file }}
24
24
 
@@ -29,7 +29,7 @@ jobs:
29
29
  echo "package_version=$VERSION" >> $GITHUB_OUTPUT
30
30
 
31
31
  - name: Install uv
32
- uses: astral-sh/setup-uv@v5
32
+ uses: astral-sh/setup-uv@v6
33
33
  with:
34
34
  version: 0.6.8
35
35
 
@@ -20,7 +20,7 @@ jobs:
20
20
  make_release: ${{ steps.check_release.outputs.make_release }}
21
21
  steps:
22
22
  - name: Download package artifact
23
- uses: actions/download-artifact@v4.2.1
23
+ uses: actions/download-artifact@v4.3.0
24
24
  with:
25
25
  name: python-package
26
26
  path: dist/
@@ -44,17 +44,9 @@ jobs:
44
44
  with:
45
45
  python-version-file: "pyproject.toml"
46
46
 
47
- publish-pypi-test:
48
- name: Publish Package to TestPyPI
49
- needs: build
50
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
51
- uses: ./.github/workflows/publish_pypi.yaml
52
- with:
53
- environment: testpypi
54
-
55
47
  publish-docker-staging:
56
48
  name: Publish Docker Image to Staging
57
- needs: [build, publish-pypi-test]
49
+ needs: build
58
50
  secrets: inherit
59
51
  if: github.event_name == 'push' && github.ref == 'refs/heads/main'
60
52
  uses: ./.github/workflows/publish_docker.yaml
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - uses: actions/checkout@v4.2.2
14
- - uses: actions/setup-python@v5.4.0
14
+ - uses: actions/setup-python@v5.6.0
15
15
  with:
16
16
  python-version-file: ${{ inputs.python-version-file }}
17
17
  - uses: pre-commit/action@v3.0.1
@@ -25,13 +25,13 @@ jobs:
25
25
  runs-on: ubuntu-latest
26
26
  steps:
27
27
  - uses: actions/checkout@v4.2.2
28
- - uses: actions/setup-python@v5.4.0
28
+ - uses: actions/setup-python@v5.6.0
29
29
  id: python
30
30
  with:
31
31
  python-version-file: ${{ inputs.python-version-file }}
32
32
 
33
33
  - name: Download package artifact
34
- uses: actions/download-artifact@v4.2.1
34
+ uses: actions/download-artifact@v4.3.0
35
35
  with:
36
36
  name: python-package
37
37
  path: dist/
@@ -60,7 +60,7 @@ jobs:
60
60
  uses: docker/setup-buildx-action@v3.10.0
61
61
 
62
62
  - name: Build and push
63
- uses: docker/build-push-action@v6.15.0
63
+ uses: docker/build-push-action@v6.16.0
64
64
  env:
65
65
  ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
66
66
  ECR_REPOSITORY: mdi-runtime
@@ -17,7 +17,7 @@ jobs:
17
17
  contents: read
18
18
  steps:
19
19
  - name: Download package artifact
20
- uses: actions/download-artifact@v4.2.1
20
+ uses: actions/download-artifact@v4.3.0
21
21
  with:
22
22
  name: python-package
23
23
  path: dist/
@@ -12,11 +12,11 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
14
  - uses: actions/checkout@v4.2.2
15
- - uses: actions/setup-python@v5.4.0
15
+ - uses: actions/setup-python@v5.6.0
16
16
  with:
17
17
  python-version-file: ${{ inputs.python-version-file }}
18
18
  - name: Install uv
19
- uses: astral-sh/setup-uv@v5
19
+ uses: astral-sh/setup-uv@v6
20
20
  with:
21
21
  version: 0.6.8
22
22
  - name: Install the project
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hafnia
3
- Version: 0.1.23
3
+ Version: 0.1.24
4
4
  Summary: Python tools for communication with Hafnia platform.
5
5
  Author-email: Ivan Sahumbaiev <ivsa@milestone.dk>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hafnia"
3
- version = "0.1.23"
3
+ version = "0.1.24"
4
4
  description = "Python tools for communication with Hafnia platform."
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Ivan Sahumbaiev", email = "ivsa@milestone.dk" }]
@@ -549,7 +549,7 @@ http = [
549
549
 
550
550
  [[package]]
551
551
  name = "hafnia"
552
- version = "0.1.23"
552
+ version = "0.1.24"
553
553
  source = { editable = "." }
554
554
  dependencies = [
555
555
  { name = "boto3" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes