Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix module and class * somewhat fix names * add some logging statements * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * basic node tests * prepare more testing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * improve on testing * remove and update files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update order * fix converter test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix hardcoded * use shared obj * add `outs_path_no_cache` * cache / no-cache testing: a * refactor * further refactoring * fix * test cache/no-cache * ruff proj change * small cleanup * bugfix and add new test * basic deps testing * first draft for loading Nodes * lazy loading start * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove main tests (to be introduced one by one later) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * save functions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add cli, make workflow somewhat working * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * bring back integration tests * add dev deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test state * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * lazy evaluation testing * add legacy tests * add more tests, some still failing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `state.get_stage()` and `stage.get_stage_lock()` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `get_stage_hash()` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `ZnTrackOptionEnum` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * make it a DVCPlugin (part 1) * small code cleanup * move `save` to `plugins` * move `save` functions to `plugins` * add ABC for plugins * use sentinel objects * handle and test loading a node * test node `repr` * ruff * mock `dataclass_transform` in older Python versions * enable more tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update `NodeStatus` initalization * test groups * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * use `typing_extensions` * cleanup, using nested functions * test metrics * ruff * support plugins via environmental variable * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add aim plugin * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove aim - issue in CI * add log messages * save name and module * bugfix, test combinedconnections * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * bugfix * move config file writing to the plugin as well * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix convert tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `ZNTRACK_UNIQUE_OUTPUT_TYPE` info * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * bugfix: rename * activate more tests * add `test_dvc_params` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `AIMPlugin.finalize()` * handle repos without a remote * add `path_to_aim` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test outs and use `znjson`, fix aim test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * set run experiment * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `MLFlowPlugin` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * load env vars for finalize * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix logging metrics * log run name and run id * load env vars in post init * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update mlflow plugin * first draft of plotting * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * strangest of issues * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix `run_cache` commit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test and raise errors for extend plots * prepare for colab * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix `with project.group` (#816) * fix groups * ruff * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * integration testing * test `getitem`, `iter` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * freeze group * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rename file * fix `state.name` --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * V08m example1 (#818) * add project.repro * make node subclasses kw only * fix test using positionsl args * adapt examples from main integration tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removed old comment * added build option to repro * updated example tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * fix issue with group nwd (#819) * fix files test * fix group nwd * it does not have to be pretty - it has to work * add `config.NWD_PATH` * fix `_extract_group_from_nwd` * Cli test (#820) * add project.repro * make node subclasses kw only * fix test using positionsl args * adapt examples from main integration tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removed old comment * added build option to repro * updated example tests * sketch of add clit utils * readded cli test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * activate test --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Fabian Zills <fzills@icp.uni-stuttgart.de> * Specify the outputs for each Node (#824) * improve `node_to_output_paths` * tests for all types of dependencies * carry over remaining tests from main (#821) * carry over remaining tests from main * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixed test_node_node_getitem (#823) * fixed test * activate actual test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Fabian Zills <fzills@icp.uni-stuttgart.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * xfail mark * mark all pending implementation tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix tests --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Fabian Zills <fzills@icp.uni-stuttgart.de> * improve mlflow / aim experience (#826) * improve mlflow / aim experience * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * bugfix `stage.name` attribute error * test `NodeWithProperty` and nodes without outputs * bugfix and better error messages * use DVCFileSystem only if required and fix extend issue (#829) * use DVCFileSystem only if required and fix extend issue * fix tests? * fix filesystem check test * use cls default values where possible * run_count fix (tests needed) * support plot kwargs for `zntrack.plots` (#828) * support nodes outside the graph context (#825) * carry over remaining tests from main * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixed test_node_node_getitem (#823) * fixed test * activate actual test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Fabian Zills <fzills@icp.uni-stuttgart.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * xfail mark * mark all pending implementation tests * add files test for nodes outside the graph * add some TODOs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comment to describe feature on the main * support `dataclass` for `zntrack.deps` * update tests * fix previous tests * address comments * update tests / fix iterables * fix part * do not use `part_x` key in params but rely on order * add docs * more docs --------- Co-authored-by: Moritz R. Schäfer <schaefer@theochem.uni-stuttgart.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Moritz R Schäfer <moritz.schaefer@protonmail.com> * merge `zntrack.apply` features from main (#831) * merge `zntrack.apply` features from main * files tests for apply * remove invalid `name` key * remove `name` to fix tests * fix dataclass module changing in `deps` (#833) * add `zntrack.json` path as parameter to `dvc.yaml` * write to params instead using zntrack.json * address comments * fix DVC plotting (#834) * fix DVC plotting * fix missing `y` default and update file tests * fix legacy tests (#835) * restrict and test init * remove tests for removed features (node outside graph) * fix another test * fix unsupported deps types (needs tests) * test generic deps types * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * deprecate nodenotavail error * fix remaining tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * self review * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix more tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix more tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix some more tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix restart tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * more tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * MLFlow and AIM support via plugins (#827) * support for tags * cache plugins (#830) * bugfix and better error messages * use DVCFileSystem only if required and fix extend issue (#829) * use DVCFileSystem only if required and fix extend issue * fix tests? * fix filesystem check test * use cls default values where possible * run_count fix (tests needed) * cache plugins * cleanup * rename to `increment_run_count` * rename to `get_plugins_from_env` * show plugins in `__repr__` * save `run` in state * don't use `repr` (this should not cause issues) * fix load env vars and move improve mlflow finalize part * move `tags` to run creation * post commit * run tests with mlflow * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test mlflow in CI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update lock * try with options * use custom docker image * test with custom mlflow release package * mlflow testing * allow for context manager * test / fix extend_plots with mlflow * add todos for testing * another TODO * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix URI * test aim in CI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add aim * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add description * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * more mlflow testing * `test_project_tags` * aim run fix * test aim tags * test plotting * aim plugin with dataclasses deps * support dataclass params for mlflow * make a commit with `proj.finalize()` * use prefix in mlflow from commit msg * set some description fields (WIP) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `always_changed` * draft `MLFLOW_GIT_COMMIT` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * hide `always_changed` from `repr` * fix xpassed --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * set pre-release version * Pass `node.name` to another node in graph (#832) * Pass `node.name` to another node in graph * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix name * review * add impossible test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix try..finally block * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * add skipped tests (#836) * add skipped tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rename file to fix pytest collection --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * add mlflow description * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * allow using state rev `__mlflow_run_note__` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `skip_cached` to mlflow plugin * add `update_run_names` to mlflow plugin * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add `zntrack mlflow-sync` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix multiple plots * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove `print` * plots autosave and pandas as main dependency * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * poetry update and new pre-release * update first notebooks * remove remote package import * support python 3.13 * test python 3.13 * support empty y plots * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * disable temp path without rev or remote * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update autosave to use setter * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update rev tests, use submodule to make them available * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update mlflow-sync * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * nested and docs support * prepare new pre-release * use `envvar` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove xfail * change order * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update znflow * test post_init explicitly * remove `_post_load_` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * manually install aim (because of restricted dependencies) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * retry aim install * auto-skip aim tests * fix tests * remove extend_plots * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix aim/mlflow logging * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix aim test * test custom module * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * better tmp_file test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove varnames * bit of external node testing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add TODO * use fs repo object * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * more remote tests * add `zntrack.add` * fix rerun issue (not tested!) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix hash including params * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rm os.chdir * bump pre-release * better tests for `zntrack.add` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test dataclasses without parameters * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test tuple outs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rename `options` to `fields` * start refactoring plugin saving * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move deps_path * move `deps` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * transfer params * account for outs and metrics * move everything into fields module * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move dump function to fields module * do not use znjson for metrics * rename to `ZNTRACK_FIELD_LOAD` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * include `ZNTRACK_FIELD_SUFFIX` * use `ZNTRACK_FIELD_SUFFIX` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix `node_to_output_paths` for custom suffix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * use `with_suffix` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix local remote path, insert sys path * add test, add info to the docs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * save h5 file instead of txt * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update field definition, expose and test (#846) * update field definition, expose and test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * lock * fix repr test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test custom fields * review * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * do not run python 3.13 tests yet --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Moritz R Schäfer <moritz.schaefer@protonmail.com> Co-authored-by: Moritz R. Schäfer <schaefer@theochem.uni-stuttgart.de>
- Loading branch information