hydraflow 0.14.1__tar.gz → 0.14.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 (97) hide show
  1. {hydraflow-0.14.1 → hydraflow-0.14.2}/PKG-INFO +1 -1
  2. {hydraflow-0.14.1 → hydraflow-0.14.2}/pyproject.toml +1 -1
  3. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/cli.py +2 -3
  4. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_run.py +8 -1
  5. {hydraflow-0.14.1 → hydraflow-0.14.2}/.devcontainer/devcontainer.json +0 -0
  6. {hydraflow-0.14.1 → hydraflow-0.14.2}/.devcontainer/postCreate.sh +0 -0
  7. {hydraflow-0.14.1 → hydraflow-0.14.2}/.devcontainer/starship.toml +0 -0
  8. {hydraflow-0.14.1 → hydraflow-0.14.2}/.gitattributes +0 -0
  9. {hydraflow-0.14.1 → hydraflow-0.14.2}/.github/workflows/ci.yaml +0 -0
  10. {hydraflow-0.14.1 → hydraflow-0.14.2}/.github/workflows/docs.yaml +0 -0
  11. {hydraflow-0.14.1 → hydraflow-0.14.2}/.github/workflows/publish.yaml +0 -0
  12. {hydraflow-0.14.1 → hydraflow-0.14.2}/.gitignore +0 -0
  13. {hydraflow-0.14.1 → hydraflow-0.14.2}/LICENSE +0 -0
  14. {hydraflow-0.14.1 → hydraflow-0.14.2}/README.md +0 -0
  15. {hydraflow-0.14.1 → hydraflow-0.14.2}/apps/quickstart.py +0 -0
  16. {hydraflow-0.14.1 → hydraflow-0.14.2}/docs/index.md +0 -0
  17. {hydraflow-0.14.1 → hydraflow-0.14.2}/docs/usage/quickstart.md +0 -0
  18. {hydraflow-0.14.1 → hydraflow-0.14.2}/mkdocs.yaml +0 -0
  19. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/__init__.py +0 -0
  20. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/__init__.py +0 -0
  21. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/config.py +0 -0
  22. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/context.py +0 -0
  23. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/io.py +0 -0
  24. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/main.py +0 -0
  25. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/mlflow.py +0 -0
  26. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/param.py +0 -0
  27. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/__init__.py +0 -0
  28. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/run_collection.py +0 -0
  29. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/run_data.py +0 -0
  30. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/run_info.py +0 -0
  31. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/__init__.py +0 -0
  32. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/aio.py +0 -0
  33. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/conf.py +0 -0
  34. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/io.py +0 -0
  35. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/job.py +0 -0
  36. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/parser.py +0 -0
  37. {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/py.typed +0 -0
  38. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/__init__.py +0 -0
  39. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/__init__.py +0 -0
  40. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/app.py +0 -0
  41. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/conftest.py +0 -0
  42. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/hydraflow.yaml +0 -0
  43. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/submit.py +0 -0
  44. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_setup.py +0 -0
  45. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_show.py +0 -0
  46. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_version.py +0 -0
  47. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/conftest.py +0 -0
  48. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/__init__.py +0 -0
  49. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/config/__init__.py +0 -0
  50. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/config/test_config.py +0 -0
  51. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/config/test_params.py +0 -0
  52. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/__init__.py +0 -0
  53. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/chdir.py +0 -0
  54. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/log_run.py +0 -0
  55. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/start_run.py +0 -0
  56. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/test_chdir.py +0 -0
  57. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/test_log_run.py +0 -0
  58. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/test_start_run.py +0 -0
  59. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/__init__.py +0 -0
  60. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/hydra_dir.py +0 -0
  61. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/test_hydra_dir.py +0 -0
  62. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/test_iter_dirs.py +0 -0
  63. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/test_run.py +0 -0
  64. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/__init__.py +0 -0
  65. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/default.py +0 -0
  66. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/force_new_run.py +0 -0
  67. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/match_overrides.py +0 -0
  68. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/rerun_finished.py +0 -0
  69. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/skip_finished.py +0 -0
  70. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_default.py +0 -0
  71. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_force_new_run.py +0 -0
  72. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_match_overrides.py +0 -0
  73. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_rerun_finished.py +0 -0
  74. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_skip_finished.py +0 -0
  75. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/__init__.py +0 -0
  76. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/params.py +0 -0
  77. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/test_param.py +0 -0
  78. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/test_params.py +0 -0
  79. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/test_mlflow.py +0 -0
  80. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/__init__.py +0 -0
  81. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/filter.py +0 -0
  82. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_collection.py +0 -0
  83. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_data.py +0 -0
  84. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_filter.py +0 -0
  85. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_info.py +0 -0
  86. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_values.py +0 -0
  87. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/values.py +0 -0
  88. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/__init__.py +0 -0
  89. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/conftest.py +0 -0
  90. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/echo.py +0 -0
  91. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/read.py +0 -0
  92. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_aio.py +0 -0
  93. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_args.py +0 -0
  94. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_conf.py +0 -0
  95. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_io.py +0 -0
  96. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_job.py +0 -0
  97. {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_parser.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hydraflow
3
- Version: 0.14.1
3
+ Version: 0.14.2
4
4
  Summary: Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.
5
5
  Project-URL: Documentation, https://daizutabi.github.io/hydraflow/
6
6
  Project-URL: Source, https://github.com/daizutabi/hydraflow
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hydraflow"
7
- version = "0.14.1"
7
+ version = "0.14.2"
8
8
  description = "Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments."
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -94,9 +94,8 @@ def submit(job: Job, args: list[str], *, dry_run: bool) -> None:
94
94
  result = submit(args, iter_batches(job), dry_run=dry_run)
95
95
 
96
96
  if dry_run and isinstance(result, tuple):
97
- for line in result[1].splitlines():
98
- args = shlex.split(line)
99
- typer.echo(shlex.join([*result[0][:-1], *args]))
97
+ typer.echo(shlex.join(result[0]))
98
+ typer.echo(result[1])
100
99
 
101
100
 
102
101
  @app.command()
@@ -57,7 +57,14 @@ def test_submit_dry_run():
57
57
  args = ["run", "submit", "--dry-run", "a", "--b", "--", "--dry-run"]
58
58
  result = runner.invoke(app, args)
59
59
  assert result.exit_code == 0
60
- assert result.stdout.count("submit.py a --b --dry-run --multirun") == 4
60
+ assert result.stdout.count("submit.py a --b --dry-run") == 1
61
+ assert result.stdout.count("--multirun") == 4
62
+ lines = result.stdout.splitlines()
63
+ assert len(lines) == 5
64
+ assert "name=a count=1" in lines[1]
65
+ assert "name=b count=1" in lines[2]
66
+ assert "name=c count=5" in lines[3]
67
+ assert "name=d count=6" in lines[4]
61
68
 
62
69
 
63
70
  @pytest.mark.xdist_group(name="group1")
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