hpcflow-new2 0.2.0a186__tar.gz → 0.2.0a188__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 (158) hide show
  1. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/PKG-INFO +4 -7
  2. hpcflow_new2-0.2.0a188/hpcflow/_version.py +1 -0
  3. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/app.py +5 -31
  4. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/test_utils.py +12 -16
  5. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/validation.py +1 -5
  6. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/pyproject.toml +5 -11
  7. hpcflow_new2-0.2.0a186/hpcflow/_version.py +0 -1
  8. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/LICENSE +0 -0
  9. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/README.md +0 -0
  10. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/__init__.py +0 -0
  11. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/__pyinstaller/__init__.py +0 -0
  12. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/__pyinstaller/hook-hpcflow.py +0 -0
  13. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/app.py +0 -0
  14. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/cli.py +0 -0
  15. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/demo_data_manifest/__init__.py +0 -0
  16. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/demo_data_manifest/demo_data_manifest.json +0 -0
  17. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/__init__.py +0 -0
  18. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/demo_task_1_generate_t1_infile_1.py +0 -0
  19. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/demo_task_1_generate_t1_infile_2.py +0 -0
  20. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/demo_task_1_parse_p3.py +0 -0
  21. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/generate_t1_file_01.py +0 -0
  22. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_direct_in_direct_out.py +0 -0
  23. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_direct_in_direct_out_all_iters_test.py +0 -0
  24. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_direct_in_direct_out_env_spec.py +0 -0
  25. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_direct_in_direct_out_labels.py +0 -0
  26. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_direct_sub_param_in_direct_out.py +0 -0
  27. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_hdf5_in_obj.py +0 -0
  28. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_hdf5_out_obj.py +0 -0
  29. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_json_and_direct_in_json_out.py +0 -0
  30. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_json_in_json_and_direct_out.py +0 -0
  31. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_json_in_json_out.py +0 -0
  32. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_json_in_json_out_labels.py +0 -0
  33. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_json_in_obj.py +0 -0
  34. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_json_out_obj.py +0 -0
  35. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/main_script_test_json_sub_param_in_json_out_labels.py +0 -0
  36. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/scripts/parse_t1_file_01.py +0 -0
  37. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/template_components/__init__.py +0 -0
  38. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/template_components/command_files.yaml +0 -0
  39. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/template_components/environments.yaml +0 -0
  40. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/template_components/parameters.yaml +0 -0
  41. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/template_components/task_schemas.yaml +0 -0
  42. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/workflows/__init__.py +0 -0
  43. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/data/workflows/workflow_1.yaml +0 -0
  44. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/examples.ipynb +0 -0
  45. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/__init__.py +0 -0
  46. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/cli.py +0 -0
  47. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/cli_common.py +0 -0
  48. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/config/__init__.py +0 -0
  49. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/config/callbacks.py +0 -0
  50. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/config/cli.py +0 -0
  51. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/config/config.py +0 -0
  52. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/config/config_file.py +0 -0
  53. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/config/errors.py +0 -0
  54. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/__init__.py +0 -0
  55. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/actions.py +0 -0
  56. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/cache.py +0 -0
  57. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/command_files.py +0 -0
  58. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/commands.py +0 -0
  59. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/element.py +0 -0
  60. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/environment.py +0 -0
  61. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/errors.py +0 -0
  62. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/json_like.py +0 -0
  63. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/loop.py +0 -0
  64. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/loop_cache.py +0 -0
  65. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/object_list.py +0 -0
  66. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/parallel.py +0 -0
  67. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/parameters.py +0 -0
  68. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/rule.py +0 -0
  69. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/run_dir_files.py +0 -0
  70. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/task.py +0 -0
  71. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/task_schema.py +0 -0
  72. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/utils.py +0 -0
  73. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/workflow.py +0 -0
  74. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/core/zarr_io.py +0 -0
  75. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/__init__.py +0 -0
  76. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/config_file_schema.yaml +0 -0
  77. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/config_schema.yaml +0 -0
  78. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/environments_spec_schema.yaml +0 -0
  79. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/files_spec_schema.yaml +0 -0
  80. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/parameters_spec_schema.yaml +0 -0
  81. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/task_schema_spec_schema.yaml +0 -0
  82. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/data/workflow_spec_schema.yaml +0 -0
  83. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/demo/__init__.py +0 -0
  84. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/demo/cli.py +0 -0
  85. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/helper/__init__.py +0 -0
  86. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/helper/cli.py +0 -0
  87. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/helper/helper.py +0 -0
  88. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/helper/watcher.py +0 -0
  89. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/log.py +0 -0
  90. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/persistence/__init__.py +0 -0
  91. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/persistence/base.py +0 -0
  92. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/persistence/json.py +0 -0
  93. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/persistence/pending.py +0 -0
  94. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/persistence/store_resource.py +0 -0
  95. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/persistence/utils.py +0 -0
  96. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/persistence/zarr.py +0 -0
  97. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/runtime.py +0 -0
  98. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/__init__.py +0 -0
  99. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/jobscript.py +0 -0
  100. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/jobscript_info.py +0 -0
  101. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/schedulers/__init__.py +0 -0
  102. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/schedulers/direct.py +0 -0
  103. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/schedulers/sge.py +0 -0
  104. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/schedulers/slurm.py +0 -0
  105. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/schedulers/utils.py +0 -0
  106. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/shells/__init__.py +0 -0
  107. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/shells/base.py +0 -0
  108. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/shells/bash.py +0 -0
  109. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/shells/os_version.py +0 -0
  110. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/shells/powershell.py +0 -0
  111. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/submission/submission.py +0 -0
  112. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/sdk/typing.py +0 -0
  113. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/conftest.py +0 -0
  114. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/data/__init__.py +0 -0
  115. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/data/benchmark_N_elements.yaml +0 -0
  116. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/data/workflow_1.json +0 -0
  117. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/data/workflow_1.yaml +0 -0
  118. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/data/workflow_1_slurm.yaml +0 -0
  119. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/data/workflow_1_wsl.yaml +0 -0
  120. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/data/workflow_test_run_abort.yaml +0 -0
  121. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/schedulers/direct_linux/test_direct_linux_submission.py +0 -0
  122. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/schedulers/slurm/test_slurm_submission.py +0 -0
  123. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/scripts/test_main_scripts.py +0 -0
  124. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/shells/wsl/test_wsl_submission.py +0 -0
  125. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_action.py +0 -0
  126. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_action_rule.py +0 -0
  127. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_app.py +0 -0
  128. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_cli.py +0 -0
  129. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_command.py +0 -0
  130. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_config.py +0 -0
  131. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_config_file.py +0 -0
  132. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_element.py +0 -0
  133. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_element_iteration.py +0 -0
  134. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_element_set.py +0 -0
  135. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_group.py +0 -0
  136. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_input_source.py +0 -0
  137. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_input_value.py +0 -0
  138. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_json_like.py +0 -0
  139. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_loop.py +0 -0
  140. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_object_list.py +0 -0
  141. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_parameter.py +0 -0
  142. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_persistence.py +0 -0
  143. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_resources.py +0 -0
  144. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_run.py +0 -0
  145. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_runtime.py +0 -0
  146. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_schema_input.py +0 -0
  147. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_shell.py +0 -0
  148. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_slurm.py +0 -0
  149. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_submission.py +0 -0
  150. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_task.py +0 -0
  151. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_task_schema.py +0 -0
  152. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_utils.py +0 -0
  153. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_value_sequence.py +0 -0
  154. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_workflow.py +0 -0
  155. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/unit/test_workflow_template.py +0 -0
  156. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/workflows/test_jobscript.py +0 -0
  157. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/tests/workflows/test_workflows.py +0 -0
  158. {hpcflow_new2-0.2.0a186 → hpcflow_new2-0.2.0a188}/hpcflow/viz_demo.ipynb +0 -0
@@ -1,14 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hpcflow-new2
3
- Version: 0.2.0a186
3
+ Version: 0.2.0a188
4
4
  Summary: Computational workflow management
5
5
  License: MIT
6
6
  Author: aplowman
7
7
  Author-email: adam.plowman@manchester.ac.uk
8
- Requires-Python: >=3.8,<3.13
8
+ Requires-Python: >=3.9,<3.13
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.8
12
11
  Classifier: Programming Language :: Python :: 3.9
13
12
  Classifier: Programming Language :: Python :: 3.10
14
13
  Classifier: Programming Language :: Python :: 3.11
@@ -19,8 +18,7 @@ Requires-Dist: colorama (>=0.4.6,<0.5.0)
19
18
  Requires-Dist: fsspec (>=2022.2.0,<2023.0.0)
20
19
  Requires-Dist: h5py (>=3.9.0,<4.0.0)
21
20
  Requires-Dist: msgpack (>=1.0.4,<2.0.0)
22
- Requires-Dist: numpy (>=1.24.4,<2.0.0) ; python_version < "3.9"
23
- Requires-Dist: numpy (>=1.26.4,<2.0.0) ; python_version >= "3.9"
21
+ Requires-Dist: numpy (>=1.26.4,<2.0.0)
24
22
  Requires-Dist: paramiko (>=3.2.0,<4.0.0)
25
23
  Requires-Dist: platformdirs (>=4.2.1,<5.0.0)
26
24
  Requires-Dist: psutil (>=5.9.4,<6.0.0)
@@ -32,8 +30,7 @@ Requires-Dist: ruamel-yaml (>=0.18.6,<0.19.0)
32
30
  Requires-Dist: termcolor (>=1.1.0,<2.0.0)
33
31
  Requires-Dist: valida (>=0.7.5,<0.8.0)
34
32
  Requires-Dist: watchdog (>=2.1.9,<3.0.0)
35
- Requires-Dist: zarr (==2.17.2) ; python_version >= "3.9"
36
- Requires-Dist: zarr (>=2.16.1,<3.0.0) ; python_version < "3.9"
33
+ Requires-Dist: zarr (>=2.17.2,<3.0.0)
37
34
  Description-Content-Type: text/markdown
38
35
 
39
36
  <div align="center">
@@ -0,0 +1 @@
1
+ __version__ = "0.2.0a188"
@@ -481,11 +481,7 @@ class BaseApp(metaclass=Singleton):
481
481
  components = {}
482
482
  for comp_type in TEMPLATE_COMP_TYPES:
483
483
  resource = f"{comp_type}.yaml"
484
- try:
485
- fh = resources.files(package).joinpath(resource).open("rt")
486
- except AttributeError:
487
- # < python 3.9; `resource.open_text` deprecated since 3.11
488
- fh = resources.open_text(package, resource)
484
+ fh = resources.files(package).joinpath(resource).open("rt")
489
485
  SDK_logger.info(f"Parsing file as YAML: {fh.name!r}")
490
486
  comp_dat = fh.read()
491
487
  components[comp_type] = read_YAML_str(comp_dat)
@@ -905,11 +901,7 @@ class BaseApp(metaclass=Singleton):
905
901
  # TODO: load custom directories / custom functions (via decorator)
906
902
  scripts_package = f"{self.package_name}.{self.scripts_dir}"
907
903
 
908
- try:
909
- ctx = resources.as_file(resources.files(scripts_package))
910
- except AttributeError:
911
- # < python 3.9; `resource.path` deprecated since 3.11
912
- ctx = resources.path(scripts_package, "")
904
+ ctx = resources.as_file(resources.files(scripts_package))
913
905
 
914
906
  scripts = {}
915
907
  with ctx as path:
@@ -930,11 +922,7 @@ class BaseApp(metaclass=Singleton):
930
922
  """Get all builtin demo workflow template file paths."""
931
923
  templates = {}
932
924
  pkg = f"{self.package_name}.{self.workflows_dir}"
933
- try:
934
- files = resources.files(pkg).iterdir()
935
- except AttributeError:
936
- # python 3.8; `resources.contents` deprecated since 3.11
937
- files = resources.contents(pkg)
925
+ files = resources.files(pkg).iterdir()
938
926
  for i in files:
939
927
  if i.suffix in (".yaml", ".yml", ".json", ".jsonc"):
940
928
  templates[i.stem] = i
@@ -1778,11 +1766,7 @@ class BaseApp(metaclass=Singleton):
1778
1766
  test_args = (self.pytest_args or []) + list(args)
1779
1767
  pkg = self.package_name
1780
1768
  tests_dir = "tests"
1781
- try:
1782
- ctx_man = resources.as_file(resources.files(pkg).joinpath(tests_dir))
1783
- except AttributeError:
1784
- # < Python 3.9
1785
- ctx_man = resources.path(pkg, tests_dir)
1769
+ ctx_man = resources.as_file(resources.files(pkg).joinpath(tests_dir))
1786
1770
  with ctx_man as test_dir:
1787
1771
  return pytest.main([str(test_dir)] + test_args)
1788
1772
 
@@ -2473,11 +2457,7 @@ class BaseApp(metaclass=Singleton):
2473
2457
  )
2474
2458
  package = self.demo_data_manifest_dir
2475
2459
  resource = "demo_data_manifest.json"
2476
- try:
2477
- fh = resources.files(package).joinpath(resource).open("rt")
2478
- except AttributeError:
2479
- # < python 3.9; `resource.open_text` deprecated since 3.11
2480
- fh = resources.open_text(package, resource)
2460
+ fh = resources.files(package).joinpath(resource).open("rt")
2481
2461
  manifest = json.load(fh)
2482
2462
  fh.close()
2483
2463
  return manifest
@@ -2561,12 +2541,6 @@ class BaseApp(metaclass=Singleton):
2561
2541
  try:
2562
2542
  ctx_man = resources.as_file(resources.files(package).joinpath(src_fn))
2563
2543
  # raises ModuleNotFoundError
2564
- except AttributeError:
2565
- # < python 3.9
2566
- try:
2567
- ctx_man = resources.path(package, src_fn)
2568
- except ModuleNotFoundError:
2569
- resource_exists = False
2570
2544
  except ModuleNotFoundError:
2571
2545
  resource_exists = False
2572
2546
 
@@ -193,30 +193,26 @@ def make_workflow(
193
193
  return wk
194
194
 
195
195
 
196
- def make_test_data_YAML_workflow(workflow_name, path, **kwargs):
196
+ def make_test_data_YAML_workflow(
197
+ workflow_name, path, app=None, pkg="hpcflow.tests.data", **kwargs
198
+ ):
197
199
  """Generate a workflow whose template file is defined in the test data directory."""
198
- pkg = "hpcflow.tests.data"
199
- try:
200
- script_ctx = resources.as_file(resources.files(pkg).joinpath(workflow_name))
201
- except AttributeError:
202
- # < python 3.9; `resource.path` deprecated since 3.11
203
- script_ctx = resources.path(pkg, workflow_name)
200
+ app = hf if app is None else app
201
+ script_ctx = resources.as_file(resources.files(pkg).joinpath(workflow_name))
204
202
 
205
203
  with script_ctx as file_path:
206
- return hf.Workflow.from_YAML_file(YAML_path=file_path, path=path, **kwargs)
204
+ return app.Workflow.from_YAML_file(YAML_path=file_path, path=path, **kwargs)
207
205
 
208
206
 
209
- def make_test_data_YAML_workflow_template(workflow_name, **kwargs):
207
+ def make_test_data_YAML_workflow_template(
208
+ workflow_name, app=None, pkg="hpcflow.tests.data", **kwargs
209
+ ):
210
210
  """Generate a workflow template whose file is defined in the test data directory."""
211
- pkg = "hpcflow.tests.data"
212
- try:
213
- script_ctx = resources.as_file(resources.files(pkg).joinpath(workflow_name))
214
- except AttributeError:
215
- # < python 3.9; `resource.path` deprecated since 3.11
216
- script_ctx = resources.path(pkg, workflow_name)
211
+ app = hf if app is None else app
212
+ script_ctx = resources.as_file(resources.files(pkg).joinpath(workflow_name))
217
213
 
218
214
  with script_ctx as file_path:
219
- return hf.WorkflowTemplate.from_file(path=file_path, **kwargs)
215
+ return app.WorkflowTemplate.from_file(path=file_path, **kwargs)
220
216
 
221
217
 
222
218
  @dataclass
@@ -18,11 +18,7 @@ def get_schema(filename):
18
18
  (:py:mod:`hpcflow.sdk.data`).
19
19
  """
20
20
  package = "hpcflow.sdk.data"
21
- try:
22
- fh = resources.files(package).joinpath(filename).open("rt")
23
- except AttributeError:
24
- # < python 3.9; `resource.open_text` deprecated since 3.11
25
- fh = resources.open_text(package, filename)
21
+ fh = resources.files(package).joinpath(filename).open("rt")
26
22
  schema_dat = fh.read()
27
23
  fh.close()
28
24
  schema = Schema.from_yaml(schema_dat)
@@ -1,7 +1,7 @@
1
1
 
2
2
  [tool.poetry]
3
3
  name = "hpcflow-new2"
4
- version = "0.2.0a186"
4
+ version = "0.2.0a188"
5
5
 
6
6
  description = "Computational workflow management"
7
7
  authors = ["aplowman <adam.plowman@manchester.ac.uk>"]
@@ -13,15 +13,9 @@ packages = [
13
13
  exclude = ["hpcflow/data/demo_data"]
14
14
 
15
15
  [tool.poetry.dependencies]
16
- python = ">=3.8,<3.13"
17
- zarr = [
18
- {version = "^2.16.1", python = "<3.9"},
19
- {version = "2.17.2", python = ">=3.9"}
20
- ]
21
- numpy = [
22
- {version = "^1.24.4", python = "<3.9"},
23
- {version = "^1.26.4", python = ">=3.9"},
24
- ]
16
+ python = ">=3.9,<3.13"
17
+ zarr = "^2.17.2"
18
+ numpy = "^1.26.4"
25
19
  ruamel-yaml = "^0.18.6"
26
20
  colorama = "^0.4.6"
27
21
  termcolor = "^1.1.0"
@@ -76,7 +70,7 @@ hook-dirs = "hpcflow.__pyinstaller:get_hook_dirs"
76
70
 
77
71
  [tool.commitizen]
78
72
  name = "cz_conventional_commits"
79
- version = "0.2.0a186"
73
+ version = "0.2.0a188"
80
74
  tag_format = "v$version"
81
75
  version_files = [
82
76
  "pyproject.toml:version",
@@ -1 +0,0 @@
1
- __version__ = "0.2.0a186"