pipeloom 0.2.0__tar.gz → 0.4.0__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.
- {pipeloom-0.2.0 → pipeloom-0.4.0}/CHANGELOG.md +70 -1
- {pipeloom-0.2.0 → pipeloom-0.4.0}/PKG-INFO +9 -5
- {pipeloom-0.2.0 → pipeloom-0.4.0}/README.pypi.md +4 -2
- {pipeloom-0.2.0 → pipeloom-0.4.0}/pyproject.toml +34 -7
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/api.py +16 -3
- pipeloom-0.4.0/src/pipeloom/artifacts/finalize.py +194 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/io.py +23 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/results.py +8 -1
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/builtins/filesystem.py +2 -1
- pipeloom-0.4.0/src/pipeloom/builtins/fs_table.py +455 -0
- pipeloom-0.4.0/src/pipeloom/builtins/fs_write.py +254 -0
- pipeloom-0.4.0/src/pipeloom/cli/_signals.py +49 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/run.py +66 -2
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/bind.py +3 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/models.py +5 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/diagnostics/codes.py +107 -7
- pipeloom-0.4.0/src/pipeloom/engine/errors.py +22 -0
- pipeloom-0.4.0/src/pipeloom/engine/portable.py +596 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/engine/protocols.py +46 -3
- pipeloom-0.4.0/src/pipeloom/engine/types.py +266 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/model.py +78 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/console.py +63 -7
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/plan/model.py +6 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/plugins/__init__.py +3 -3
- pipeloom-0.4.0/src/pipeloom/quality/__init__.py +23 -0
- pipeloom-0.4.0/src/pipeloom/quality/judge.py +122 -0
- pipeloom-0.4.0/src/pipeloom/quality/quarantine.py +22 -0
- pipeloom-0.4.0/src/pipeloom/quality/specs.py +62 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/runtime/context.py +5 -0
- pipeloom-0.4.0/src/pipeloom/runtime/control.py +135 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/runtime/errors.py +9 -6
- pipeloom-0.4.0/src/pipeloom/runtime/executors/__init__.py +68 -0
- pipeloom-0.4.0/src/pipeloom/runtime/executors/process.py +357 -0
- pipeloom-0.4.0/src/pipeloom/runtime/executors/thread.py +131 -0
- pipeloom-0.4.0/src/pipeloom/runtime/incremental.py +212 -0
- pipeloom-0.4.0/src/pipeloom/runtime/retry.py +89 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/runtime/run.py +127 -26
- pipeloom-0.4.0/src/pipeloom/runtime/runner.py +1158 -0
- pipeloom-0.4.0/src/pipeloom/runtime/scheduler.py +466 -0
- pipeloom-0.4.0/src/pipeloom/runtime/schema_policy.py +125 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/runtime/states.py +1 -1
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/state/jsondir.py +9 -1
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/state/sqlite.py +6 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/state/types.py +4 -1
- pipeloom-0.4.0/src/pipeloom/testing/contract/engine.py +833 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/state.py +19 -3
- pipeloom-0.4.0/src/pipeloom/testing/memory.py +574 -0
- pipeloom-0.4.0/src/pipeloom/testing/reference.py +295 -0
- pipeloom-0.4.0/src/pipeloom/testing/sim.py +147 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/validate/capabilities.py +19 -2
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/validate/semantics.py +52 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/artifacts/test_artifacts.py +22 -0
- pipeloom-0.4.0/tests/artifacts/test_intermediate_ttl.py +180 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC501.yml +1 -1
- pipeloom-0.4.0/tests/cases/PLC509.yml +15 -0
- pipeloom-0.4.0/tests/cases/PLC510.yml +18 -0
- pipeloom-0.4.0/tests/cases/PLM202.yml +16 -0
- pipeloom-0.4.0/tests/cases/PLM203.yml +40 -0
- pipeloom-0.4.0/tests/cases/PLM205.yml +21 -0
- pipeloom-0.4.0/tests/cases/PLM206.yml +15 -0
- pipeloom-0.4.0/tests/cases/PLM207.yml +14 -0
- pipeloom-0.4.0/tests/cases/PLP410.yml +19 -0
- pipeloom-0.4.0/tests/cases/PLP411.yml +15 -0
- pipeloom-0.4.0/tests/cases/PLP412.yml +17 -0
- pipeloom-0.2.0/tests/cases/PLC509.yml → pipeloom-0.4.0/tests/cases/PLP413.yml +4 -1
- pipeloom-0.4.0/tests/cases/PLQ301.yml +17 -0
- pipeloom-0.4.0/tests/cases/PLQ302.yml +17 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLU001.yml +1 -1
- pipeloom-0.4.0/tests/cases/PLX102.yml +20 -0
- pipeloom-0.4.0/tests/cases/PLX104.yml +20 -0
- pipeloom-0.4.0/tests/cases/PLX108.yml +14 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_cases.py +50 -1
- pipeloom-0.4.0/tests/fixtures/quality/models/models.yml +17 -0
- pipeloom-0.4.0/tests/fixtures/quality/models/sources.yml +2 -0
- pipeloom-0.4.0/tests/fixtures/quality/pipeloom.yml +21 -0
- pipeloom-0.4.0/tests/fixtures/quality/raw/orders.csv +8 -0
- pipeloom-0.4.0/tests/fixtures/quality/src/quality/models.py +2 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC501.json +2 -2
- pipeloom-0.4.0/tests/goldens/diagnostics/PLC501.txt +2 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC509.json +4 -4
- pipeloom-0.4.0/tests/goldens/diagnostics/PLC509.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLC510.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLC510.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM202.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM202.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM203.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM203.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM205.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM205.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM206.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM206.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM207.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM207.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP401.json +17 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP401.txt +0 -2
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP402.json +17 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP402.txt +0 -2
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP404.json +17 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP404.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP407.json +17 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP407.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP410.json +17 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP410.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP411.json +17 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP411.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP412.json +17 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP412.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP413.json +17 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLP413.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLQ301.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLQ301.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLQ302.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLQ302.txt +2 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU001.json +4 -4
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU001.txt +1 -1
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX102.json +13 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX102.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX104.json +13 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX104.txt +2 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX108.json +13 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX108.txt +2 -0
- pipeloom-0.4.0/tests/goldens/events/console_warn.txt +4 -0
- pipeloom-0.4.0/tests/goldens/events/model_schema_changed.json +13 -0
- pipeloom-0.4.0/tests/goldens/run_results/quality.json +84 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/run_results/shop.json +3 -1
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/schema/project.json +51 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/schema/project.plugins.json +51 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/plugins/fakes.py +15 -2
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/plugins/test_memory.py +14 -5
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/plugins/test_registry.py +9 -6
- pipeloom-0.4.0/tests/runtime/fakes.py +137 -0
- pipeloom-0.4.0/tests/runtime/test_api04.py +278 -0
- pipeloom-0.4.0/tests/runtime/test_cancel.py +309 -0
- pipeloom-0.4.0/tests/runtime/test_incremental.py +342 -0
- pipeloom-0.4.0/tests/runtime/test_intermediate.py +130 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/runtime/test_process.py +30 -0
- pipeloom-0.4.0/tests/runtime/test_quality.py +253 -0
- pipeloom-0.4.0/tests/runtime/test_retries_sim.py +361 -0
- pipeloom-0.4.0/tests/runtime/test_retry.py +185 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/runtime/test_run_control.py +5 -5
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/runtime/test_scheduler.py +16 -13
- pipeloom-0.4.0/tests/runtime/test_schema_policy.py +273 -0
- pipeloom-0.4.0/tests/runtime/test_timeouts.py +380 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/state/test_stores.py +22 -1
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_catalog.py +5 -1
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_cli_plugins.py +3 -3
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_cli_run.py +85 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_cli_validate.py +1 -1
- pipeloom-0.4.0/tests/test_coverage_config.py +27 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_engine_contract.py +10 -1
- pipeloom-0.4.0/tests/test_engine_types.py +69 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_fs_table.py +107 -2
- pipeloom-0.4.0/tests/test_fs_write.py +427 -0
- pipeloom-0.4.0/tests/test_portable.py +300 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_versions.py +17 -0
- pipeloom-0.4.0/tests/testing/__init__.py +0 -0
- pipeloom-0.4.0/tests/testing/test_reference.py +130 -0
- pipeloom-0.4.0/tests/validate/__init__.py +0 -0
- pipeloom-0.4.0/tests/validate/test_catalog_caps.py +36 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/validate/test_validate.py +0 -1
- pipeloom-0.2.0/src/pipeloom/artifacts/finalize.py +0 -75
- pipeloom-0.2.0/src/pipeloom/builtins/fs_table.py +0 -254
- pipeloom-0.2.0/src/pipeloom/engine/portable.py +0 -107
- pipeloom-0.2.0/src/pipeloom/engine/types.py +0 -100
- pipeloom-0.2.0/src/pipeloom/runtime/executors/__init__.py +0 -43
- pipeloom-0.2.0/src/pipeloom/runtime/executors/process.py +0 -243
- pipeloom-0.2.0/src/pipeloom/runtime/executors/thread.py +0 -40
- pipeloom-0.2.0/src/pipeloom/runtime/runner.py +0 -500
- pipeloom-0.2.0/src/pipeloom/runtime/scheduler.py +0 -261
- pipeloom-0.2.0/src/pipeloom/testing/contract/engine.py +0 -292
- pipeloom-0.2.0/src/pipeloom/testing/memory.py +0 -329
- pipeloom-0.2.0/src/pipeloom/testing/sim.py +0 -44
- pipeloom-0.2.0/tests/goldens/diagnostics/PLC501.txt +0 -2
- pipeloom-0.2.0/tests/goldens/diagnostics/PLC509.txt +0 -2
- pipeloom-0.2.0/tests/goldens/diagnostics/PLP401.json +0 -33
- pipeloom-0.2.0/tests/goldens/diagnostics/PLP402.json +0 -33
- pipeloom-0.2.0/tests/goldens/diagnostics/PLP404.json +0 -33
- pipeloom-0.2.0/tests/goldens/diagnostics/PLP404.txt +0 -4
- pipeloom-0.2.0/tests/goldens/diagnostics/PLP407.json +0 -33
- pipeloom-0.2.0/tests/goldens/diagnostics/PLP407.txt +0 -4
- pipeloom-0.2.0/tests/runtime/fakes.py +0 -28
- pipeloom-0.2.0/tests/test_portable.py +0 -123
- {pipeloom-0.2.0 → pipeloom-0.4.0}/.gitignore +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/LICENSE +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/NOTICE +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/__main__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/layout.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/builtins/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/builtins/naming.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/builtins/secrets_env.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/_events.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/_options.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/_select.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/compile.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/graph.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/ls.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/plugins.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/schema.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/cli/validate.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/discover.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/errors.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/load.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/resolve.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/schema.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/types.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/config/yaml.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/diagnostics/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/engine/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/bus.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/buffered.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/jsonl.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/runfile.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/graph/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/graph/dag.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/graph/selectors.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/plan/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/plan/compile.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/plan/manifest.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/plan/units.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/platform.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/plugins/builtin.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/py.typed +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/runtime/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/runtime/loader.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/runtime/memo.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/secrets/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/secrets/interpolation.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/secrets/redaction.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/state/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/state/codec.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/state/lease.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/testing/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/testing/clock.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/testing/recording.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/validate/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/validate/references.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/src/pipeloom/validate/static.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/artifacts/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC502.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC503.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC504.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC505.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC506.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC507.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLC508.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLE401.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLG301.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLG302.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLG303.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLG304.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLG305.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLG306.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLK601.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLK602.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLK603.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLK604.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLK605.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLM201.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLM204.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP401.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP402.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP403.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP404.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP405.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP406.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP407.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP408.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLP409.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLR201.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLR202.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLR203.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLR204.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLR205.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLR206.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLR207.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS101.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS102.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS103.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS104.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS105.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS106.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS107.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLS108.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLU002.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLU003.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLX101.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLX103.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLX105.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLX106.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLX107.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLY001.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLY002.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLY003.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/cases/PLY004.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_bind.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_errors.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_interpolation.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_load.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_models.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_resolve.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_schema.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/config/test_yaml.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/conftest.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/events/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/events/fakes.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/events/test_bus.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/events/test_console_run.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/events/test_model.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/events/test_redaction.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/events/test_sinks.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/minimal/models/_defaults.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/minimal/models/staging/orders.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/minimal/pipeloom.yml +0 -0
- {pipeloom-0.2.0/tests/graph → pipeloom-0.4.0/tests/fixtures/quality/src/quality}/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/marts/marts.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/_defaults.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/sources.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/stg.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/pipeloom.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/enrich.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/marts.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke/models/models.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke/models/sources.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke/pipeloom.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke/raw/customers.csv +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke/raw/orders.csv +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke/src/smoke/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke/src/smoke/models.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/models/models.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/models/sources.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/pipeloom.yml +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/raw/customers.csv +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/raw/orders.csv +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/src/smoke/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/src/smoke/models.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC502.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC502.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC503.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC503.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC504.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC504.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC505.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC505.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC506.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC506.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC507.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC507.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC508.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC508.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLE401.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLE401.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG301.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG301.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG302.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG302.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG303.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG303.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG304.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG304.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG305.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG305.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG306.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG306.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK601.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK601.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK602.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK602.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK603.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK603.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK604.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK604.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK605.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK605.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM201.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM201.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM204.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM204.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP403.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP403.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP405.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP405.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP406.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP406.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP408.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP408.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP409.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP409.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR201.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR201.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR202.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR202.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR203.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR203.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR204.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR204.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR205.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR205.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR206.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR206.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR207.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR207.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS101.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS101.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS102.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS102.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS103.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS103.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS104.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS104.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS105.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS105.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS106.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS106.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS107.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS107.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS108.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS108.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU002.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU002.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU003.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU003.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX101.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX101.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX103.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX103.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX105.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX105.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX106.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX106.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX107.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX107.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY001.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY001.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY002.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY002.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY003.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY003.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY004.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY004.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/events/console.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/events/console_run.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/events/console_unit.txt +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/graph/small.dot +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/graph/small.mmd +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/manifest/shop-ci.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/schema/defaults.json +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/goldens/schema/models.json +0 -0
- {pipeloom-0.2.0/tests/plan → pipeloom-0.4.0/tests/graph}/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/graph/test_dag.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/graph/test_selectors.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/graph/test_unit_selector.py +0 -0
- {pipeloom-0.2.0/tests/plugins → pipeloom-0.4.0/tests/plan}/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/plan/test_plan.py +0 -0
- {pipeloom-0.2.0/tests/runtime → pipeloom-0.4.0/tests/plugins}/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/plugins/test_builtins.py +0 -0
- {pipeloom-0.2.0/tests/state → pipeloom-0.4.0/tests/runtime}/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/runtime/test_frame_api.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/runtime/test_runner.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/runtime/test_support.py +0 -0
- {pipeloom-0.2.0/tests/validate → pipeloom-0.4.0/tests/state}/__init__.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_cli.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_cli_compile.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_cli_events.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_cli_select.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_diagnostics.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_docs_hooks.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_platform.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/test_version.py +0 -0
- {pipeloom-0.2.0 → pipeloom-0.4.0}/tests/validate/test_sql_check.py +0 -0
|
@@ -6,6 +6,73 @@ All notable changes to this project are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.4.0] - 2026-11-05
|
|
10
|
+
|
|
11
|
+
pipeloom 0.4 adds the `pipeloom-spark` engine (Spark classic and Spark Connect) with Delta writes, idempotent commits, metrics from the commit history, quality checks and a Delta table state store, plus intermediate models on every engine, on plugin API (0, 4).
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `intermediate` materialization on the memory, polars and pandas engines (ADR-0030, amends ADR-0007): the result is written to `<artifacts.root>/runs/<run_id>/intermediate/<model>` and read by its consumers; `relation_name` in `run_results` is that location. PLP413 rejects `incremental`, a strategy other than overwrite and `partition_by` on an intermediate.
|
|
16
|
+
- `artifacts.intermediate_ttl` (default 1d; 0 deletes at the end of a succeeded run). Finalize deletes expired intermediates; a deletion error is reported in the new `run.warnings` of `run_results`, never as a failure.
|
|
17
|
+
- `EngineContract` gains the intermediate tests (write then read, repeated token, one folder per run id).
|
|
18
|
+
- Plugin API (0, 4), ADR-0030: `RuntimeContext` gains `run_started_at` and `artifacts_root`; `EngineSession` gains `write_intermediate`; `CatalogCapabilities(views=)` and `IntermediateRef` are new types. Plugins built for (0, 3) fail with PLU001.
|
|
19
|
+
- `run --run-started-at ISO8601` (environment `PIPELOOM_RUN_STARTED_AT`) sets the start time every engine sees. It needs an offset and `--run-id`; a reused run id keeps its recorded start, and a different value is PLX108 (exit 2).
|
|
20
|
+
- The engine session opens before any state-store call and the run lock (so it has no `run_started_at`; engines read `WriteConfig.run_started_at`, new and additive), and `unit_scope` now spans a unit's reads, body, checks and write.
|
|
21
|
+
- PLC507 also fires when the catalog declares no views (`CatalogCapabilities(views=False)`).
|
|
22
|
+
- `pipeloom-spark` (ADR-0031): a Spark engine, new in this release, with the `delta_path` and `spark_catalog` catalogs. It reads `delta`, `parquet`, `csv`, `json` and `ndjson`, runs SQL models with DataFrame-bound aliases (no session temp views), cancels through Spark job tags, and opens a `local`, `connect` or `active` session; it never sets conf on a session it did not build. pyspark is not a hard dependency: `pipeloom[spark]` pulls `pipeloom-spark[local]` (`pyspark[connect]` 4.0.1 to 4.2, `delta-spark` 4.1 to 4.4).
|
|
23
|
+
- CI has a `spark` job (Java 17, three parallel legs: classic contract, classic rest and Connect), not yet a required check, and `typecheck` covers the Spark plugin. `make spark-test` prints the WSL recipe. Spark tests opt in with `PIPELOOM_TEST_SPARK=classic|connect`.
|
|
24
|
+
- `tools/versions.py` accepts a root extra that pins a distribution with an extra, as in `pipeloom-spark[local]==X.Y.Z`.
|
|
25
|
+
- Spark Delta writes (ADR-0032): `append`, `overwrite`, `merge` and `replace_partitions` (`replaceWhere`), the `view`, `incremental` and `intermediate` materializations, idempotent writes (`txnAppId`, `txnVersion` and a token in `userMetadata`; a MERGE is followed by an empty token commit) and row and byte metrics read from the commit history. No Spark conf is set.
|
|
26
|
+
- PLM207: Delta skipped the write because a later transaction version exists for the model (a newer or overlapping run, or clock skew); permanent for retries. `txn_guard: false` turns the guard off.
|
|
27
|
+
- `EngineContract`: `test_metrics` and `test_two_threads_materialize_at_once` skip for an engine without the `overwrite` strategy.
|
|
28
|
+
- Spark expectations and quarantine: the Spark engine declares `quality` and evaluates every count and aggregate of a model's checks in one Spark job; dropped rows go to the quarantine table with the usual `_pipeloom_*` columns.
|
|
29
|
+
- `table` state store in `pipeloom-spark` (ADR-0033): watermarks, runs, units and the run lock in one Delta table, by catalog name (`table`) or by path (`path`). Compare-and-set and the lease lock are single `MERGE` statements, Delta conflicts are retried, and the store reuses the engine's Spark session. It is shared (`shared=True`), so `boundary: task` can use it.
|
|
30
|
+
- Spark tests that start a second JVM opt in with `PIPELOOM_TEST_SPARK_HEAVY=1`. CI does not set it yet: on CI the child JVM stalled while resolving the Delta packages.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- Intermediate cleanup no longer keeps a resumed run that crashed again forever: a run whose manifest is newer than its `run_results.json` is now judged like a run without results (deleted once idle for `max(ttl, 1h)`), so an active resumed run is still kept.
|
|
35
|
+
|
|
36
|
+
## [0.3.0] - 2026-11-04
|
|
37
|
+
|
|
38
|
+
pipeloom 0.3 adds incremental models, merge and replace_partitions, schema-change policies, expectations with quarantine, retries, timeouts and cancellation, on plugin API (0, 3).
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Guides for incremental models, merge, replace_partitions and schema changes, data quality, and retries, timeouts and cancellation; architecture sections 5, 7, 8, 9, 10, 11, 15 and 16 describe the 0.3 contract as built, and the state-machine diagram shows `retrying -> cancelled`. ADR-0024 and ADR-0026 now say that the polars and pandas engines implement quality, merge and replace_partitions.
|
|
43
|
+
- Cancellation: the first SIGINT or SIGTERM (Ctrl+C or Ctrl+Break on Windows) stops starting units and gives running ones `cancel_grace` to finish; a second signal kills them at once. The run ends `cancelled` with exit code 130, emits `run.cancel_requested`, and unfinished units report PLX104.
|
|
44
|
+
- `run --cancel-grace DURATION` and the `cancel_grace` setting (default 30s); `Project.run(..., control=RunControl())` stops a run from the API.
|
|
45
|
+
- Plugin API (0, 3), ADR-0024: `EngineSession` gains `filter_since(..., inclusive=)`, `evaluate`, `apply_drops`, `align`, `applied_token`, `unit_scope` and `is_transient`; `cancel` becomes active. `WriteConfig` gains `partition_by`, `update_condition`, `deletes`, `columns` and `commit_meta`; `WriteResult` gains `skipped` and `commit_meta`. `EngineCapabilities.quality` marks engines that implement expectations. Plugins built for (0, 2) fail with PLU001.
|
|
46
|
+
- `pipeloom.engine.types`: `DeleteSpec`, `ColumnChange`, `SchemaDiff`, `ExpectationSpec`, `QualityCounts`, `QuarantineMeta`, `DropResult`, `can_widen` and `diff_schemas`. `pipeloom.engine.errors`: `TransientError`, `CommitConflict` and `WriteKeyError`.
|
|
47
|
+
- `pipeloom.testing.reference`: a pure-Python reference for quality counts, drops, merge, replace_partitions and align. The memory engine now implements merge, replace_partitions, quality, cancel and the `incremental` materialization on top of it.
|
|
48
|
+
- `EngineContract` gains the strategy matrix, idempotent replay per strategy, `align`, `filter_since` bounds, `max_value` types, quality counts and drops against the reference, and cancel. `EngineHarness` gains `expr_cases`, `update_condition` and `slow_relation`.
|
|
49
|
+
- Diagnostic PLM206 (write key invalid) is emitted by the runner.
|
|
50
|
+
- Expectations and quarantine, ADR-0028: row checks (not_null, accepted_values, range, regex, expr) warn, drop or fail; aggregate checks (unique, row_count, freshness) warn or fail on the batch. Engines count, the core judges (`pipeloom.quality`). Dropped rows go to `<model>__quarantine` with `_pipeloom_run_id`, `_pipeloom_failed` and `_pipeloom_ts`; `quality.max_drop_ratio` fails a unit that drops too much. The polars and pandas engines declare `quality`. A pandas `expr` or `update_condition` may only use column names, literals and operators: `@name`, calls and attribute access are rejected (PLQ302).
|
|
51
|
+
- `model.quality_evaluated` event, `expectations[]`, `rows_dropped`, `rows_quarantined` and `warnings[]` in `run_results`, and WARN lines on the console. PLQ301, PLQ302, PLP411, PLP412 and PLC510 are active.
|
|
52
|
+
- Schema-change policy, ADR-0026: `write.on_schema_change` (fail, ignore, append_new_columns, sync_all_columns) now applies to append, merge and replace_partitions on an existing target. `pipeloom.runtime.schema_policy.resolve_columns` decides the final schema, the runner aligns the batch and passes it as `WriteConfig.columns`. Overwrite and full refresh replace the schema and report the diff.
|
|
53
|
+
- Event `model.schema_changed` (relation, policy, action, changes), `schema_changes[]` in run_results, a console line, and PLM202 (schema change rejected) is active with a case file.
|
|
54
|
+
- `EngineContract` gains the schema-change policy matrix and `EngineHarness.schema_on_read`; engines that do not read old files through the table schema yet skip the cells that write a changed schema.
|
|
55
|
+
- `pipeloom.engine.portable.rewrite_qualified` and an `inclusive` option on `portable.filter_since`.
|
|
56
|
+
- Filesystem tables v2, ADR-0025: commit files carry per-file row counts and partition values, and a commit takes a lock (30 second lease) and checks an expected version, raising the transient `CommitConflict` on a clash. /1 tables stay readable and upgrade on their next commit.
|
|
57
|
+
- The polars and pandas engines declare `merge` and `replace_partitions`. With `partition_by` every strategy writes one file per partition; replace_partitions swaps files without reading the others; an empty batch still records its token. A merge rewrites the whole table in 0.3.
|
|
58
|
+
- `pipeloom.engine.portable`: `merge_frames`, `replace_partition_frames`, partition value encoding and `empty_like`. `pipeloom.builtins.fs_write` holds the write logic the two engines share, and `FsTable.read_aligned` reads every part file through the commit schema.
|
|
59
|
+
- Incremental models, ADR-0027: `materialized: incremental` runs on the memory, polars and pandas engines. `pipeloom.runtime.incremental` resolves the watermark (seeding it from the target when the state store has none), filters the input with `incremental.lookback` and commits the new watermark after the write with a compare-and-swap. `ctx.is_incremental`, `ctx.watermark` and `ctx.lower_bound` are set for Python models.
|
|
60
|
+
- Retries and timeouts, ADR-0029: `retries`, `retry_delay` and `retry_on` now work. A transient failure (a `TransientError`, a connection or timeout error, or an `OSError` while reading, writing or touching state) moves the unit to RETRYING and runs it again after an exponential backoff with jitter and a cap; `retry_on: any` retries every failure. The scheduler owns retries, with no sleeps (`Executor.wait_any(timeout)`), and `--select unit:...` never retries. Events `unit.retrying` and `unit.timed_out`, a `RETRY` and `TIMEOUT` console line, and `retries_used` in run_results.
|
|
61
|
+
- A unit that exceeds its `timeout` ends TIMED_OUT with PLX102 and its descendants are skipped; it is not retried. The thread executor runs one daemon thread per attempt, cancels the engine work once, keeps the timed_out attempt file and drops the late result; `run.completed` reports `abandoned_threads`. The process executor starts children in their own process group and kills a child that outlives `timeout` plus the cancel grace. `pipeloom.runtime.control` adds `CancelToken` and `RunControl`; `RunOptions` gains `cancel_grace` and `control`; `pipeloom.artifacts.io.write_json_once` makes the first terminal attempt file win.
|
|
62
|
+
- `SimExecutor` takes a script of `SimAttempt` per unit, `cancel_latency` and `stop_at`.
|
|
63
|
+
- A write stores its watermark in the token's commit metadata, and the runner checks the token before reading anything: a retry with the same run id commits the original batch's watermark even when new input arrived. The replay also restores the quality outcome (`expectations`, `rows_dropped`, `rows_quarantined`, `warnings`) without evaluating or quarantining again. Replayed writes emit `model.written` with `skipped: true`.
|
|
64
|
+
- Event `state.watermark_committed`; run_results rows fill `is_incremental`, `watermark_before`, `watermark_after`, `rows_updated`, `rows_deleted` and `target_version`; `warnings[]` records `watermark_seeded: target`.
|
|
65
|
+
- Diagnostics PLM203 (watermark changed while the unit ran), PLM205 (watermark unusable) and PLP410 (append with a lookback) are active, each with a case file.
|
|
66
|
+
- `pipeloom.plan.model.default_strategy`; the sqlite and json state stores treat a stored value equal to `new` and written by the same run as a successful `cas_watermark`, and `StateStoreContract` checks it.
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
|
|
70
|
+
- The release workflow publishes each distribution from its own job and GitHub environment (`pypi` for the core, `pypi-<plugin>` for each plugin), because PyPI accepts only one pending publisher per environment. Plugin jobs run after the core and only when their distribution is in the release.
|
|
71
|
+
|
|
72
|
+
### Fixed
|
|
73
|
+
|
|
74
|
+
- The json state store retries a lease file whose release is still pending on Windows (`PermissionError` from `O_EXCL`) instead of failing the lock or the watermark compare-and-swap.
|
|
75
|
+
|
|
9
76
|
## [0.2.0] - 2026-11-04
|
|
10
77
|
|
|
11
78
|
pipeloom 0.2 runs plans: a scheduler, thread and process executors, polars and pandas engines, a filesystem catalog, state stores and run artifacts.
|
|
@@ -109,7 +176,9 @@ once used it.
|
|
|
109
176
|
- CI, release and docs workflows.
|
|
110
177
|
- Apache-2.0 license, contributing guide, code of conduct, security policy and governance.
|
|
111
178
|
|
|
112
|
-
[Unreleased]: https://github.com/emanuel-luis/pipeloom/compare/v0.
|
|
179
|
+
[Unreleased]: https://github.com/emanuel-luis/pipeloom/compare/v0.4.0...HEAD
|
|
180
|
+
[0.4.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.3.0...v0.4.0
|
|
181
|
+
[0.3.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.2.0...v0.3.0
|
|
113
182
|
[0.2.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.1.0...v0.2.0
|
|
114
183
|
[0.1.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.0.2...v0.1.0
|
|
115
184
|
[0.0.2]: https://github.com/emanuel-luis/pipeloom/releases/tag/v0.0.2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pipeloom
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Declarative, engine-agnostic data pipelines in YAML.
|
|
5
5
|
Project-URL: Repository, https://github.com/emanuel-luis/pipeloom
|
|
6
6
|
Project-URL: Documentation, https://emanuel-luis.github.io/pipeloom/
|
|
@@ -26,9 +26,11 @@ Requires-Dist: pydantic>=2.12
|
|
|
26
26
|
Requires-Dist: pyyaml>=6.0.2
|
|
27
27
|
Requires-Dist: rich>=13.7
|
|
28
28
|
Provides-Extra: pandas
|
|
29
|
-
Requires-Dist: pipeloom-pandas==0.
|
|
29
|
+
Requires-Dist: pipeloom-pandas==0.4.0; extra == 'pandas'
|
|
30
30
|
Provides-Extra: polars
|
|
31
|
-
Requires-Dist: pipeloom-polars==0.
|
|
31
|
+
Requires-Dist: pipeloom-polars==0.4.0; extra == 'polars'
|
|
32
|
+
Provides-Extra: spark
|
|
33
|
+
Requires-Dist: pipeloom-spark[local]==0.4.0; extra == 'spark'
|
|
32
34
|
Provides-Extra: sqlglot
|
|
33
35
|
Requires-Dist: sqlglot>=26; extra == 'sqlglot'
|
|
34
36
|
Description-Content-Type: text/markdown
|
|
@@ -37,9 +39,11 @@ Description-Content-Type: text/markdown
|
|
|
37
39
|
|
|
38
40
|
Declarative, engine-agnostic data pipelines in YAML.
|
|
39
41
|
|
|
40
|
-
pipeloom 0.
|
|
42
|
+
pipeloom 0.3 reads a YAML project, validates it in layers, builds the dependency graph, compiles
|
|
41
43
|
the execution plan into a manifest and runs it on polars or pandas. Every run writes
|
|
42
|
-
`run_results.json` with one row per model.
|
|
44
|
+
`run_results.json` with one row per model. 0.3 adds incremental models, merge and
|
|
45
|
+
replace_partitions writes, schema-change policies, expectations with quarantine, retries,
|
|
46
|
+
timeouts and cancellation.
|
|
43
47
|
|
|
44
48
|
```console
|
|
45
49
|
$ pip install "pipeloom[polars]" # or pipeloom[pandas]
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Declarative, engine-agnostic data pipelines in YAML.
|
|
4
4
|
|
|
5
|
-
pipeloom 0.
|
|
5
|
+
pipeloom 0.3 reads a YAML project, validates it in layers, builds the dependency graph, compiles
|
|
6
6
|
the execution plan into a manifest and runs it on polars or pandas. Every run writes
|
|
7
|
-
`run_results.json` with one row per model.
|
|
7
|
+
`run_results.json` with one row per model. 0.3 adds incremental models, merge and
|
|
8
|
+
replace_partitions writes, schema-change policies, expectations with quarantine, retries,
|
|
9
|
+
timeouts and cancellation.
|
|
8
10
|
|
|
9
11
|
```console
|
|
10
12
|
$ pip install "pipeloom[polars]" # or pipeloom[pandas]
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pipeloom"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.4.0"
|
|
8
8
|
description = "Declarative, engine-agnostic data pipelines in YAML."
|
|
9
9
|
readme = "README.pypi.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -32,8 +32,9 @@ dependencies = [
|
|
|
32
32
|
]
|
|
33
33
|
|
|
34
34
|
[project.optional-dependencies]
|
|
35
|
-
polars = ["pipeloom-polars==0.
|
|
36
|
-
pandas = ["pipeloom-pandas==0.
|
|
35
|
+
polars = ["pipeloom-polars==0.4.0"]
|
|
36
|
+
pandas = ["pipeloom-pandas==0.4.0"]
|
|
37
|
+
spark = ["pipeloom-spark[local]==0.4.0"]
|
|
37
38
|
sqlglot = ["sqlglot>=26"]
|
|
38
39
|
|
|
39
40
|
[project.urls]
|
|
@@ -61,6 +62,7 @@ dev = [
|
|
|
61
62
|
"pyarrow>=26.0.1",
|
|
62
63
|
"sqlglot>=26",
|
|
63
64
|
]
|
|
65
|
+
spark = ["pipeloom-spark[local]"]
|
|
64
66
|
docs = ["mkdocs-material", "mkdocstrings[python]", "mkdocs-click", "mike"]
|
|
65
67
|
|
|
66
68
|
[tool.uv.workspace]
|
|
@@ -69,6 +71,7 @@ members = ["plugins/*"]
|
|
|
69
71
|
[tool.uv.sources]
|
|
70
72
|
pipeloom-polars = { workspace = true }
|
|
71
73
|
pipeloom-pandas = { workspace = true }
|
|
74
|
+
pipeloom-spark = { workspace = true }
|
|
72
75
|
|
|
73
76
|
[tool.hatch.build.targets.wheel]
|
|
74
77
|
packages = ["src/pipeloom"]
|
|
@@ -79,7 +82,13 @@ only-include = ["src", "tests", "CHANGELOG.md"]
|
|
|
79
82
|
[tool.ruff]
|
|
80
83
|
extend-exclude = ["docs"]
|
|
81
84
|
line-length = 100
|
|
82
|
-
src = [
|
|
85
|
+
src = [
|
|
86
|
+
"src",
|
|
87
|
+
"tests",
|
|
88
|
+
"plugins/pipeloom-polars/src",
|
|
89
|
+
"plugins/pipeloom-pandas/src",
|
|
90
|
+
"plugins/pipeloom-spark/src",
|
|
91
|
+
]
|
|
83
92
|
|
|
84
93
|
[tool.ruff.lint]
|
|
85
94
|
extend-select = ["BLE", "I", "UP", "B"]
|
|
@@ -93,17 +102,35 @@ files = [
|
|
|
93
102
|
"plugins/pipeloom-polars/tests",
|
|
94
103
|
"plugins/pipeloom-pandas/src",
|
|
95
104
|
"plugins/pipeloom-pandas/tests",
|
|
105
|
+
"plugins/pipeloom-spark/src",
|
|
106
|
+
"plugins/pipeloom-spark/tests",
|
|
96
107
|
]
|
|
97
108
|
|
|
98
109
|
[[tool.mypy.overrides]]
|
|
99
|
-
|
|
110
|
+
# pyspark is not installed by the default environment (only by the `spark` group).
|
|
111
|
+
module = ["pandas", "pandas.*", "pyarrow", "pyarrow.*", "pyspark", "pyspark.*", "delta", "delta.*", "py4j", "py4j.*"]
|
|
100
112
|
ignore_missing_imports = true
|
|
101
113
|
|
|
102
114
|
[tool.pytest.ini_options]
|
|
103
115
|
addopts = "-ra --strict-markers --strict-config --import-mode=importlib"
|
|
104
116
|
timeout = 60
|
|
105
|
-
testpaths = ["tests", "plugins/pipeloom-polars/tests", "plugins/pipeloom-pandas/tests"]
|
|
117
|
+
testpaths = ["tests", "plugins/pipeloom-polars/tests", "plugins/pipeloom-pandas/tests", "plugins/pipeloom-spark/tests"]
|
|
106
118
|
pythonpath = ["."]
|
|
119
|
+
markers = [
|
|
120
|
+
"spark: needs local Spark (PIPELOOM_TEST_SPARK=classic, Linux or macOS, Java)",
|
|
121
|
+
"spark_connect: needs a local Spark Connect server (PIPELOOM_TEST_SPARK=connect)",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[tool.coverage.run]
|
|
125
|
+
# Directories, never package names: for a package name coverage imports it inside
|
|
126
|
+
# `sys_modules_saved()` whenever `sys.path` changes (CallableLoader does, once per run) and then
|
|
127
|
+
# deletes every module imported meanwhile, which breaks imports in flight on the worker threads.
|
|
128
|
+
source = [
|
|
129
|
+
"src/pipeloom",
|
|
130
|
+
"plugins/pipeloom-polars/src/pipeloom_polars",
|
|
131
|
+
"plugins/pipeloom-pandas/src/pipeloom_pandas",
|
|
132
|
+
"plugins/pipeloom-spark/src/pipeloom_spark",
|
|
133
|
+
]
|
|
107
134
|
|
|
108
135
|
[tool.importlinter]
|
|
109
136
|
root_package = "pipeloom"
|
|
@@ -163,7 +190,7 @@ forbidden_modules = ["pipeloom.testing"]
|
|
|
163
190
|
name = "No dataframe or SQL parsing library in the core"
|
|
164
191
|
type = "forbidden"
|
|
165
192
|
source_modules = ["pipeloom"]
|
|
166
|
-
forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot"]
|
|
193
|
+
forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot", "pyspark", "delta", "py4j"]
|
|
167
194
|
ignore_imports = ["pipeloom.validate.static -> sqlglot"]
|
|
168
195
|
|
|
169
196
|
[[tool.importlinter.contracts]]
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import uuid
|
|
6
|
+
from dataclasses import replace
|
|
6
7
|
from typing import Literal
|
|
7
8
|
|
|
8
9
|
from pipeloom.config.bind import BoundProject, bind_project
|
|
@@ -16,6 +17,7 @@ from pipeloom.plan.compile import compile_plan
|
|
|
16
17
|
from pipeloom.plan.model import Plan
|
|
17
18
|
from pipeloom.platform import Clock, Identity, IdentityProvider, LocalIdentity, SystemClock
|
|
18
19
|
from pipeloom.plugins import PluginRegistry
|
|
20
|
+
from pipeloom.runtime.control import RunControl
|
|
19
21
|
from pipeloom.runtime.run import RunOptions, RunOutcome, execute_run
|
|
20
22
|
from pipeloom.validate import validate_project
|
|
21
23
|
from pipeloom.validate.references import check_references
|
|
@@ -136,12 +138,23 @@ class Project:
|
|
|
136
138
|
self._plans[key] = Outcome(plan, report.sorted())
|
|
137
139
|
return self._plans[key]
|
|
138
140
|
|
|
139
|
-
def run(
|
|
140
|
-
|
|
141
|
+
def run(
|
|
142
|
+
self,
|
|
143
|
+
opts: RunOptions | None = None,
|
|
144
|
+
bus: EventBus | None = None,
|
|
145
|
+
control: RunControl | None = None,
|
|
146
|
+
) -> RunOutcome:
|
|
147
|
+
"""Validate, plan and run the selected units. Events go to `bus`; without one they are dropped.
|
|
148
|
+
|
|
149
|
+
`control.request_stop()` stops the run gracefully from any thread; `hard=True` skips the
|
|
150
|
+
grace period. The outcome is then `cancelled` with exit code 130."""
|
|
151
|
+
opts = opts or RunOptions()
|
|
152
|
+
if control is not None:
|
|
153
|
+
opts = replace(opts, control=control)
|
|
141
154
|
own = bus is None
|
|
142
155
|
events = bus or EventBus([], clock=self.clock, invocation_id=self.invocation_id)
|
|
143
156
|
try:
|
|
144
|
-
return execute_run(self, opts
|
|
157
|
+
return execute_run(self, opts, events)
|
|
145
158
|
finally:
|
|
146
159
|
if own:
|
|
147
160
|
events.close()
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"""Merge the unit attempts of a run into `run_results.json` and publish the run's files."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import json
|
|
6
|
+
import os
|
|
7
|
+
import shutil
|
|
8
|
+
from collections.abc import Collection, Mapping
|
|
9
|
+
from dataclasses import dataclass
|
|
10
|
+
from datetime import UTC, datetime
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
from typing import Any
|
|
13
|
+
|
|
14
|
+
from pipeloom.artifacts.io import write_json_atomic
|
|
15
|
+
from pipeloom.artifacts.layout import RunPaths
|
|
16
|
+
from pipeloom.artifacts.results import (
|
|
17
|
+
RunHeader,
|
|
18
|
+
RunStatusName,
|
|
19
|
+
build_run_results,
|
|
20
|
+
result_row,
|
|
21
|
+
status_of,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@dataclass(frozen=True)
|
|
26
|
+
class Finalized:
|
|
27
|
+
run_results: dict[str, Any]
|
|
28
|
+
written: tuple[Path, ...]
|
|
29
|
+
"""The run's `run_results.json` and the copies under the artifacts root."""
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def latest_attempts(paths: RunPaths) -> dict[str, dict[str, Any]]:
|
|
33
|
+
"""The newest attempt file of every unit in the run folder."""
|
|
34
|
+
out: dict[str, dict[str, Any]] = {}
|
|
35
|
+
if not paths.units_dir.is_dir():
|
|
36
|
+
return out
|
|
37
|
+
for folder in sorted(paths.units_dir.iterdir(), key=lambda p: p.name):
|
|
38
|
+
numbers = paths.attempt_numbers(folder.name)
|
|
39
|
+
if numbers:
|
|
40
|
+
raw = paths.attempt(folder.name, numbers[-1]).read_bytes().decode("utf-8")
|
|
41
|
+
out[folder.name] = json.loads(raw)
|
|
42
|
+
return out
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
_HOUR = 3600.0
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def _newest_mtime(folder: Path) -> datetime:
|
|
49
|
+
"""The newest modification time of a folder and everything under it."""
|
|
50
|
+
newest = folder.stat().st_mtime
|
|
51
|
+
for dirpath, dirnames, filenames in os.walk(folder):
|
|
52
|
+
for name in (*dirnames, *filenames):
|
|
53
|
+
try:
|
|
54
|
+
newest = max(newest, os.stat(os.path.join(dirpath, name)).st_mtime)
|
|
55
|
+
except OSError:
|
|
56
|
+
continue # removed while we looked
|
|
57
|
+
return datetime.fromtimestamp(newest, UTC)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def _recorded(run_dir: Path) -> tuple[datetime | None, float | None]:
|
|
61
|
+
"""`ended_at` and `intermediate_ttl` of the run's `run_results.json`, None where absent."""
|
|
62
|
+
try:
|
|
63
|
+
run = json.loads((run_dir / "run_results.json").read_bytes().decode("utf-8"))["run"]
|
|
64
|
+
parsed = datetime.fromisoformat(run["ended_at"])
|
|
65
|
+
ttl = run.get("intermediate_ttl")
|
|
66
|
+
return (
|
|
67
|
+
parsed if parsed.tzinfo is not None else None,
|
|
68
|
+
float(ttl) if isinstance(ttl, int | float) else None,
|
|
69
|
+
)
|
|
70
|
+
except (OSError, ValueError, KeyError, TypeError):
|
|
71
|
+
return None, None
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def _resumed(run_dir: Path) -> bool:
|
|
75
|
+
"""The manifest is newer than the results: a later invocation of the run is in progress."""
|
|
76
|
+
try:
|
|
77
|
+
return (run_dir / "manifest.json").stat().st_mtime > (
|
|
78
|
+
run_dir / "run_results.json"
|
|
79
|
+
).stat().st_mtime
|
|
80
|
+
except OSError:
|
|
81
|
+
return False
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def cleanup_intermediates(
|
|
85
|
+
root: Path, *, now: datetime, ttl: float, run_id: str, status: RunStatusName
|
|
86
|
+
) -> list[str]:
|
|
87
|
+
"""Delete the `runs/<id>/intermediate/` folders that nobody needs any more.
|
|
88
|
+
|
|
89
|
+
The current run's folder goes only when `ttl` is 0 and the run succeeded. Another run is
|
|
90
|
+
judged by the TTL it recorded in its own `run_results.json` (a TTL of 0 there counts as one
|
|
91
|
+
hour, since only a failed run is left with data; `ttl` stands in when none is recorded),
|
|
92
|
+
against its last activity: the newest of its `ended_at` and the newest modification time
|
|
93
|
+
under its run folder (the manifest is rewritten at each start, events grow during a run).
|
|
94
|
+
A run without `run_results.json`, or whose manifest is newer than its results (resumed, so
|
|
95
|
+
its recorded `ended_at` is stale), is still running or crashed: it keeps its folder until
|
|
96
|
+
it has been idle for `max(ttl, 1h)`. A missing folder
|
|
97
|
+
is fine. Returns one warning per folder that could not be deleted; a deletion error never
|
|
98
|
+
fails the run.
|
|
99
|
+
"""
|
|
100
|
+
runs = root / "runs"
|
|
101
|
+
if not runs.is_dir():
|
|
102
|
+
return []
|
|
103
|
+
warnings: list[str] = []
|
|
104
|
+
for run_dir in sorted(runs.iterdir(), key=lambda p: p.name):
|
|
105
|
+
folder = run_dir / "intermediate"
|
|
106
|
+
if not folder.is_dir():
|
|
107
|
+
continue
|
|
108
|
+
try:
|
|
109
|
+
if run_dir.name == run_id:
|
|
110
|
+
expired = ttl == 0 and status == "succeeded"
|
|
111
|
+
else:
|
|
112
|
+
ended, own = _recorded(run_dir)
|
|
113
|
+
active = _newest_mtime(run_dir) # manifest, events and attempts count too
|
|
114
|
+
if ended is None or _resumed(run_dir):
|
|
115
|
+
limit = max(ttl, _HOUR)
|
|
116
|
+
else:
|
|
117
|
+
active = max(active, ended)
|
|
118
|
+
limit = ttl if own is None else own
|
|
119
|
+
limit = limit if limit > 0 else _HOUR
|
|
120
|
+
expired = (now - active).total_seconds() > limit
|
|
121
|
+
if expired:
|
|
122
|
+
shutil.rmtree(folder)
|
|
123
|
+
except OSError as exc:
|
|
124
|
+
warnings.append(f"intermediate_cleanup_failed: {run_dir.name}: {exc}")
|
|
125
|
+
return warnings
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def finalize(
|
|
129
|
+
paths: RunPaths,
|
|
130
|
+
header: RunHeader,
|
|
131
|
+
*,
|
|
132
|
+
unit_nodes: Mapping[str, str],
|
|
133
|
+
skipped: Mapping[str, tuple[str, str | None]],
|
|
134
|
+
cancelled: Collection[str],
|
|
135
|
+
unfinished: Collection[str] = (),
|
|
136
|
+
crashed: Mapping[str, dict[str, Any]] | None = None,
|
|
137
|
+
timed_out: Mapping[str, tuple[int, dict[str, Any]]] | None = None,
|
|
138
|
+
intermediate_ttl: float | None = None,
|
|
139
|
+
) -> Finalized:
|
|
140
|
+
"""Write `run_results.json` into the run folder and copy it, with the manifest, to the root.
|
|
141
|
+
|
|
142
|
+
`unit_nodes` maps unit id to the unique id of its persisted model. A skipped or cancelled
|
|
143
|
+
verdict of this invocation wins over an attempt file; every other unit uses its newest
|
|
144
|
+
attempt, including units of earlier invocations that reused the run id. A scheduler
|
|
145
|
+
`timed_out` verdict (attempt number and error) also wins over a result written later;
|
|
146
|
+
the late status goes to `warnings` as `late_result: <status>`. `unfinished` units
|
|
147
|
+
(an internal error stopped the run) are reported as cancelled. `crashed` rows replace the
|
|
148
|
+
attempt of a unit whose runner failed before it could write one. With `intermediate_ttl`
|
|
149
|
+
the run also deletes expired intermediates; failures go to the run's `warnings`.
|
|
150
|
+
"""
|
|
151
|
+
rows = latest_attempts(paths)
|
|
152
|
+
for unit_id, (reason, _upstream) in skipped.items():
|
|
153
|
+
rows[unit_id] = result_row(
|
|
154
|
+
unique_id=unit_nodes[unit_id], unit_id=unit_id, status="skipped", skip_reason=reason
|
|
155
|
+
)
|
|
156
|
+
for unit_id in (*cancelled, *unfinished):
|
|
157
|
+
rows[unit_id] = result_row(
|
|
158
|
+
unique_id=unit_nodes[unit_id], unit_id=unit_id, status="cancelled"
|
|
159
|
+
)
|
|
160
|
+
for unit_id, (attempt, error) in (timed_out or {}).items():
|
|
161
|
+
late = rows.get(unit_id)
|
|
162
|
+
if late is not None and late["status"] == "timed_out":
|
|
163
|
+
continue # the owner already recorded it
|
|
164
|
+
warnings = [] if late is None else [f"late_result: {late['status']}"]
|
|
165
|
+
rows[unit_id] = result_row(
|
|
166
|
+
unique_id=unit_nodes[unit_id],
|
|
167
|
+
unit_id=unit_id,
|
|
168
|
+
status="timed_out",
|
|
169
|
+
attempt=attempt,
|
|
170
|
+
error=error,
|
|
171
|
+
warnings=warnings,
|
|
172
|
+
)
|
|
173
|
+
rows.update(crashed or {})
|
|
174
|
+
cleanup_warnings: list[str] = []
|
|
175
|
+
if intermediate_ttl is not None:
|
|
176
|
+
status = status_of(list(rows.values()))
|
|
177
|
+
cleanup_warnings = cleanup_intermediates(
|
|
178
|
+
paths.root,
|
|
179
|
+
now=datetime.fromisoformat(header.ended_at),
|
|
180
|
+
ttl=intermediate_ttl,
|
|
181
|
+
run_id=header.run_id,
|
|
182
|
+
status=status,
|
|
183
|
+
)
|
|
184
|
+
results = build_run_results(header, list(rows.values()), cleanup_warnings, intermediate_ttl)
|
|
185
|
+
write_json_atomic(paths.run_results, results)
|
|
186
|
+
written = [paths.run_results]
|
|
187
|
+
if paths.manifest.is_file():
|
|
188
|
+
for src in (paths.manifest, paths.run_results):
|
|
189
|
+
dest = paths.root / src.name
|
|
190
|
+
tmp = dest.with_name(f"{dest.name}.copy.tmp")
|
|
191
|
+
shutil.copyfile(src, tmp)
|
|
192
|
+
tmp.replace(dest)
|
|
193
|
+
written.append(dest)
|
|
194
|
+
return Finalized(results, tuple(written))
|
|
@@ -38,3 +38,26 @@ def write_json_atomic(path: Path, data: Any) -> int:
|
|
|
38
38
|
tmp.unlink(missing_ok=True)
|
|
39
39
|
raise
|
|
40
40
|
return len(content)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def write_json_once(path: Path, data: Any) -> bool:
|
|
44
|
+
"""Create `path` with `data` unless it exists; True when this call created it.
|
|
45
|
+
|
|
46
|
+
The first terminal attempt file wins: the content goes to a temp file, which is then linked
|
|
47
|
+
(POSIX) or renamed (Windows) to `path`. Both fail when `path` exists, and the temp file is
|
|
48
|
+
removed either way.
|
|
49
|
+
"""
|
|
50
|
+
content = json_bytes(data)
|
|
51
|
+
path.parent.mkdir(parents=True, exist_ok=True)
|
|
52
|
+
tmp = path.with_name(f"{path.name}.{uuid.uuid4().hex}.tmp")
|
|
53
|
+
tmp.write_bytes(content)
|
|
54
|
+
try:
|
|
55
|
+
if sys.platform == "win32":
|
|
56
|
+
os.rename(tmp, path)
|
|
57
|
+
else:
|
|
58
|
+
os.link(tmp, path)
|
|
59
|
+
except FileExistsError:
|
|
60
|
+
return False
|
|
61
|
+
finally:
|
|
62
|
+
tmp.unlink(missing_ok=True)
|
|
63
|
+
return True
|
|
@@ -144,7 +144,12 @@ class RunHeader:
|
|
|
144
144
|
git_sha: str | None
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
def build_run_results(
|
|
147
|
+
def build_run_results(
|
|
148
|
+
header: RunHeader,
|
|
149
|
+
rows: Sequence[dict[str, Any]],
|
|
150
|
+
warnings: Sequence[str] = (),
|
|
151
|
+
intermediate_ttl: float | None = None,
|
|
152
|
+
) -> dict[str, Any]:
|
|
148
153
|
ordered = sorted(rows, key=lambda r: str(r["unit_id"]))
|
|
149
154
|
status = status_of(ordered)
|
|
150
155
|
h = header
|
|
@@ -178,6 +183,8 @@ def build_run_results(header: RunHeader, rows: Sequence[dict[str, Any]]) -> dict
|
|
|
178
183
|
"python_version": h.python_version,
|
|
179
184
|
"git_sha": h.git_sha,
|
|
180
185
|
"exit_code": exit_code_of(status),
|
|
186
|
+
"intermediate_ttl": intermediate_ttl,
|
|
187
|
+
"warnings": list(warnings),
|
|
181
188
|
},
|
|
182
189
|
"results": ordered,
|
|
183
190
|
}
|
|
@@ -10,7 +10,7 @@ from pydantic import Field
|
|
|
10
10
|
from pipeloom.builtins.fs_table import FsTable
|
|
11
11
|
from pipeloom.config.types import ProjectPath
|
|
12
12
|
from pipeloom.engine.protocols import Catalog
|
|
13
|
-
from pipeloom.engine.types import Namespace, Schema, TargetRef
|
|
13
|
+
from pipeloom.engine.types import CatalogCapabilities, Namespace, Schema, TargetRef
|
|
14
14
|
from pipeloom.platform import Clock, SystemClock
|
|
15
15
|
from pipeloom.plugins import API_VERSION, OptionsModel, PluginSpec
|
|
16
16
|
|
|
@@ -70,5 +70,6 @@ SPEC: PluginSpec[Catalog] = PluginSpec(
|
|
|
70
70
|
_build,
|
|
71
71
|
FilesystemOptions,
|
|
72
72
|
compatible_engines=frozenset({"polars", "pandas"}),
|
|
73
|
+
capabilities=CatalogCapabilities(views=True),
|
|
73
74
|
description="Tables as part files under a directory, committed atomically.",
|
|
74
75
|
)
|