pipeloom 0.3.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.3.0 → pipeloom-0.4.0}/CHANGELOG.md +29 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/PKG-INFO +5 -3
- {pipeloom-0.3.0 → pipeloom-0.4.0}/pyproject.toml +24 -7
- pipeloom-0.4.0/src/pipeloom/artifacts/finalize.py +194 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/results.py +8 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/filesystem.py +2 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/run.py +33 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/models.py +3 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/diagnostics/codes.py +30 -2
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/errors.py +6 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/protocols.py +6 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/types.py +24 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plugins/__init__.py +3 -3
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/context.py +5 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/retry.py +3 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/run.py +67 -22
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/runner.py +115 -13
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/engine.py +63 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/state.py +5 -3
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/memory.py +46 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/capabilities.py +12 -2
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/semantics.py +12 -0
- pipeloom-0.4.0/tests/artifacts/test_intermediate_ttl.py +180 -0
- pipeloom-0.4.0/tests/cases/PLC509.yml +15 -0
- pipeloom-0.4.0/tests/cases/PLM207.yml +14 -0
- pipeloom-0.3.0/tests/cases/PLC509.yml → pipeloom-0.4.0/tests/cases/PLP413.yml +4 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLU001.yml +1 -1
- pipeloom-0.4.0/tests/cases/PLX108.yml +14 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_cases.py +20 -0
- {pipeloom-0.3.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/PLM207.json +18 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLM207.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.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU001.json +4 -4
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU001.txt +1 -1
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX108.json +13 -0
- pipeloom-0.4.0/tests/goldens/diagnostics/PLX108.txt +2 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/run_results/shop.json +3 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/project.json +15 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/project.plugins.json +15 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/fakes.py +14 -2
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/test_registry.py +7 -7
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/fakes.py +42 -2
- pipeloom-0.4.0/tests/runtime/test_api04.py +278 -0
- pipeloom-0.4.0/tests/runtime/test_intermediate.py +130 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_catalog.py +2 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_plugins.py +3 -3
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_run.py +41 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_engine_types.py +1 -1
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_versions.py +17 -0
- pipeloom-0.4.0/tests/validate/test_catalog_caps.py +36 -0
- pipeloom-0.3.0/src/pipeloom/artifacts/finalize.py +0 -91
- pipeloom-0.3.0/tests/goldens/diagnostics/PLC509.txt +0 -2
- {pipeloom-0.3.0 → pipeloom-0.4.0}/.gitignore +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/LICENSE +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/NOTICE +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/README.pypi.md +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/__main__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/api.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/io.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/layout.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/fs_table.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/fs_write.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/naming.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/secrets_env.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_events.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_options.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_select.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_signals.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/compile.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/graph.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/ls.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/plugins.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/schema.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/validate.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/bind.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/discover.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/errors.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/load.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/resolve.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/schema.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/types.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/yaml.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/diagnostics/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/portable.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/bus.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/model.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/buffered.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/console.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/jsonl.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/runfile.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/graph/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/graph/dag.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/graph/selectors.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/compile.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/manifest.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/model.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/units.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/platform.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plugins/builtin.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/py.typed +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/judge.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/quarantine.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/specs.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/control.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/errors.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/executors/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/executors/process.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/executors/thread.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/incremental.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/loader.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/memo.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/scheduler.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/schema_policy.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/states.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/secrets/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/secrets/interpolation.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/secrets/redaction.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/codec.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/jsondir.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/lease.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/sqlite.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/types.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/clock.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/recording.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/reference.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/sim.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/references.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/static.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/artifacts/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/artifacts/test_artifacts.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC501.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC502.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC503.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC504.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC505.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC506.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC507.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC508.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC510.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLE401.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG301.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG302.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG303.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG304.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG305.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG306.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK601.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK602.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK603.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK604.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK605.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM201.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM202.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM203.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM204.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM205.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM206.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP401.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP402.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP403.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP404.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP405.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP406.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP407.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP408.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP409.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP410.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP411.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP412.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLQ301.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLQ302.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR201.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR202.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR203.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR204.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR205.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR206.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR207.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS101.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS102.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS103.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS104.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS105.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS106.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS107.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS108.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLU002.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLU003.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX101.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX102.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX103.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX104.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX105.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX106.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX107.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY001.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY002.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY003.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY004.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_bind.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_errors.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_interpolation.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_load.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_models.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_resolve.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_schema.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_yaml.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/conftest.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/fakes.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_bus.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_console_run.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_model.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_redaction.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_sinks.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/minimal/models/_defaults.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/minimal/models/staging/orders.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/minimal/pipeloom.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/models/models.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/models/sources.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/pipeloom.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/raw/orders.csv +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/src/quality/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/src/quality/models.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/marts/marts.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/_defaults.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/sources.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/stg.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/pipeloom.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/enrich.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/marts.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/models/models.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/models/sources.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/pipeloom.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/raw/customers.csv +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/raw/orders.csv +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/src/smoke/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/src/smoke/models.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/models/models.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/models/sources.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/pipeloom.yml +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/raw/customers.csv +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/raw/orders.csv +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/src/smoke/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/src/smoke/models.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC501.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC501.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC502.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC502.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC503.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC503.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC504.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC504.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC505.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC505.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC506.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC506.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC507.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC507.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC508.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC508.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC510.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC510.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLE401.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLE401.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG301.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG301.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG302.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG302.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG303.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG303.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG304.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG304.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG305.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG305.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG306.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG306.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK601.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK601.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK602.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK602.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK603.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK603.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK604.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK604.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK605.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK605.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM201.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM201.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM202.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM202.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM203.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM203.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM204.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM204.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM205.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM205.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM206.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM206.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP401.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP401.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP402.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP402.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP403.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP403.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP404.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP404.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP405.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP405.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP406.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP406.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP407.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP407.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP408.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP408.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP409.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP409.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP410.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP410.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP411.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP411.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP412.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP412.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ301.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ301.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ302.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ302.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR201.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR201.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR202.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR202.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR203.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR203.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR204.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR204.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR205.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR205.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR206.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR206.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR207.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR207.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS101.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS101.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS102.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS102.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS103.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS103.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS104.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS104.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS105.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS105.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS106.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS106.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS107.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS107.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS108.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS108.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU002.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU002.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU003.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU003.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX101.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX101.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX102.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX102.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX103.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX103.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX104.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX104.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX105.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX105.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX106.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX106.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX107.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX107.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY001.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY001.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY002.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY002.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY003.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY003.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY004.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY004.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console_run.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console_unit.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console_warn.txt +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/model_schema_changed.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/graph/small.dot +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/graph/small.mmd +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/manifest/shop-ci.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/run_results/quality.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/defaults.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/models.json +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/test_dag.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/test_selectors.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/test_unit_selector.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plan/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plan/test_plan.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/test_builtins.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/test_memory.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_cancel.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_frame_api.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_incremental.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_process.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_quality.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_retries_sim.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_retry.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_run_control.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_runner.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_scheduler.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_schema_policy.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_support.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_timeouts.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/state/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/state/test_stores.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_compile.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_events.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_select.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_validate.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_coverage_config.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_diagnostics.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_docs_hooks.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_engine_contract.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_fs_table.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_fs_write.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_platform.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_portable.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_version.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/testing/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/testing/test_reference.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/validate/__init__.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/validate/test_sql_check.py +0 -0
- {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/validate/test_validate.py +0 -0
|
@@ -6,6 +6,33 @@ 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
|
+
|
|
9
36
|
## [0.3.0] - 2026-11-04
|
|
10
37
|
|
|
11
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).
|
|
@@ -149,7 +176,8 @@ once used it.
|
|
|
149
176
|
- CI, release and docs workflows.
|
|
150
177
|
- Apache-2.0 license, contributing guide, code of conduct, security policy and governance.
|
|
151
178
|
|
|
152
|
-
[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
|
|
153
181
|
[0.3.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.2.0...v0.3.0
|
|
154
182
|
[0.2.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.1.0...v0.2.0
|
|
155
183
|
[0.1.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.0.2...v0.1.0
|
|
@@ -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
|
|
@@ -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,24 @@ 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
|
+
]
|
|
107
123
|
|
|
108
124
|
[tool.coverage.run]
|
|
109
125
|
# Directories, never package names: for a package name coverage imports it inside
|
|
@@ -113,6 +129,7 @@ source = [
|
|
|
113
129
|
"src/pipeloom",
|
|
114
130
|
"plugins/pipeloom-polars/src/pipeloom_polars",
|
|
115
131
|
"plugins/pipeloom-pandas/src/pipeloom_pandas",
|
|
132
|
+
"plugins/pipeloom-spark/src/pipeloom_spark",
|
|
116
133
|
]
|
|
117
134
|
|
|
118
135
|
[tool.importlinter]
|
|
@@ -173,7 +190,7 @@ forbidden_modules = ["pipeloom.testing"]
|
|
|
173
190
|
name = "No dataframe or SQL parsing library in the core"
|
|
174
191
|
type = "forbidden"
|
|
175
192
|
source_modules = ["pipeloom"]
|
|
176
|
-
forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot"]
|
|
193
|
+
forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot", "pyspark", "delta", "py4j"]
|
|
177
194
|
ignore_imports = ["pipeloom.validate.static -> sqlglot"]
|
|
178
195
|
|
|
179
196
|
[[tool.importlinter.contracts]]
|
|
@@ -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))
|
|
@@ -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
|
)
|
|
@@ -4,6 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import os
|
|
6
6
|
import re
|
|
7
|
+
from datetime import datetime
|
|
7
8
|
from pathlib import Path
|
|
8
9
|
from typing import Any, Literal, cast
|
|
9
10
|
|
|
@@ -60,6 +61,24 @@ def _run_id(ctx: click.Context, param: click.Parameter, value: str | None) -> st
|
|
|
60
61
|
return value
|
|
61
62
|
|
|
62
63
|
|
|
64
|
+
def _started_at(ctx: click.Context, param: click.Parameter, value: str | None) -> datetime | None:
|
|
65
|
+
if not value:
|
|
66
|
+
return None
|
|
67
|
+
try:
|
|
68
|
+
parsed = datetime.fromisoformat(value)
|
|
69
|
+
except ValueError as err:
|
|
70
|
+
raise click.BadParameter(
|
|
71
|
+
f"'{value}' is not an ISO 8601 timestamp", ctx=ctx, param=param
|
|
72
|
+
) from err
|
|
73
|
+
if parsed.tzinfo is None or parsed.utcoffset() is None:
|
|
74
|
+
raise click.BadParameter(
|
|
75
|
+
f"'{value}' has no UTC offset; write it as 2026-11-04T09:30:00Z or with +HH:MM",
|
|
76
|
+
ctx=ctx,
|
|
77
|
+
param=param,
|
|
78
|
+
)
|
|
79
|
+
return parsed
|
|
80
|
+
|
|
81
|
+
|
|
63
82
|
@click.command()
|
|
64
83
|
@project_options
|
|
65
84
|
@target_option
|
|
@@ -94,6 +113,16 @@ def _run_id(ctx: click.Context, param: click.Parameter, value: str | None) -> st
|
|
|
94
113
|
show_default=True,
|
|
95
114
|
help="Rebuild append tables from scratch. Takes an optional true or false.",
|
|
96
115
|
)
|
|
116
|
+
@click.option(
|
|
117
|
+
"--run-started-at",
|
|
118
|
+
envvar="PIPELOOM_RUN_STARTED_AT",
|
|
119
|
+
callback=_started_at,
|
|
120
|
+
default=None,
|
|
121
|
+
metavar="ISO8601",
|
|
122
|
+
help="Start time of the run, with a UTC offset (for example the start of the orchestrator "
|
|
123
|
+
"job). Engines use it to make writes idempotent. Needs --run-id. A reused run id keeps "
|
|
124
|
+
"the start it recorded.",
|
|
125
|
+
)
|
|
97
126
|
@click.option("--fail-fast", is_flag=True, help="After the first failure, start no more units.")
|
|
98
127
|
@click.option("--no-lock", is_flag=True, help="Do not take the run lock.")
|
|
99
128
|
@click.option(
|
|
@@ -130,6 +159,7 @@ def run(
|
|
|
130
159
|
manifest: Path | None,
|
|
131
160
|
expect_plan_hash: str | None,
|
|
132
161
|
run_id: str | None,
|
|
162
|
+
run_started_at: datetime | None,
|
|
133
163
|
full_refresh: bool,
|
|
134
164
|
fail_fast: bool,
|
|
135
165
|
no_lock: bool,
|
|
@@ -146,6 +176,8 @@ def run(
|
|
|
146
176
|
`-s unit:NAME` runs one unit without a lock or run results, and never retries it; the
|
|
147
177
|
process executor uses it.
|
|
148
178
|
"""
|
|
179
|
+
if run_started_at is not None and run_id is None:
|
|
180
|
+
raise click.UsageError("--run-started-at needs --run-id")
|
|
149
181
|
chosen = cast("Literal['process', 'task'] | None", boundary)
|
|
150
182
|
if manifest is not None and chosen is not None:
|
|
151
183
|
plan = read_manifest(manifest, Report())
|
|
@@ -190,6 +222,7 @@ def run(
|
|
|
190
222
|
manifest=manifest,
|
|
191
223
|
expect_plan_hash=expect_plan_hash,
|
|
192
224
|
run_id=run_id,
|
|
225
|
+
run_started_at=run_started_at,
|
|
193
226
|
full_refresh=full_refresh,
|
|
194
227
|
fail_fast=fail_fast,
|
|
195
228
|
lock=not no_lock,
|
|
@@ -64,6 +64,9 @@ class SinkBlock(PluginBlock):
|
|
|
64
64
|
class ArtifactsConfig(_Model):
|
|
65
65
|
root: str | None = None
|
|
66
66
|
"""Directory or volume path where artifacts are written."""
|
|
67
|
+
intermediate_ttl: Duration = 86400
|
|
68
|
+
"""How long the persisted results of `intermediate` models are kept after their run ended.
|
|
69
|
+
0 deletes them when a run succeeds. Default 1d."""
|
|
67
70
|
|
|
68
71
|
|
|
69
72
|
class RuntimeSettings(_Model):
|
|
@@ -358,7 +358,7 @@ _ACTIVE_02: Final = (
|
|
|
358
358
|
"PLC509",
|
|
359
359
|
E,
|
|
360
360
|
"Materialization unsupported by engine",
|
|
361
|
-
"The materialization is not in the selected engine's capabilities.
|
|
361
|
+
"The materialization is not in the selected engine's capabilities.",
|
|
362
362
|
),
|
|
363
363
|
(
|
|
364
364
|
"PLP409",
|
|
@@ -478,6 +478,12 @@ _ACTIVE_03: Final = (
|
|
|
478
478
|
"Quarantine relation collides with a model",
|
|
479
479
|
"A model's quarantine table is named <model>__quarantine, and another model already has that name in the same schema.",
|
|
480
480
|
),
|
|
481
|
+
(
|
|
482
|
+
"PLP413",
|
|
483
|
+
E,
|
|
484
|
+
"Intermediate model with a write option",
|
|
485
|
+
"An intermediate model is rewritten whole at a location of its own. It cannot be incremental, use a strategy other than overwrite, or set partition_by.",
|
|
486
|
+
),
|
|
481
487
|
(
|
|
482
488
|
"PLC510",
|
|
483
489
|
E,
|
|
@@ -487,6 +493,23 @@ _ACTIVE_03: Final = (
|
|
|
487
493
|
)
|
|
488
494
|
|
|
489
495
|
|
|
496
|
+
# Active since 0.4.
|
|
497
|
+
_ACTIVE_04: Final = (
|
|
498
|
+
(
|
|
499
|
+
"PLX108",
|
|
500
|
+
E,
|
|
501
|
+
"Run start time conflict",
|
|
502
|
+
"--run-started-at differs from the start the run recorded when it first ran. A reused run id keeps its recorded start. Exit code 2.",
|
|
503
|
+
),
|
|
504
|
+
(
|
|
505
|
+
"PLM207",
|
|
506
|
+
E,
|
|
507
|
+
"Write refused by the idempotency guard",
|
|
508
|
+
"The engine skipped the write because this model already has a later transaction version: a newer run, an overlapping run started with --no-lock, or a host clock that ran behind. The engine refuses before it changes any data. Wait for the other run, check the clocks, or turn the guard off in the engine options.",
|
|
509
|
+
),
|
|
510
|
+
)
|
|
511
|
+
|
|
512
|
+
|
|
490
513
|
# Reserved: in the catalog, not emitted yet. (code, severity, title, since)
|
|
491
514
|
_RESERVED: Final = (
|
|
492
515
|
("PLF701", E, "Engine unreachable", "0.2"),
|
|
@@ -500,7 +523,12 @@ _RESERVED: Final = (
|
|
|
500
523
|
|
|
501
524
|
def _build() -> Mapping[str, CodeInfo]:
|
|
502
525
|
out: dict[str, CodeInfo] = {}
|
|
503
|
-
for since, table in (
|
|
526
|
+
for since, table in (
|
|
527
|
+
("0.1", _ACTIVE),
|
|
528
|
+
("0.2", _ACTIVE_02),
|
|
529
|
+
("0.3", _ACTIVE_03),
|
|
530
|
+
("0.4", _ACTIVE_04),
|
|
531
|
+
):
|
|
504
532
|
for code, sev, title, expl in table:
|
|
505
533
|
out[code] = CodeInfo(code, _PREFIX_LAYER[code[:3]], sev, title, expl, "active", since)
|
|
506
534
|
for code, sev, title, since in _RESERVED:
|
|
@@ -11,6 +11,12 @@ class CommitConflict(TransientError):
|
|
|
11
11
|
"""A table changed between the read and the commit (expected-version mismatch)."""
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
class WriteRefusedError(RuntimeError):
|
|
15
|
+
"""The engine's idempotency guard refused a write that no earlier attempt applied: a later
|
|
16
|
+
transaction version of the same writer already exists (a newer run, an overlapping run, or
|
|
17
|
+
clock skew). An engine raises it before it changes any data. The core reports it as PLM207."""
|
|
18
|
+
|
|
19
|
+
|
|
14
20
|
class WriteKeyError(ValueError):
|
|
15
21
|
"""A write key is unusable: a `unique_key` or `partition_by` column is missing, or a merge
|
|
16
22
|
batch repeats a key. The core reports it as PLM206."""
|
|
@@ -10,6 +10,7 @@ from pipeloom.engine.types import (
|
|
|
10
10
|
DropResult,
|
|
11
11
|
EngineCapabilities,
|
|
12
12
|
ExpectationSpec,
|
|
13
|
+
IntermediateRef,
|
|
13
14
|
Namespace,
|
|
14
15
|
QualityCounts,
|
|
15
16
|
QuarantineMeta,
|
|
@@ -79,6 +80,11 @@ class EngineSession(Protocol):
|
|
|
79
80
|
"""Create or replace a catalog view over `inputs`, which `query` names by alias."""
|
|
80
81
|
...
|
|
81
82
|
|
|
83
|
+
def write_intermediate(self, rel: Relation, ref: IntermediateRef, token: str) -> WriteResult:
|
|
84
|
+
"""Persist `rel` at `ref.location`, overwriting; repeating `token` must not write twice.
|
|
85
|
+
Needs the `intermediate` materialization."""
|
|
86
|
+
...
|
|
87
|
+
|
|
82
88
|
def max_value(self, rel: Relation, column: str) -> Any:
|
|
83
89
|
"""The maximum as a plain Python value (never numpy or pandas); None when empty."""
|
|
84
90
|
...
|
|
@@ -55,6 +55,26 @@ class StateStoreCapabilities:
|
|
|
55
55
|
"""Visible to every process and task of a run."""
|
|
56
56
|
|
|
57
57
|
|
|
58
|
+
@dataclass(frozen=True)
|
|
59
|
+
class CatalogCapabilities:
|
|
60
|
+
"""What a catalog can do. Static data: L5 reads it without importing the catalog."""
|
|
61
|
+
|
|
62
|
+
views: bool = True
|
|
63
|
+
"""The catalog can hold views (PLC507 otherwise)."""
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@dataclass(frozen=True)
|
|
67
|
+
class IntermediateRef:
|
|
68
|
+
"""Where a run keeps the persisted result of an `intermediate` model."""
|
|
69
|
+
|
|
70
|
+
run_id: str
|
|
71
|
+
model: str
|
|
72
|
+
location: str
|
|
73
|
+
"""Absolute POSIX path or URI. `ReadSpec(format="intermediate", location=...)` reads it."""
|
|
74
|
+
run_started_at: datetime | None = None
|
|
75
|
+
"""The run's start (UTC), for an engine that needs a stable write version."""
|
|
76
|
+
|
|
77
|
+
|
|
58
78
|
@dataclass(frozen=True)
|
|
59
79
|
class Namespace:
|
|
60
80
|
catalog: str | None
|
|
@@ -109,6 +129,10 @@ class WriteConfig:
|
|
|
109
129
|
options: Mapping[str, JsonValue] = field(default_factory=dict)
|
|
110
130
|
commit_meta: Mapping[str, JsonValue] = field(default_factory=dict)
|
|
111
131
|
"""Stored with the idempotency token and echoed when the token is replayed."""
|
|
132
|
+
run_started_at: datetime | None = None
|
|
133
|
+
"""The run's start (UTC), filled by the runner. An engine that needs a stable write version
|
|
134
|
+
(a Delta `txnVersion`) reads it here, never from the session context: the session opens
|
|
135
|
+
before the start time is resolved."""
|
|
112
136
|
|
|
113
137
|
|
|
114
138
|
@dataclass(frozen=True)
|
|
@@ -20,9 +20,9 @@ from typing import Any, Final, Generic, Literal, TypeVar, get_args
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict
|
|
21
21
|
|
|
22
22
|
from pipeloom.diagnostics import Location, Report
|
|
23
|
-
from pipeloom.engine.types import EngineCapabilities, StateStoreCapabilities
|
|
23
|
+
from pipeloom.engine.types import CatalogCapabilities, EngineCapabilities, StateStoreCapabilities
|
|
24
24
|
|
|
25
|
-
API_VERSION: Final = (0,
|
|
25
|
+
API_VERSION: Final = (0, 4)
|
|
26
26
|
|
|
27
27
|
Group = Literal[
|
|
28
28
|
"engines",
|
|
@@ -71,7 +71,7 @@ class PluginSpec(Generic[T]):
|
|
|
71
71
|
"""The plugin's options, without `kind`."""
|
|
72
72
|
compatible_engines: frozenset[str] = frozenset()
|
|
73
73
|
"""Engine kinds a catalog works with; empty means any."""
|
|
74
|
-
capabilities: EngineCapabilities | StateStoreCapabilities | None = None
|
|
74
|
+
capabilities: EngineCapabilities | StateStoreCapabilities | CatalogCapabilities | None = None
|
|
75
75
|
"""Static data for L5, readable without building the plugin."""
|
|
76
76
|
description: str = ""
|
|
77
77
|
|
|
@@ -26,6 +26,11 @@ class RuntimeContext:
|
|
|
26
26
|
vars: Mapping[str, Any]
|
|
27
27
|
full_refresh: bool = False
|
|
28
28
|
orchestrator: Mapping[str, str] = field(default_factory=dict)
|
|
29
|
+
run_started_at: datetime | None = None
|
|
30
|
+
"""Timezone-aware UTC; the same value in every invocation of a run, None only in a unit
|
|
31
|
+
invocation that cannot find the run record."""
|
|
32
|
+
artifacts_root: str = "target"
|
|
33
|
+
"""Absolute POSIX path or URI of the artifacts folder."""
|
|
29
34
|
|
|
30
35
|
|
|
31
36
|
@dataclass(frozen=True, slots=True)
|
|
@@ -24,7 +24,9 @@ _NOT_TRANSIENT_OS: Final = (
|
|
|
24
24
|
NotADirectoryError,
|
|
25
25
|
FileExistsError,
|
|
26
26
|
)
|
|
27
|
-
PERMANENT_CODES: Final = frozenset(
|
|
27
|
+
PERMANENT_CODES: Final = frozenset(
|
|
28
|
+
{"PLQ301", "PLQ302", "PLM202", "PLM203", "PLM205", "PLM206", "PLM207"}
|
|
29
|
+
)
|
|
28
30
|
"""Failures that repeat on the same data; only `retry_on: any` retries them."""
|
|
29
31
|
|
|
30
32
|
|