continuo-python-runtime 0.14.0__tar.gz → 0.16.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.
Files changed (259) hide show
  1. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/CHANGELOG.md +169 -0
  2. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/CLAUDE.md +5 -3
  3. continuo_python_runtime-0.14.0/README.md → continuo_python_runtime-0.16.0/PKG-INFO +122 -55
  4. continuo_python_runtime-0.14.0/PKG-INFO → continuo_python_runtime-0.16.0/README.md +101 -76
  5. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/README.md +37 -0
  6. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/application/ports.py +15 -1
  7. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/application/warehouse.py +55 -3
  8. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/ddl.py +11 -1
  9. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/session.py +15 -2
  10. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/pyproject.toml +2 -2
  11. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/conftest.py +12 -2
  12. continuo_python_runtime-0.16.0/adapters/duckdb/tests/test_adapter_duckdb_dependents.py +67 -0
  13. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_adapter_duckdb_validation.py +5 -5
  14. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_infra_duckdb_settings_ddl.py +1 -1
  15. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_integration_duckdb_conformance.py +10 -0
  16. continuo_python_runtime-0.16.0/adapters/duckdb/tests/test_integration_duckdb_dependents.py +31 -0
  17. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_integration_duckdb_entrypoint.py +15 -12
  18. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_integration_duckdb_validation.py +2 -2
  19. continuo_python_runtime-0.14.0/adapters/duckdb/tests/test_integration_duckdb_seed_preflight.py → continuo_python_runtime-0.16.0/adapters/duckdb/tests/test_integration_duckdb_warehouse_read.py +99 -17
  20. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/README.md +1 -1
  21. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/continuo_postgres_adapter/adapter.py +5 -5
  22. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/pyproject.toml +2 -2
  23. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_adapter_postgres_validation.py +1 -1
  24. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_integration_postgres_entrypoint.py +10 -9
  25. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_integration_postgres_validation.py +3 -3
  26. continuo_python_runtime-0.14.0/adapters/postgres/tests/test_integration_postgres_seed_preflight.py → continuo_python_runtime-0.16.0/adapters/postgres/tests/test_integration_postgres_warehouse_read.py +6 -6
  27. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/README.md +37 -22
  28. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/continuo_trino_adapter/adapter.py +42 -99
  29. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/pyproject.toml +2 -7
  30. continuo_python_runtime-0.16.0/adapters/trino/tests/test_adapter_trino_dependents.py +102 -0
  31. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_adapter_trino_validation.py +1 -1
  32. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_integration_trino_conformance.py +18 -4
  33. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_integration_trino_entrypoint.py +16 -13
  34. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_integration_trino_validation.py +3 -3
  35. continuo_python_runtime-0.14.0/adapters/trino/tests/test_integration_trino_seed_preflight.py → continuo_python_runtime-0.16.0/adapters/trino/tests/test_integration_trino_warehouse_read.py +62 -12
  36. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/cli.py +23 -23
  37. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/loader.py +11 -11
  38. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/ontology_check.py +14 -14
  39. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/pack.py +9 -9
  40. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/packages.py +1 -1
  41. continuo_python_runtime-0.16.0/continuo_python_runtime/validation/dependents_check.py +256 -0
  42. continuo_python_runtime-0.16.0/continuo_python_runtime/validation/drop_dependents.py +170 -0
  43. continuo_python_runtime-0.16.0/continuo_python_runtime/validation/probe_views.py +99 -0
  44. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/validation/runner.py +31 -23
  45. continuo_python_runtime-0.16.0/continuo_python_runtime/validation/warehouse_read.py +111 -0
  46. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/README.md +17 -11
  47. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/port.py +82 -2
  48. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/testing/conformance.py +138 -10
  49. continuo_python_runtime-0.16.0/contract/continuo_engine_contract/views.py +179 -0
  50. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/pyproject.toml +1 -1
  51. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_conformance_suite.py +83 -13
  52. continuo_python_runtime-0.16.0/contract/tests/test_dependents_removal.py +102 -0
  53. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_port.py +6 -6
  54. continuo_python_runtime-0.16.0/contract/tests/test_views.py +239 -0
  55. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/docs/boundary-contract.md +30 -30
  56. continuo_python_runtime-0.16.0/image-requirements-duckdb.txt +3 -0
  57. continuo_python_runtime-0.16.0/image-requirements-postgres.txt +3 -0
  58. continuo_python_runtime-0.16.0/image-requirements-trino.txt +3 -0
  59. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/pyproject.toml +3 -3
  60. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/.github/workflows/release.yml +12 -12
  61. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/Dockerfile +1 -1
  62. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/README.md +11 -11
  63. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/contracts/example.odcs.yaml +1 -1
  64. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/conftest.py +4 -4
  65. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/test_loader.py +10 -10
  66. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/test_ontology_check.py +22 -22
  67. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/test_pack.py +11 -11
  68. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/test_read_tables.py +1 -1
  69. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/demo/service-py/old/py_daily_kpis.yml +2 -2
  70. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/odcs_builder.py +4 -4
  71. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_cli.py +64 -64
  72. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_contract_pin_consistency.py +3 -3
  73. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_harness_write_modes.py +2 -2
  74. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_image_smoke_validation.py +1 -1
  75. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_packages.py +2 -2
  76. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_template.py +17 -17
  77. continuo_python_runtime-0.16.0/tests/test_validation_dependents_check.py +360 -0
  78. continuo_python_runtime-0.16.0/tests/test_validation_drop_dependents.py +175 -0
  79. continuo_python_runtime-0.16.0/tests/test_validation_probe_views.py +132 -0
  80. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_validation_runner.py +79 -25
  81. continuo_python_runtime-0.16.0/tests/warehouse_read_fakes.py +90 -0
  82. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/uv.lock +9 -11
  83. continuo_python_runtime-0.14.0/adapters/trino/tests/test_adapter_trino_dependents.py +0 -224
  84. continuo_python_runtime-0.14.0/continuo_python_runtime/validation/preflight.py +0 -410
  85. continuo_python_runtime-0.14.0/image-requirements-duckdb.txt +0 -3
  86. continuo_python_runtime-0.14.0/image-requirements-postgres.txt +0 -3
  87. continuo_python_runtime-0.14.0/image-requirements-trino.txt +0 -3
  88. continuo_python_runtime-0.14.0/tests/test_validation_preflight.py +0 -524
  89. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.claude/agents/ddd-architecture-auditor.md +0 -0
  90. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.dockerignore +0 -0
  91. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/CODEOWNERS +0 -0
  92. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  93. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  94. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  95. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  96. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/dependabot.yml +0 -0
  97. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/ci.yml +0 -0
  98. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/dco.yml +0 -0
  99. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/image-build.yml +0 -0
  100. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/image-smoke.yml +0 -0
  101. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/images.yml +0 -0
  102. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/publish-pypi.yml +0 -0
  103. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/release.yml +0 -0
  104. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/security.yml +0 -0
  105. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.github/workflows/verify-packages.yml +0 -0
  106. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.gitignore +0 -0
  107. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.gitleaks.toml +0 -0
  108. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/.python-version +0 -0
  109. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/CODE_OF_CONDUCT.md +0 -0
  110. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/CONTRIBUTING.md +0 -0
  111. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/DCO +0 -0
  112. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/Dockerfile.duckdb +0 -0
  113. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/Dockerfile.postgres +0 -0
  114. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/Dockerfile.trino +0 -0
  115. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/LICENSE +0 -0
  116. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/NOTICE +0 -0
  117. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/SECURITY.md +0 -0
  118. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/__init__.py +0 -0
  119. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/adapter.py +0 -0
  120. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/application/__init__.py +0 -0
  121. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/domain/__init__.py +0 -0
  122. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/domain/columns.py +0 -0
  123. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/domain/identifiers.py +0 -0
  124. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/domain/layout.py +0 -0
  125. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/__init__.py +0 -0
  126. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/extensions.py +0 -0
  127. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/passfile.py +0 -0
  128. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/settings.py +0 -0
  129. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/__init__.py +0 -0
  130. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_adapter_duckdb_proxy.py +0 -0
  131. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_adapter_duckdb_runtime.py +0 -0
  132. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_adapter_duckdb_wiring.py +0 -0
  133. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_domain_duckdb_columns.py +0 -0
  134. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_domain_duckdb_identifiers.py +0 -0
  135. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_domain_duckdb_layout.py +0 -0
  136. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_infra_duckdb_session.py +0 -0
  137. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_integration_duckdb_layout.py +0 -0
  138. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_integration_duckdb_nullability_probe.py +0 -0
  139. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_integration_duckdb_runtime.py +0 -0
  140. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/duckdb/tests/test_integration_duckdb_stack.py +0 -0
  141. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/continuo_postgres_adapter/__init__.py +0 -0
  142. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/__init__.py +0 -0
  143. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/conftest.py +0 -0
  144. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_adapter_postgres_connect.py +0 -0
  145. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_adapter_runtime_postgres.py +0 -0
  146. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_integration_postgres_conformance.py +0 -0
  147. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_integration_postgres_dependents.py +0 -0
  148. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/postgres/tests/test_integration_runtime_postgres.py +0 -0
  149. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/continuo_trino_adapter/__init__.py +0 -0
  150. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/__init__.py +0 -0
  151. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_adapter_runtime_trino.py +0 -0
  152. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_adapter_trino_connect.py +0 -0
  153. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_adapter_trino_writes.py +0 -0
  154. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_integration_runtime_trino.py +0 -0
  155. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/adapters/trino/tests/test_integration_trino_merge_probe.py +0 -0
  156. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/conftest.py +0 -0
  157. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/__init__.py +0 -0
  158. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/closure.py +0 -0
  159. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/conform.py +0 -0
  160. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/content_check.py +0 -0
  161. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/context.py +0 -0
  162. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/__init__.py +0 -0
  163. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/kinds.py +0 -0
  164. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/model.py +0 -0
  165. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/paths.py +0 -0
  166. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/contract/read_tables.py +0 -0
  167. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/csv_loader.py +0 -0
  168. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/csv_readers/__init__.py +0 -0
  169. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/csv_readers/https.py +0 -0
  170. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/csv_readers/s3.py +0 -0
  171. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/csv_source.py +0 -0
  172. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/errors.py +0 -0
  173. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/harness.py +0 -0
  174. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/hash_inputs.py +0 -0
  175. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/hashing.py +0 -0
  176. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/lint.py +0 -0
  177. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/shape.py +0 -0
  178. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/types.py +0 -0
  179. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/validation/__init__.py +0 -0
  180. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/continuo_python_runtime/validation/s3.py +0 -0
  181. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/LICENSE +0 -0
  182. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/NOTICE +0 -0
  183. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/__init__.py +0 -0
  184. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/config.py +0 -0
  185. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/keys.py +0 -0
  186. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/result.py +0 -0
  187. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/sql.py +0 -0
  188. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/testing/__init__.py +0 -0
  189. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/continuo_engine_contract/types.py +0 -0
  190. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/__init__.py +0 -0
  191. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_config.py +0 -0
  192. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_contract_keys.py +0 -0
  193. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_contract_packaging.py +0 -0
  194. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_contract_types.py +0 -0
  195. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_result.py +0 -0
  196. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_sql.py +0 -0
  197. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/contract/tests/test_startup_conformance.py +0 -0
  198. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/scripts/apply_rehearsal_version.py +0 -0
  199. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/scripts/bake_duckdb_extensions.py +0 -0
  200. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/scripts/check_version_bumps.py +0 -0
  201. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/scripts/install_image_pins.py +0 -0
  202. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/scripts/security-scan.sh +0 -0
  203. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/scripts/verify_installed_packages.py +0 -0
  204. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/Dockerfile.pip +0 -0
  205. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/contracts/example_csv.odcs.yaml +0 -0
  206. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/requirements.lock +0 -0
  207. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/template/scripts/example.py +0 -0
  208. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/__init__.py +0 -0
  209. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/__init__.py +0 -0
  210. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/test_kinds.py +0 -0
  211. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/test_model.py +0 -0
  212. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/contract/test_write_modes.py +0 -0
  213. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/demo/service-py/contracts/demo_orders_csv.odcs.yaml +0 -0
  214. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/demo/service-py/contracts/fx_eur_usd_rates.odcs.yaml +0 -0
  215. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/demo/service-py/contracts/py_daily_kpis.odcs.yaml +0 -0
  216. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/demo/service-py/old/demo_orders_csv.yml +0 -0
  217. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/demo/service-py/old/fx_eur_usd_rates.yml +0 -0
  218. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/write_modes/append_node.odcs.yaml +0 -0
  219. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/write_modes/assets_node.odcs.yaml +0 -0
  220. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/write_modes/replace_node.odcs.yaml +0 -0
  221. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/fixtures/write_modes/upsert_node.odcs.yaml +0 -0
  222. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/smoke/duckdb-stack/docker-compose.yml +0 -0
  223. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/smoke/node_smoke/contracts/smoke.odcs.yaml +0 -0
  224. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/smoke/node_smoke/scripts/smoke.py +0 -0
  225. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/smoke/postgres-stack/docker-compose.yml +0 -0
  226. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/smoke/trino-stack/catalog/iceberg.properties +0 -0
  227. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/smoke/trino-stack/docker-compose.yml +0 -0
  228. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_adapter_naming.py +0 -0
  229. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_check_version_bumps_tags.py +0 -0
  230. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_ci_test_coverage.py +0 -0
  231. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_closure.py +0 -0
  232. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_conform.py +0 -0
  233. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_context.py +0 -0
  234. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_contract_loader.py +0 -0
  235. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_csv_loader.py +0 -0
  236. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_csv_readers_https.py +0 -0
  237. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_csv_readers_integration.py +0 -0
  238. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_csv_source.py +0 -0
  239. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_entrypoint_shims.py +0 -0
  240. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_errors.py +0 -0
  241. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_harness.py +0 -0
  242. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_harness_content_check.py +0 -0
  243. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_hashing.py +0 -0
  244. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_hashing_vectors.py +0 -0
  245. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_image_requirements_sync.py +0 -0
  246. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_install_image_pins.py +0 -0
  247. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_kind_registries.py +0 -0
  248. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_lint.py +0 -0
  249. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_no_legacy_names.py +0 -0
  250. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_package.py +0 -0
  251. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_projection_vectors.py +0 -0
  252. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_python_version_consistency.py +0 -0
  253. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_rehearsal_version.py +0 -0
  254. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_release_pipeline_structure.py +0 -0
  255. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_shape.py +0 -0
  256. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_types.py +0 -0
  257. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_validation_s3.py +0 -0
  258. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_verify_installed_packages.py +0 -0
  259. {continuo_python_runtime-0.14.0 → continuo_python_runtime-0.16.0}/tests/test_write_contract_fixture.py +0 -0
@@ -5,6 +5,175 @@ follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.16.0] - 2026-12-01
9
+
10
+ **TL;DR**
11
+
12
+ - On trino and duckdb the runtime lists every view that reads a seed, through
13
+ other views too, at its depth, and a new validation op, `drop_dependents`,
14
+ drops the objects an operator acknowledged once a reload is done. A seed
15
+ reload can now follow the same rules on every engine.
16
+ - `dependents_check` in `check` mode stops a reload on trino and duckdb the way
17
+ it does on postgres.
18
+ - Projects need no change: node runs, `pack` and the hashes are the same as in
19
+ 0.15.0, and no node changes its `content_hash`.
20
+
21
+ **Upgrade**
22
+
23
+ 1. A continuo install that runs `dependents_check` in `check` mode on trino or
24
+ duckdb now gets exit 1, `reason` `unowned_dependents`, for a view that reads
25
+ the seed and is in neither the allowed nor the acknowledged list. In
26
+ `report` mode the block carries the same `reason` and exits 0.
27
+ 2. To remove the acknowledged objects after a reload on trino or duckdb, run
28
+ `VALIDATION_OP=drop_dependents` from this release's engine image with
29
+ `PROD_SCHEMA`, `TABLE_NAME` and `DROP_DEPENDENTS_OBJECTS`. On postgres it
30
+ drops nothing.
31
+ 3. Adapter authors:
32
+ - `DependentsConformance` now expects a view on a view at depth 2.
33
+ - An adapter that overrides the `create_view` hook must override the new
34
+ `create_union_view` too.
35
+ - A `late_binding` adapter can declare `DependentsRemoval` (implement
36
+ `_drop_dependent`) and run `DependentsRemovalConformance`;
37
+ `continuo_engine_contract.views.dependent_views` lists a catalog's views
38
+ through views.
39
+
40
+ Versions: runtime 0.16.0 (pins continuo-contracts 0.5.0), engine contract 0.12.0, postgres adapter 0.5.1, trino adapter 0.7.0, duckdb adapter 0.5.0.
41
+
42
+ ### Added
43
+
44
+ - A validation op, `drop_dependents` (`VALIDATION_OP=drop_dependents`), removes
45
+ the objects an operator acknowledged after a seed's reload on a `late_binding`
46
+ engine, as `DROP ... CASCADE` already does on postgres. It takes
47
+ `PROD_SCHEMA`, `TABLE_NAME` and `DROP_DEPENDENTS_OBJECTS` (a JSON array of
48
+ `"<schema>.<name>"`), lists the seed's dependents once, and drops each
49
+ requested object the listing holds, deepest first. An entry the listing does
50
+ not hold is skipped and never dropped. A failed drop does not stop the others
51
+ and exits 1 with `reason` `drop_failed`. On a `cascade` engine it drops
52
+ nothing. Its block names each object `dropped`, `skipped` and `failed`.
53
+ - The engine contract has a `DependentsRemoval` capability (a
54
+ `DependentsIntrospection`). Its `drop_dependents(schema, table, objects)` is a
55
+ template method that applies the rule above for every engine. The engine
56
+ supplies `_drop_dependent(dependent)`. The trino and duckdb adapters declare
57
+ it and drop a view with `DROP VIEW`.
58
+ - The engine contract has a `views` module. `dependent_views` lists the views
59
+ that read a table, directly or through other views, from the SQL of a
60
+ catalog's views. It is the walk a `late_binding` adapter lists its dependents
61
+ with.
62
+ - The duckdb adapter lists the views that read a table (`DependentsIntrospection`,
63
+ `completeness` `best_effort`), from `duckdb_views()`. Names resolve the way
64
+ DuckDB binds a view: a bare name in the view's own schema or in `main`, and
65
+ `x.name` as schema `x` or as catalog `x`'s `main`. Every candidate counts, so
66
+ a view can be listed for a same-named table it does not read, never missed.
67
+ `dependent_views` takes that second schema as `fallback_schema`.
68
+ - The conformance suite has `DependentsRemovalConformance`, and
69
+ `DependentsConformance` checks that a view on a view is listed at depth 2,
70
+ that each view of a diamond is listed once, and that an unrelated view is not
71
+ listed. Both classes build their views through the hooks of a shared
72
+ `ViewsConformanceBase`: `create_view` and a new `create_union_view`.
73
+
74
+ ### Changed
75
+
76
+ - The trino adapter's `dependents` lists every view that reads the table,
77
+ directly or through other views, at its depth (1 for a view that names the
78
+ table, 2 for a view on that view, and so on), each view once at its smallest
79
+ depth. It listed only the views that name the table, all at depth 1, so it
80
+ missed an outside view on a continuo view.
81
+ - `dependents_check` decides the same way on both engine families. In `check`
82
+ mode a `late_binding` engine now stops (exit 1) on an object outside the
83
+ allowed and acknowledged sets (`unowned_dependents`), on an adapter that
84
+ cannot list dependents (`unowned_dependents`) and on a listing that fails,
85
+ as a `schema_bound` engine always did. Before, a `late_binding` check passed
86
+ and named the objects as views that "may go stale". `report` mode gives the
87
+ same `reason` and still exits 0. A stop's message names an object without
88
+ an owner as `<schema>.<name> (<kind>)`.
89
+ - The postgres adapter 0.5.1 changes only its engine contract pin, to 0.12.0.
90
+ - The template's Dockerfile and the README's engine examples build on the
91
+ `v0.16.0` engine images.
92
+ - Adapter authors: an adapter whose `dependents` lists only the objects that
93
+ read the table directly now fails `DependentsConformance`. The dependents
94
+ classes build views through two hooks, `create_view` and the new
95
+ `create_union_view`; an adapter that overrides `create_view` (its view
96
+ syntax differs from ANSI, or its `fetch` cannot run DDL) must override
97
+ `create_union_view` too, or the diamond and removal cases run the ANSI
98
+ default through `fetch`.
99
+
100
+ ### Removed
101
+
102
+ - The trino adapter's direct `sqlglot` pin. It no longer parses SQL itself: the
103
+ view walk lives in the engine contract, which pins sqlglot.
104
+
105
+ ## [0.15.0] - 2026-11-25
106
+
107
+ **TL;DR**
108
+
109
+ - The runtime uses continuo's glossary words. A team's releasable unit is a
110
+ **project**: `pack --project`, a `project` key in the bundle, and a release
111
+ posted with `project` and kind `python`.
112
+ - The seed preflight is now the **dependents check** (`VALIDATION_OP=dependents_check`,
113
+ `DEPENDENTS_CHECK_*`), and `clone_from_prod` is now `build_from_prod`.
114
+ - It pins continuo-contracts 0.5.0: a contract's `service` property is now
115
+ `project`. No node changes its `content_hash`.
116
+ - You must act: this release works only with a continuo install that uses the
117
+ same words. Change each project's CI as below.
118
+
119
+ **Upgrade**
120
+
121
+ 1. Move to 0.15.0 only together with a continuo install whose chart CHANGELOG
122
+ names the kind `python` and the dependents check. The install's validation
123
+ image and its execution-controller must agree on the op names, so an older
124
+ install cannot run this image, and this install cannot run an older one.
125
+ 2. In each project's release workflow: rename `SERVICE` to `PROJECT`, run
126
+ `continuo-runtime pack contracts/ --project "$PROJECT" ...`, upload to
127
+ `s3://<bucket>/<project>/<release_id>/odcs-bundle.json`, and post
128
+ `{"project": ..., "kind": "python", ...}`. `template/.github/workflows/release.yml`
129
+ shows each line.
130
+ 3. In each contract that writes the `continuo` property `service`, rename it to
131
+ `project`. In the ontology file, rename `principals.services` to
132
+ `principals.projects`.
133
+ 4. Build each project's image `FROM` the `v0.15.0` engine image. CI installs
134
+ `continuo-python-runtime==0.15.0` from the `FROM` line.
135
+ 5. Adapter authors: rename `clone_empty_from_prod` to `build_empty_from_prod`.
136
+
137
+ Versions: runtime 0.15.0 (pins continuo-contracts 0.5.0), engine contract 0.11.0, postgres adapter 0.5.0, trino adapter 0.6.0, duckdb adapter 0.4.0.
138
+
139
+ ### Breaking
140
+
141
+ - The code a team releases as one unit is a **project**, the word continuo's
142
+ glossary uses. `continuo-runtime pack` and `continuo-runtime validate` take
143
+ `--project <name>` instead of `--service`, `validate --ontology` needs
144
+ `--project`, and the bundle names the project in a `project` key instead of
145
+ `service`.
146
+ - The runtime pins `continuo-contracts==0.5.0`. A contract's optional
147
+ `continuo` property `service` is now `project`, and a contract that still
148
+ writes `service` is refused, naming the file. The ontology file declares its
149
+ projects under `principals.projects`. A node's `content_hash` does not change.
150
+ - The template's release workflow sets `PROJECT` instead of `SERVICE`, uploads
151
+ the bundle to `s3://<bucket>/<project>/<release_id>/odcs-bundle.json` and
152
+ posts the release with `project` and kind `python` (it was `python-odcs`).
153
+ continuo accepts that body from the first chart release whose CHANGELOG names
154
+ the kind `python`.
155
+ - The validation op `seed_preflight` is now the **dependents check**:
156
+ `VALIDATION_OP=dependents_check`, its inputs `DEPENDENTS_CHECK_MODE`,
157
+ `DEPENDENTS_CHECK_ENGINE_FAMILY`, `DEPENDENTS_CHECK_ALLOWED` and
158
+ `DEPENDENTS_CHECK_ACKNOWLEDGED`, and its result block's `op` is
159
+ `dependents_check`. The block's other keys do not change.
160
+ - The validation op `clone_from_prod` is now `build_from_prod`, and the engine
161
+ contract's `WarehouseAdapter.clone_empty_from_prod` is now
162
+ `build_empty_from_prod`, in the port and in the postgres, trino and duckdb
163
+ adapters. The op builds an empty table shaped like the production table and
164
+ copies no rows. The three node ops now say where the empty table's columns
165
+ come from: `build_from_sql`, `build_from_columns`, `build_from_prod`.
166
+ **Breaking for adapter authors:** rename the method.
167
+
168
+ ### Changed
169
+
170
+ - The validation runner refuses an unknown `VALIDATION_OP` before it reads any
171
+ other input, with exit 2 and the message `unknown VALIDATION_OP '<op>'`. A
172
+ caller that still sends `seed_preflight` or `clone_from_prod` gets that
173
+ message, not a missing `DBT_TARGET_SCHEMA`.
174
+ - The template's Dockerfile and the README's engine examples build on the
175
+ `v0.15.0` engine images, the first whose `pack` takes `--project`.
176
+
8
177
  ## [0.14.0] - 2026-11-21
9
178
 
10
179
  **TL;DR**
@@ -33,9 +33,11 @@ with `continuo-engine-contract[testing]`.
33
33
  connections at first, and `drop_semantics` is declared) and the
34
34
  shared conformance classes for every capability it declares:
35
35
  `IntrospectionConformance` for `TableIntrospection`, `AppendConformance` for
36
- `AppendCapable`, `UpsertConformance` for `UpsertCapable`, and
37
- `DependentsConformance` for `DependentsIntrospection`. Append and
38
- upsert adapters must also run the introspection class. An adapter need not
36
+ `AppendCapable`, `UpsertConformance` for `UpsertCapable`,
37
+ `DependentsConformance` for `DependentsIntrospection`, and
38
+ `DependentsRemovalConformance` for `DependentsRemoval`. Append and
39
+ upsert adapters must also run the introspection class, and a removal
40
+ adapter the dependents class. An adapter need not
39
41
  declare capabilities its engine cannot support.
40
42
  - Each adapter's integration suite MUST subclass the applicable classes,
41
43
  supply connected `adapter` and temporary `schema` fixtures (and, for
@@ -1,3 +1,24 @@
1
+ Metadata-Version: 2.5
2
+ Name: continuo-python-runtime
3
+ Version: 0.16.0
4
+ Summary: Runtime harness, contract tooling, and CI lint for Continuo python nodes.
5
+ Author: Simone Carolini
6
+ Maintainer: Simone Carolini
7
+ License-Expression: Apache-2.0
8
+ License-File: LICENSE
9
+ License-File: NOTICE
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3.14
13
+ Requires-Python: >=3.14
14
+ Requires-Dist: boto3==1.43.114
15
+ Requires-Dist: continuo-contracts==0.5.0
16
+ Requires-Dist: continuo-engine-contract==0.12.0
17
+ Requires-Dist: pyarrow==26.0.0
18
+ Requires-Dist: pyyaml==6.0.3
19
+ Requires-Dist: sqlglot==30.23.0
20
+ Description-Content-Type: text/markdown
21
+
1
22
  # Continuo Python Runtime
2
23
 
3
24
  [![CI](https://github.com/carolsimone/continuo-python-runtime/actions/workflows/ci.yml/badge.svg)](https://github.com/carolsimone/continuo-python-runtime/actions/workflows/ci.yml)
@@ -55,7 +76,7 @@ separate validation-side port, adapter class, entry-point group or image: one
55
76
  `WarehouseAdapter` per engine serves both the data plane (`fetch` /
56
77
  `ensure_table` / `load`, plus the opt-in `table_columns` / `append` / `upsert`
57
78
  capabilities) and validation (`ensure_schema` / `drop_schema` /
58
- `build_empty_from_sql` / `build_empty_from_columns` / `clone_empty_from_prod` /
79
+ `build_empty_from_sql` / `build_empty_from_columns` / `build_empty_from_prod` /
59
80
  `check_binds`), and one image per engine runs both roles.
60
81
 
61
82
  | Package (distribution name) | Module | Lives in | Role |
@@ -94,8 +115,8 @@ last line of stdout, and Continuo's Go side parses it byte-for-byte
94
115
  sentinel markers, the framing, and the field names inside the block — is
95
116
  **frozen**. The additions are an optional `reason` key, written after
96
117
  `unique_id` only when an outcome has a machine-readable code (for example
97
- `image_contract_mismatch`), and the op's own keys that the `seed_preflight` and
98
- `probe_views` ops write after `reason`; a block without either keeps its bytes,
118
+ `image_contract_mismatch`), and the op's own keys that the `dependents_check`,
119
+ `probe_views` and `drop_dependents` ops write after `reason`; a block without either keeps its bytes,
99
120
  and the sentinels, `schema_version` and the five standard keys do not change. Reuse
100
121
  it; never change it from this side alone. A change here that
101
122
  the Go parser has not been taught is a production outage, not a refactor.
@@ -103,17 +124,17 @@ the Go parser has not been taught is a production outage, not a refactor.
103
124
  ## Quickstart for domain teams
104
125
 
105
126
  1. Copy `template/` into a new repository.
106
- 2. Edit `template/.github/workflows/release.yml` and set `SERVICE` to your
107
- service name (one service name per domain repo).
127
+ 2. Edit `template/.github/workflows/release.yml` and set `PROJECT` to the
128
+ name of the project this repository releases.
108
129
  3. Configure repository variables in GitHub (Settings → Secrets and
109
130
  variables → Actions): `REGISTRY` (your Docker registry), `BUCKET` (your
110
131
  S3 bucket for the contract bundle), `RELEASE_ENDPOINT` (the base
111
132
  URL of your continuo install, `scheme://host[:port]` with no path, the origin of continuo's
112
133
  `auth.publicUrl`). The
113
134
  workflow calls `<RELEASE_ENDPOINT>/api/v1/releases` with its GitHub Actions
114
- OIDC token, so the repository must be bound to your service in continuo's
135
+ OIDC token, so the repository must be bound to your project in continuo's
115
136
  `ciAuth.bindings` (see [Releasing from CI](https://github.com/carolsimone/continuo/blob/main/deploy/README.md#releasing-from-ci-github-actions)),
116
- and an operator bootstraps the service's first release.
137
+ and an operator bootstraps the project's first release.
117
138
  4. Configure repository secrets: `AWS_ACCESS_KEY_ID` and
118
139
  `AWS_SECRET_ACCESS_KEY` for the S3 upload. The template workflow pushes
119
140
  the built image to GHCR using the workflow's own `GITHUB_TOKEN` (granted
@@ -129,13 +150,13 @@ the Go parser has not been taught is a production outage, not a refactor.
129
150
  6. Push to `main`. The `release.yml` workflow lints the scripts, validates
130
151
  the contracts, builds and pushes the image, packs the contracts into
131
152
  `odcs-bundle.json`, uploads it to S3, and POSTs the release with
132
- `"kind": "python-odcs"`.
153
+ `"kind": "python"`.
133
154
 
134
155
  ## Contract files
135
156
 
136
157
  Each node has one contract: an ODCS v3.2.0 data contract in `contracts/`,
137
158
  named after its table, `<table>.odcs.yaml`, or `<schema>.<table>.odcs.yaml`
138
- when two nodes of one service share a table name. The `continuo-contracts`
159
+ when two nodes of one project share a table name. The `continuo-contracts`
139
160
  library reads each file strictly (YAML 1.2 core, with no aliases, no duplicate
140
161
  keys and one document per file) and checks it. `validate`, `pack`, `hash` and
141
162
  the harness load the folder the same way; the harness skips the read-query
@@ -175,9 +196,9 @@ schema:
175
196
  - continuo's own settings are `customProperties` items with
176
197
  `vendor: continuo`. Every node sets `schedule` and `criticality`
177
198
  (`REGULATORY`, `CORE` or `SECONDARY`); the node's kind decides the rest
178
- (see "Node kinds" below). An optional `service` names the node's service,
179
- and `pack` and `validate --service` refuse a contract whose `service` is not
180
- their `--service`.
199
+ (see "Node kinds" below). An optional `project` names the node's project,
200
+ and `pack` and `validate --project` refuse a contract whose `project` is not
201
+ their `--project`.
181
202
  - A contract may also bind its table and its columns to the company's ontology
182
203
  (see "Checking against the ontology" below).
183
204
  - The contract has exactly one schema object, `physicalType: table`. Its
@@ -221,7 +242,7 @@ production. See `docs/boundary-contract.md` §13.1.
221
242
  ### Checking against the ontology
222
243
 
223
244
  A company that keeps an ontology file, the things its data is about and the
224
- services that own them, can have each contract bind its table and its columns
245
+ projects that own them, can have each contract bind its table and its columns
225
246
  to it. The bindings are optional `continuo` properties: `entity`, `grain`,
226
247
  `fixed` and `filter` on the schema object, and `property`, `local` and
227
248
  `aggregate` on a column (`docs/boundary-contract.md` gives their values):
@@ -251,10 +272,10 @@ A contract with bindings loads, validates, packs and runs like any other, and
251
272
  its `content_hash` is the one it has without them. To check the bindings in your
252
273
  CI, keep a copy of the company's ontology file in your own repository, for
253
274
  example at `ontology/ontology.yaml`, and give `validate` the name of your
254
- service and the path of that copy:
275
+ project and the path of that copy:
255
276
 
256
277
  ```bash
257
- continuo-runtime validate contracts --service <name> --ontology ontology/ontology.yaml
278
+ continuo-runtime validate contracts --project <name> --ontology ontology/ontology.yaml
258
279
  ```
259
280
 
260
281
  Copy the file from the company's ontology repository, never from continuo, and
@@ -264,33 +285,33 @@ that is behind the ontology can pass here and still be refused by the release,
264
285
  which checks against the ontology the install runs. The library's dbt check,
265
286
  `continuo-contracts dbt check`, takes the same file with `--ontology`.
266
287
 
267
- `--service` alone refuses a contract whose `service` property names another
268
- service. `--ontology` needs `--service`; without it `validate` exits 2. With
269
- both, every contract is checked as a contract of that service by the rules of
270
- `continuo-contracts` that need no other service: `contract`, `coverage`,
288
+ `--project` alone refuses a contract whose `project` property names another
289
+ project. `--ontology` needs `--project`; without it `validate` exits 2. With
290
+ both, every contract is checked as a contract of that project by the rules of
291
+ `continuo-contracts` that need no other project: `contract`, `coverage`,
271
292
  `quality` and `privacy`. The rules that read the whole estate (`access`,
272
- `order` and `drift`) cannot run on one service's contracts and are not run
293
+ `order` and `drift`) cannot run on one project's contracts and are not run
273
294
  here. `validate` logs, on stderr and at the level of its severity (ERROR,
274
295
  WARNING or INFO), one line for each finding,
275
296
  `<severity> [<rule>] <subject>: <message>`, then one INFO line that counts them,
276
297
  `<e> error(s), <w> warning(s), <i> info: <name>`. It exits 1 when any finding is
277
298
  an error and 0 otherwise, and it prints nothing to stdout.
278
299
 
279
- - When the ontology declares the service, each contract names exactly one of
300
+ - When the ontology declares the project, each contract names exactly one of
280
301
  `entity` or `grain`, so a contract that names neither, or both, is an error.
281
302
  A column that carries no binding is a warning, unless its name is a key part
282
303
  or a property of the table's entity, in which case the check binds it itself.
283
- - When the ontology does not declare the service, none of its contracts is
304
+ - When the ontology does not declare the project, none of its contracts is
284
305
  checked: `validate` logs one INFO line, `not declared in the ontology: none
285
- of this service's contracts is checked`, and one WARNING for each contract
306
+ of this project's contracts is checked`, and one WARNING for each contract
286
307
  that writes bindings, and exits 0.
287
308
  - A file that cannot be read, is not UTF-8 text or is not an ontology is one
288
309
  ERROR line, `<file>: <reason>`, and exit 1. The reason of an invalid
289
310
  ontology is the library's, with the path to the first fault.
290
311
  - A file that is an ontology but that the library's `ontology` rule refuses (a
291
- thing owned by a domain the file does not declare, a service of a domain it
312
+ thing owned by a domain the file does not declare, a project of a domain it
292
313
  does not declare, a personal property no access rule names) is refused the
293
- same way, whatever the service, and no contract is checked against it: one
314
+ same way, whatever the project, and no contract is checked against it: one
294
315
  ERROR line, `<file>: the ontology file has <n> error(s): run
295
316
  continuo-contracts ontology check <file>`, and exit 1. That command lists the
296
317
  errors. Findings of that rule that are not errors do not stop the check.
@@ -533,11 +554,11 @@ A domain repo picks its warehouse engine by which base image it builds
533
554
  `FROM`:
534
555
 
535
556
  ```dockerfile
536
- FROM ghcr.io/carolsimone/continuo-python-runtime-postgres:v0.14.0
557
+ FROM ghcr.io/carolsimone/continuo-python-runtime-postgres:v0.16.0
537
558
  # or
538
- FROM ghcr.io/carolsimone/continuo-python-runtime-trino:v0.14.0
559
+ FROM ghcr.io/carolsimone/continuo-python-runtime-trino:v0.16.0
539
560
  # or
540
- FROM ghcr.io/carolsimone/continuo-python-runtime-duckdb:v0.14.0
561
+ FROM ghcr.io/carolsimone/continuo-python-runtime-duckdb:v0.16.0
541
562
  ```
542
563
 
543
564
  The engine is part of the image **name**; the tag is the bare version, so
@@ -550,7 +571,7 @@ repo's `adapters/postgres/`, `adapters/trino/` or `adapters/duckdb/` source
550
571
  (see the table above) — registered under the
551
572
  `continuo_engine.adapters` entry-point group (entry names `postgres` /
552
573
  `trino` / `duckdb`). The runtime discovers it via `discover_adapter()` at run time, so a
553
- single image serves every node in the service and the release-time
574
+ single image serves every node in the project and the release-time
554
575
  validation Job for it. The executor injects the warehouse connection as
555
576
  environment variables (engine-native, e.g.
556
577
  `POSTGRES_HOST`/`POSTGRES_DB`/`POSTGRES_USER`) plus the node-selection
@@ -578,43 +599,53 @@ Both shapes end up running the same runtime and the same adapter version;
578
599
  which one you pick only changes who controls the base OS layer underneath
579
600
  them.
580
601
 
581
- ## Seed preflight and view probe
602
+ ## Dependents check, view probe and dependents drop
582
603
 
583
- Two validation ops read the warehouse and change nothing. They run through the
584
- same runner image as the other validation ops (`VALIDATION_OP`), need no
585
- `DBT_TARGET_SCHEMA`, and print one result block as the last line of stdout.
604
+ Three validation ops act on what reads a seed. `dependents_check` and
605
+ `probe_views` read the warehouse and change nothing; `drop_dependents` drops the
606
+ objects an operator acknowledged. They run through the same runner image as the
607
+ other validation ops (`VALIDATION_OP`), need no `DBT_TARGET_SCHEMA`, and print
608
+ one result block as the last line of stdout.
586
609
 
587
610
  A seed reload drops and recreates the seed's production table. On an engine where
588
611
  a drop destroys the objects that read the table (`drop_semantics` `cascade`,
589
612
  postgres) that takes every view, function and constraint built on the seed with
590
613
  it, including objects continuo does not own. On an engine where those objects
591
614
  survive and fail on their next read (`late_binding`, trino and duckdb) they
592
- may go stale. `seed_preflight` lists what a reload would touch and compares it
593
- with what the operator has allowed or acknowledged; `probe_views` tries named
594
- views after a reload and says which no longer bind.
595
-
596
- `seed_preflight` runs in two places. `check` runs in the seed task's own pod just
615
+ may break once the table's columns change. `dependents_check` lists what a
616
+ reload would touch and compares it with what the operator has allowed or
617
+ acknowledged; `drop_dependents` removes the acknowledged objects after a reload
618
+ on a `late_binding` engine, as `DROP ... CASCADE` already does on postgres;
619
+ `probe_views` tries named views after a reload and says which no longer bind.
620
+
621
+ Postgres lists every kind of object that reads the seed, exactly (a recursive
622
+ `pg_depend` walk). Trino and duckdb list every view that reads it directly or
623
+ through other views, at its depth, by parsing each view's SQL
624
+ (`best_effort`: a view built from dynamic SQL, or one in another catalog, is
625
+ missed); see the adapters' READMEs.
626
+
627
+ `dependents_check` runs in two places. `check` runs in the seed task's own pod just
597
628
  before dbt and stops the reload with exit 1 when the check concludes it must.
598
629
  `report` runs in the release's seed-build Job and only reports what a `check`
599
630
  would conclude; it exits 0 whatever it finds.
600
631
 
601
- ### `seed_preflight` inputs
632
+ ### `dependents_check` inputs
602
633
 
603
634
  | Variable | Meaning |
604
635
  |---|---|
605
- | `SEED_PREFLIGHT_MODE` | `check` or `report`. |
606
- | `SEED_PREFLIGHT_ENGINE_FAMILY` | `schema_bound` or `late_binding`, the family the release plan expects of the engine. |
636
+ | `DEPENDENTS_CHECK_MODE` | `check` or `report`. |
637
+ | `DEPENDENTS_CHECK_ENGINE_FAMILY` | `schema_bound` or `late_binding`, the family the release plan expects of the engine. |
607
638
  | `PROD_SCHEMA`, `TABLE_NAME` | The seed's production relation. |
608
- | `SEED_PREFLIGHT_ALLOWED`, `SEED_PREFLIGHT_ACKNOWLEDGED` | JSON arrays of `"<schema>.<name>"`, default `[]`. An object is allowed when `<schema>.<name>`, in lower case, is in either list (entries are trimmed and lower-cased). |
639
+ | `DEPENDENTS_CHECK_ALLOWED`, `DEPENDENTS_CHECK_ACKNOWLEDGED` | JSON arrays of `"<schema>.<name>"`, default `[]`. An object is allowed when `<schema>.<name>`, in lower case, is in either list (entries are trimmed and lower-cased). |
609
640
  | `NODE_ID` | Optional; the block's `unique_id`. Default `<PROD_SCHEMA>.<TABLE_NAME>`. |
610
641
 
611
642
  The adapter's own variables (`POSTGRES_*`, `TRINO_*`, ...) are needed as for any
612
643
  other op. An adapter's family is `schema_bound` when its `drop_semantics` is
613
644
  `cascade`, and `late_binding` when it is `late_binding`.
614
645
 
615
- ### `seed_preflight` block
646
+ ### `dependents_check` block
616
647
 
617
- After the standard keys (and `reason` when one applies): `op` (`seed_preflight`),
648
+ After the standard keys (and `reason` when one applies): `op` (`dependents_check`),
618
649
  `mode`, `checked` (the warehouse was asked and its listing came back), `engine_family` (as given),
619
650
  `drop_semantics` (the adapter's), `completeness` (`exact`, `best_effort`, or
620
651
  `none` when nothing was listed) and `dependents`, a list of
@@ -627,18 +658,54 @@ After the standard keys (and `reason` when one applies): `op` (`seed_preflight`)
627
658
  | Situation | `reason` | `check` | `report` |
628
659
  |---|---|---|---|
629
660
  | a missing or malformed input, no adapter, missing adapter env | none | exit 2 | exit 2 |
630
- | the adapter's family differs from `SEED_PREFLIGHT_ENGINE_FAMILY`, or it declares none | `engine_mismatch` | exit 1 | exit 0 |
631
- | the adapter cannot list dependents, `schema_bound` | `unowned_dependents` | exit 1 | exit 0 |
632
- | the adapter cannot list dependents, `late_binding` | none | exit 0 | exit 0 |
661
+ | the adapter's family differs from `DEPENDENTS_CHECK_ENGINE_FAMILY`, or it declares none | `engine_mismatch` | exit 1 | exit 0 |
662
+ | the adapter cannot list dependents | `unowned_dependents` | exit 1 | exit 0 |
633
663
  | the connection fails | `warehouse_unreachable` | exit 1 | exit 0 |
634
- | the listing fails, `schema_bound` | none | exit 1 | exit 0 |
635
- | the listing fails, `late_binding` | none | exit 0 | exit 0 |
636
- | listed, `schema_bound`, an object is not allowed | `unowned_dependents` | exit 1 | exit 0 |
637
- | anything else listed (on `late_binding` the objects not allowed are external views that may go stale, named in `message`) | none | exit 0 | exit 0 |
638
-
639
- A seed table that does not exist yet has no dependents and passes. A stop's
640
- `message` starts with its `reason` and names each object outside the set as
641
- `<schema>.<name> (<kind>, owner <owner>)`.
664
+ | the listing fails | none | exit 1 | exit 0 |
665
+ | listed, an object is not allowed | `unowned_dependents` | exit 1 | exit 0 |
666
+ | anything else listed | none | exit 0 | exit 0 |
667
+
668
+ The table is the same on both families: a reload stops on an object continuo
669
+ does not own whether the engine's drop destroys it (`schema_bound`) or leaves
670
+ it reading a re-created table (`late_binding`). A seed table that does not
671
+ exist yet has no dependents and passes. A stop's `message` starts with its
672
+ `reason` and names each object outside the set as `<schema>.<name> (<kind>,
673
+ owner <owner>)`, or `<schema>.<name> (<kind>)` when the engine records no
674
+ owner.
675
+
676
+ ### `drop_dependents`
677
+
678
+ Runs after a seed's reload succeeds on a `late_binding` engine, with the
679
+ objects the operator acknowledged. Its inputs:
680
+
681
+ | Variable | Meaning |
682
+ |---|---|
683
+ | `PROD_SCHEMA`, `TABLE_NAME` | The seed's production relation. |
684
+ | `DROP_DEPENDENTS_OBJECTS` | Required JSON array of `"<schema>.<name>"`, split on the first dot. `[]` drops nothing and does not connect. |
685
+ | `NODE_ID` | Optional; the block's `unique_id`. Default `<PROD_SCHEMA>.<TABLE_NAME>`. |
686
+
687
+ The op lists the seed's dependents once and drops each requested object the
688
+ listing holds, deepest first, through the adapter's `DependentsRemoval`. An
689
+ entry matches a listed object when, trimmed and in lower case, it equals
690
+ `<schema>.<name>` in lower case. An entry the listing does not hold is skipped
691
+ and never dropped: the op drops nothing it cannot tie to the seed. A drop that
692
+ fails does not stop the others. On a `cascade` engine (postgres) it drops
693
+ nothing and does not connect: the load's `DROP ... CASCADE` already removed the
694
+ objects, and `message` says so.
695
+
696
+ The block has `op` (`drop_dependents`), `drop_semantics` (the adapter's),
697
+ `dropped` (`{schema, name, kind, depth}` in the order dropped), `skipped` (the
698
+ entries as given) and `failed` (`{schema, name, kind, depth, error}`, `error`
699
+ the first line of the failure, at most 500 characters). `message` names each
700
+ failed and skipped object.
701
+
702
+ | Situation | `reason` | exit |
703
+ |---|---|---|
704
+ | a missing or malformed input, no adapter, missing adapter env, a `late_binding` adapter that is not a `DependentsRemoval`, an adapter with no known `drop_semantics`, an unexpected error | none | 2 |
705
+ | the connection fails; nothing is dropped | `warehouse_unreachable` | 1 |
706
+ | the listing fails; nothing is dropped | none | 1 |
707
+ | a drop failed | `drop_failed` | 1 |
708
+ | every object dropped or skipped, a `cascade` engine, or no objects | none | 0 |
642
709
 
643
710
  ### `probe_views`
644
711