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.
- {hydraflow-0.14.1 → hydraflow-0.14.2}/PKG-INFO +1 -1
- {hydraflow-0.14.1 → hydraflow-0.14.2}/pyproject.toml +1 -1
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/cli.py +2 -3
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_run.py +8 -1
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.devcontainer/devcontainer.json +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.devcontainer/postCreate.sh +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.devcontainer/starship.toml +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.gitattributes +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.github/workflows/ci.yaml +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.github/workflows/docs.yaml +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.github/workflows/publish.yaml +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/.gitignore +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/LICENSE +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/README.md +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/apps/quickstart.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/docs/index.md +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/docs/usage/quickstart.md +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/mkdocs.yaml +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/config.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/context.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/io.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/main.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/mlflow.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/core/param.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/run_collection.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/run_data.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/entities/run_info.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/aio.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/conf.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/io.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/job.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/executor/parser.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/src/hydraflow/py.typed +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/app.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/conftest.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/hydraflow.yaml +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/submit.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_setup.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_show.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/cli/test_version.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/conftest.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/config/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/config/test_config.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/config/test_params.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/chdir.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/log_run.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/start_run.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/test_chdir.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/test_log_run.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/context/test_start_run.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/hydra_dir.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/test_hydra_dir.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/test_iter_dirs.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/io/test_run.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/default.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/force_new_run.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/match_overrides.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/rerun_finished.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/skip_finished.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_default.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_force_new_run.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_match_overrides.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_rerun_finished.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/main/test_skip_finished.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/params.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/test_param.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/param/test_params.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/core/test_mlflow.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/filter.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_collection.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_data.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_filter.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_info.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/test_values.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/entities/values.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/__init__.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/conftest.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/echo.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/read.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_aio.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_args.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_conf.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_io.py +0 -0
- {hydraflow-0.14.1 → hydraflow-0.14.2}/tests/executor/test_job.py +0 -0
- {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.
|
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.
|
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
|
-
|
98
|
-
|
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
|
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
|
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|