continuo-python-runtime 0.11.0__tar.gz → 0.13.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 (268) hide show
  1. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/image-build.yml +7 -1
  2. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/CHANGELOG.md +225 -0
  3. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/CLAUDE.md +5 -3
  4. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/CONTRIBUTING.md +1 -1
  5. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/Dockerfile.duckdb +8 -21
  6. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/Dockerfile.postgres +10 -33
  7. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/Dockerfile.trino +10 -33
  8. continuo_python_runtime-0.13.0/PKG-INFO +600 -0
  9. continuo_python_runtime-0.13.0/README.md +579 -0
  10. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/application/warehouse.py +2 -0
  11. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/pyproject.toml +2 -2
  12. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_adapter_duckdb_wiring.py +4 -0
  13. continuo_python_runtime-0.13.0/adapters/duckdb/tests/test_integration_duckdb_entrypoint.py +193 -0
  14. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_integration_duckdb_runtime.py +37 -35
  15. continuo_python_runtime-0.13.0/adapters/duckdb/tests/test_integration_duckdb_seed_preflight.py +154 -0
  16. continuo_python_runtime-0.13.0/adapters/postgres/README.md +87 -0
  17. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/continuo_postgres_adapter/adapter.py +170 -1
  18. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/pyproject.toml +2 -2
  19. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/test_adapter_postgres_validation.py +22 -1
  20. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/test_integration_postgres_conformance.py +5 -0
  21. continuo_python_runtime-0.13.0/adapters/postgres/tests/test_integration_postgres_dependents.py +701 -0
  22. continuo_python_runtime-0.13.0/adapters/postgres/tests/test_integration_postgres_entrypoint.py +217 -0
  23. continuo_python_runtime-0.13.0/adapters/postgres/tests/test_integration_postgres_seed_preflight.py +141 -0
  24. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/test_integration_runtime_postgres.py +37 -35
  25. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/README.md +30 -0
  26. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/continuo_trino_adapter/adapter.py +111 -1
  27. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/pyproject.toml +7 -2
  28. continuo_python_runtime-0.13.0/adapters/trino/tests/test_adapter_trino_dependents.py +224 -0
  29. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_adapter_trino_validation.py +4 -0
  30. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_integration_runtime_trino.py +25 -23
  31. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_integration_trino_conformance.py +9 -0
  32. continuo_python_runtime-0.13.0/adapters/trino/tests/test_integration_trino_entrypoint.py +212 -0
  33. continuo_python_runtime-0.13.0/adapters/trino/tests/test_integration_trino_seed_preflight.py +105 -0
  34. continuo_python_runtime-0.13.0/conftest.py +32 -0
  35. continuo_python_runtime-0.13.0/continuo_python_runtime/cli.py +242 -0
  36. continuo_python_runtime-0.13.0/continuo_python_runtime/content_check.py +73 -0
  37. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/contract/kinds.py +37 -21
  38. continuo_python_runtime-0.13.0/continuo_python_runtime/contract/loader.py +301 -0
  39. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/contract/model.py +13 -6
  40. continuo_python_runtime-0.13.0/continuo_python_runtime/contract/pack.py +299 -0
  41. continuo_python_runtime-0.13.0/continuo_python_runtime/contract/paths.py +71 -0
  42. continuo_python_runtime-0.13.0/continuo_python_runtime/contract/read_tables.py +85 -0
  43. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/errors.py +13 -1
  44. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/harness.py +21 -6
  45. continuo_python_runtime-0.13.0/continuo_python_runtime/hash_inputs.py +63 -0
  46. continuo_python_runtime-0.13.0/continuo_python_runtime/hashing.py +76 -0
  47. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/lint.py +194 -6
  48. continuo_python_runtime-0.13.0/continuo_python_runtime/packages.py +56 -0
  49. continuo_python_runtime-0.13.0/continuo_python_runtime/validation/preflight.py +410 -0
  50. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/validation/runner.py +20 -3
  51. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/README.md +16 -5
  52. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/port.py +70 -1
  53. continuo_python_runtime-0.13.0/contract/continuo_engine_contract/result.py +59 -0
  54. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/testing/conformance.py +119 -1
  55. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/pyproject.toml +1 -1
  56. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_conformance_suite.py +48 -1
  57. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_port.py +15 -0
  58. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_result.py +33 -0
  59. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_startup_conformance.py +13 -0
  60. continuo_python_runtime-0.13.0/docs/boundary-contract.md +722 -0
  61. continuo_python_runtime-0.13.0/image-requirements-duckdb.txt +3 -0
  62. continuo_python_runtime-0.13.0/image-requirements-postgres.txt +3 -0
  63. continuo_python_runtime-0.13.0/image-requirements-trino.txt +3 -0
  64. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/pyproject.toml +15 -11
  65. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/scripts/check_version_bumps.py +30 -7
  66. continuo_python_runtime-0.13.0/scripts/install_image_pins.py +137 -0
  67. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/scripts/verify_installed_packages.py +3 -0
  68. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/template/.github/workflows/release.yml +48 -14
  69. continuo_python_runtime-0.13.0/template/Dockerfile +17 -0
  70. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/template/Dockerfile.pip +6 -5
  71. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/template/README.md +57 -17
  72. continuo_python_runtime-0.13.0/template/contracts/example.odcs.yaml +60 -0
  73. continuo_python_runtime-0.13.0/template/contracts/example_csv.odcs.yaml +29 -0
  74. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/template/scripts/example.py +1 -1
  75. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/conftest.py +126 -33
  76. continuo_python_runtime-0.13.0/tests/contract/test_kinds.py +150 -0
  77. continuo_python_runtime-0.13.0/tests/contract/test_loader.py +458 -0
  78. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/contract/test_model.py +24 -13
  79. continuo_python_runtime-0.13.0/tests/contract/test_pack.py +639 -0
  80. continuo_python_runtime-0.13.0/tests/contract/test_read_tables.py +275 -0
  81. continuo_python_runtime-0.13.0/tests/contract/test_write_modes.py +145 -0
  82. continuo_python_runtime-0.13.0/tests/fixtures/demo/service-py/contracts/demo_orders_csv.odcs.yaml +21 -0
  83. continuo_python_runtime-0.13.0/tests/fixtures/demo/service-py/contracts/fx_eur_usd_rates.odcs.yaml +23 -0
  84. continuo_python_runtime-0.13.0/tests/fixtures/demo/service-py/contracts/py_daily_kpis.odcs.yaml +24 -0
  85. continuo_python_runtime-0.13.0/tests/fixtures/demo/service-py/old/demo_orders_csv.yml +18 -0
  86. continuo_python_runtime-0.13.0/tests/fixtures/demo/service-py/old/fx_eur_usd_rates.yml +18 -0
  87. continuo_python_runtime-0.13.0/tests/fixtures/demo/service-py/old/py_daily_kpis.yml +20 -0
  88. continuo_python_runtime-0.13.0/tests/fixtures/write_modes/append_node.odcs.yaml +20 -0
  89. continuo_python_runtime-0.13.0/tests/fixtures/write_modes/assets_node.odcs.yaml +25 -0
  90. continuo_python_runtime-0.13.0/tests/fixtures/write_modes/replace_node.odcs.yaml +23 -0
  91. continuo_python_runtime-0.13.0/tests/fixtures/write_modes/upsert_node.odcs.yaml +21 -0
  92. continuo_python_runtime-0.13.0/tests/odcs_builder.py +168 -0
  93. continuo_python_runtime-0.13.0/tests/smoke/node_smoke/contracts/smoke.odcs.yaml +20 -0
  94. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/smoke/trino-stack/docker-compose.yml +4 -1
  95. continuo_python_runtime-0.13.0/tests/test_check_version_bumps_tags.py +210 -0
  96. continuo_python_runtime-0.13.0/tests/test_cli.py +463 -0
  97. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_closure.py +1 -1
  98. continuo_python_runtime-0.13.0/tests/test_contract_loader.py +105 -0
  99. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_contract_pin_consistency.py +12 -0
  100. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_csv_loader.py +15 -15
  101. continuo_python_runtime-0.13.0/tests/test_entrypoint_shims.py +23 -0
  102. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_harness.py +72 -53
  103. continuo_python_runtime-0.13.0/tests/test_harness_content_check.py +198 -0
  104. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_harness_write_modes.py +57 -9
  105. continuo_python_runtime-0.13.0/tests/test_hashing.py +268 -0
  106. continuo_python_runtime-0.13.0/tests/test_hashing_vectors.py +35 -0
  107. continuo_python_runtime-0.13.0/tests/test_install_image_pins.py +148 -0
  108. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_kind_registries.py +3 -4
  109. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_lint.py +77 -0
  110. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_no_legacy_names.py +2 -1
  111. continuo_python_runtime-0.13.0/tests/test_packages.py +117 -0
  112. continuo_python_runtime-0.13.0/tests/test_projection_vectors.py +34 -0
  113. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_release_pipeline_structure.py +13 -3
  114. continuo_python_runtime-0.13.0/tests/test_template.py +643 -0
  115. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_types.py +34 -0
  116. continuo_python_runtime-0.13.0/tests/test_validation_preflight.py +524 -0
  117. continuo_python_runtime-0.13.0/tests/test_verify_installed_packages.py +34 -0
  118. continuo_python_runtime-0.13.0/tests/test_write_contract_fixture.py +16 -0
  119. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/uv.lock +137 -5
  120. continuo_python_runtime-0.11.0/PKG-INFO +0 -411
  121. continuo_python_runtime-0.11.0/README.md +0 -391
  122. continuo_python_runtime-0.11.0/adapters/postgres/README.md +0 -43
  123. continuo_python_runtime-0.11.0/continuo_python_runtime/cli.py +0 -171
  124. continuo_python_runtime-0.11.0/continuo_python_runtime/contract/loader.py +0 -483
  125. continuo_python_runtime-0.11.0/continuo_python_runtime/contract/merge.py +0 -197
  126. continuo_python_runtime-0.11.0/continuo_python_runtime/contract/paths.py +0 -38
  127. continuo_python_runtime-0.11.0/continuo_python_runtime/contract/secret_ref.py +0 -31
  128. continuo_python_runtime-0.11.0/continuo_python_runtime/hashing.py +0 -94
  129. continuo_python_runtime-0.11.0/contract/continuo_engine_contract/result.py +0 -34
  130. continuo_python_runtime-0.11.0/docs/boundary-contract.md +0 -468
  131. continuo_python_runtime-0.11.0/image-requirements-duckdb.txt +0 -3
  132. continuo_python_runtime-0.11.0/image-requirements-postgres.txt +0 -3
  133. continuo_python_runtime-0.11.0/image-requirements-trino.txt +0 -3
  134. continuo_python_runtime-0.11.0/template/Dockerfile +0 -16
  135. continuo_python_runtime-0.11.0/template/contracts/example.yml +0 -39
  136. continuo_python_runtime-0.11.0/template/contracts/example_csv.yml +0 -17
  137. continuo_python_runtime-0.11.0/tests/contract/test_kinds.py +0 -111
  138. continuo_python_runtime-0.11.0/tests/contract/test_loader.py +0 -899
  139. continuo_python_runtime-0.11.0/tests/contract/test_merge.py +0 -641
  140. continuo_python_runtime-0.11.0/tests/contract/test_wire_contract_write_modes.py +0 -53
  141. continuo_python_runtime-0.11.0/tests/fixtures/wire_contract_write_modes.yml +0 -53
  142. continuo_python_runtime-0.11.0/tests/smoke/node_smoke/contracts/smoke.yml +0 -13
  143. continuo_python_runtime-0.11.0/tests/test_check_version_bumps_tags.py +0 -49
  144. continuo_python_runtime-0.11.0/tests/test_cli.py +0 -325
  145. continuo_python_runtime-0.11.0/tests/test_contract_loader.py +0 -37
  146. continuo_python_runtime-0.11.0/tests/test_hashing.py +0 -195
  147. continuo_python_runtime-0.11.0/tests/test_template.py +0 -248
  148. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.claude/agents/ddd-architecture-auditor.md +0 -0
  149. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.dockerignore +0 -0
  150. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/CODEOWNERS +0 -0
  151. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  152. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  153. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  154. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  155. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/dependabot.yml +0 -0
  156. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/ci.yml +0 -0
  157. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/dco.yml +0 -0
  158. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/image-smoke.yml +0 -0
  159. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/images.yml +0 -0
  160. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/publish-pypi.yml +0 -0
  161. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/release.yml +0 -0
  162. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/security.yml +0 -0
  163. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.github/workflows/verify-packages.yml +0 -0
  164. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.gitignore +0 -0
  165. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.gitleaks.toml +0 -0
  166. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/.python-version +0 -0
  167. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/CODE_OF_CONDUCT.md +0 -0
  168. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/DCO +0 -0
  169. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/LICENSE +0 -0
  170. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/NOTICE +0 -0
  171. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/SECURITY.md +0 -0
  172. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/README.md +0 -0
  173. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/__init__.py +0 -0
  174. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/adapter.py +0 -0
  175. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/application/__init__.py +0 -0
  176. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/application/ports.py +0 -0
  177. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/domain/__init__.py +0 -0
  178. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/domain/columns.py +0 -0
  179. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/domain/identifiers.py +0 -0
  180. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/domain/layout.py +0 -0
  181. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/__init__.py +0 -0
  182. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/ddl.py +0 -0
  183. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/extensions.py +0 -0
  184. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/passfile.py +0 -0
  185. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/session.py +0 -0
  186. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/continuo_duckdb_adapter/infrastructure/settings.py +0 -0
  187. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/__init__.py +0 -0
  188. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/conftest.py +0 -0
  189. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_adapter_duckdb_proxy.py +0 -0
  190. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_adapter_duckdb_runtime.py +0 -0
  191. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_adapter_duckdb_validation.py +0 -0
  192. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_domain_duckdb_columns.py +0 -0
  193. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_domain_duckdb_identifiers.py +0 -0
  194. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_domain_duckdb_layout.py +0 -0
  195. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_infra_duckdb_session.py +0 -0
  196. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_infra_duckdb_settings_ddl.py +0 -0
  197. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_integration_duckdb_conformance.py +0 -0
  198. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_integration_duckdb_layout.py +0 -0
  199. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_integration_duckdb_nullability_probe.py +0 -0
  200. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_integration_duckdb_stack.py +0 -0
  201. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/duckdb/tests/test_integration_duckdb_validation.py +0 -0
  202. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/continuo_postgres_adapter/__init__.py +0 -0
  203. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/__init__.py +0 -0
  204. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/conftest.py +0 -0
  205. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/test_adapter_postgres_connect.py +0 -0
  206. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/test_adapter_runtime_postgres.py +0 -0
  207. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/postgres/tests/test_integration_postgres_validation.py +0 -0
  208. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/continuo_trino_adapter/__init__.py +0 -0
  209. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/__init__.py +0 -0
  210. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_adapter_runtime_trino.py +0 -0
  211. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_adapter_trino_connect.py +0 -0
  212. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_adapter_trino_writes.py +0 -0
  213. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_integration_trino_merge_probe.py +0 -0
  214. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/adapters/trino/tests/test_integration_trino_validation.py +0 -0
  215. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/__init__.py +0 -0
  216. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/closure.py +0 -0
  217. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/conform.py +0 -0
  218. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/context.py +0 -0
  219. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/contract/__init__.py +0 -0
  220. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/csv_loader.py +0 -0
  221. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/csv_readers/__init__.py +0 -0
  222. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/csv_readers/https.py +0 -0
  223. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/csv_readers/s3.py +0 -0
  224. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/csv_source.py +0 -0
  225. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/shape.py +0 -0
  226. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/types.py +0 -0
  227. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/validation/__init__.py +0 -0
  228. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/continuo_python_runtime/validation/s3.py +0 -0
  229. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/LICENSE +0 -0
  230. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/NOTICE +0 -0
  231. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/__init__.py +0 -0
  232. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/config.py +0 -0
  233. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/keys.py +0 -0
  234. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/sql.py +0 -0
  235. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/testing/__init__.py +0 -0
  236. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/continuo_engine_contract/types.py +0 -0
  237. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/__init__.py +0 -0
  238. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_config.py +0 -0
  239. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_contract_keys.py +0 -0
  240. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_contract_packaging.py +0 -0
  241. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_contract_types.py +0 -0
  242. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/contract/tests/test_sql.py +0 -0
  243. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/scripts/apply_rehearsal_version.py +0 -0
  244. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/scripts/bake_duckdb_extensions.py +0 -0
  245. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/scripts/security-scan.sh +0 -0
  246. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/template/requirements.lock +0 -0
  247. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/__init__.py +0 -0
  248. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/contract/__init__.py +0 -0
  249. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/smoke/duckdb-stack/docker-compose.yml +0 -0
  250. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/smoke/node_smoke/scripts/smoke.py +0 -0
  251. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/smoke/postgres-stack/docker-compose.yml +0 -0
  252. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/smoke/trino-stack/catalog/iceberg.properties +0 -0
  253. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_adapter_naming.py +0 -0
  254. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_ci_test_coverage.py +0 -0
  255. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_conform.py +0 -0
  256. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_context.py +0 -0
  257. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_csv_readers_https.py +0 -0
  258. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_csv_readers_integration.py +0 -0
  259. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_csv_source.py +0 -0
  260. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_errors.py +0 -0
  261. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_image_requirements_sync.py +0 -0
  262. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_image_smoke_validation.py +0 -0
  263. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_package.py +0 -0
  264. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_python_version_consistency.py +0 -0
  265. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_rehearsal_version.py +0 -0
  266. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_shape.py +0 -0
  267. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_validation_runner.py +0 -0
  268. {continuo_python_runtime-0.11.0 → continuo_python_runtime-0.13.0}/tests/test_validation_s3.py +0 -0
@@ -89,7 +89,13 @@ jobs:
89
89
  # once published. (The image build itself runs inside python:3.14-slim.)
90
90
  python-version: "3.14"
91
91
  # Ordering between the upload and this build is a `needs:` edge in
92
- # publish-pypi.yml, but an index can lag its own upload, so poll. The
92
+ # publish-pypi.yml, but an index can lag its own upload, so poll. A
93
+ # probe that succeeds does not guarantee the build's own request the
94
+ # same answer (two requests seconds apart can be served different
95
+ # copies of the index page), so the image build's install
96
+ # (scripts/install_image_pins.py) also retries while a pin is not
97
+ # served yet. This probe is the fast pre-check, and in a rehearsal it
98
+ # fetches the files compared byte for byte below. The
93
99
  # probe runs with --no-cache-dir: the simple index is served with
94
100
  # `Cache-Control: max-age=600`, which pip's HTTP cache honours, so one
95
101
  # early stale fetch would otherwise be replayed for 10 minutes, exactly
@@ -5,6 +5,231 @@ follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.13.0] - 2026-11-16
9
+
10
+ **TL;DR**
11
+
12
+ - The runtime reads ODCS contracts, through continuo-contracts 0.2.0: one
13
+ `<table>.odcs.yaml` file per node. The `nodes:` format is no longer read.
14
+ - `continuo-runtime pack` replaces `merge`. It writes `odcs-bundle.json`, and
15
+ the release kind is now `python-odcs`.
16
+ - `continuo-runtime packages` prints the packages of an image, and `pack`
17
+ records them in the bundle.
18
+ - `validate` refuses a read query that names a table without its schema.
19
+ - A node converted to ODCS with the same values keeps its `content_hash`.
20
+
21
+ **Upgrade**
22
+
23
+ 1. Rename each contract to `<table>.odcs.yaml` and write it in ODCS. The
24
+ conversion guide is "Converting a contract file" in
25
+ `docs/boundary-contract.md`.
26
+ 2. Build your image `FROM` the `v0.13.0` engine image. CI installs
27
+ `continuo-python-runtime==0.13.0` from the `FROM` line.
28
+ 3. In CI, build and push the image, then run
29
+ `continuo-runtime pack contracts/ --service <name> --repo-root . --image <pushed image> --out odcs-bundle.json`.
30
+ 4. Upload `odcs-bundle.json` to
31
+ `s3://<bucket>/<service>/<release_id>/odcs-bundle.json` and post the release
32
+ with kind `python-odcs`, which continuo accepts from the chart release that
33
+ carries continuo's PR-1a.
34
+
35
+ Versions: runtime 0.13.0 (pins continuo-contracts 0.2.0), engine contract 0.10.0, postgres adapter 0.4.0, trino adapter 0.5.0, duckdb adapter 0.3.0.
36
+
37
+ ### Breaking
38
+
39
+ - The runtime reads only ODCS contracts, through continuo-contracts 0.2.0:
40
+ one file per node, named `<table>.odcs.yaml`, or `<schema>.<table>.odcs.yaml`
41
+ for two nodes of one service that share a table name. The `nodes:` format is
42
+ no longer read, and any other `.yml` or `.yaml` file in the contracts folder
43
+ is refused, with a message that points to the conversion table in
44
+ `docs/boundary-contract.md`.
45
+ - `continuo-runtime merge` is gone. `continuo-runtime pack` replaces it and
46
+ writes `odcs-bundle.json` where `merge` wrote `contract.yaml`.
47
+ - The release kind for these services is `python-odcs` (it was `python`), and
48
+ the artifact a release carries is `odcs-bundle.json`.
49
+
50
+ ### Added
51
+
52
+ - `continuo-runtime pack <contracts> --service <name> --repo-root <dir> --out <file>`
53
+ writes `odcs-bundle.json`: each contract's text as written, the two hash
54
+ parts the repository's files give (`source_hash` and `shared_code_hash`),
55
+ the service, and the versions of the runtime and the library. It records the
56
+ package list of the image the service runs, read with `--image <ref>` or
57
+ taken from a file with `--image-packages` (give exactly one). It checks each
58
+ contract against `--service`, lints every node's script and its in-repo
59
+ import closure, and writes nothing unless every check passed.
60
+ - `continuo-runtime packages` prints every installed package of the
61
+ environment as one JSON object of normalised name to version. Run in the
62
+ service's image, it gives the list `pack` records.
63
+ - `validate` and the loader refuse a read query that names a table without its
64
+ schema. The one exception is a reference to a CTE that is in scope where the
65
+ name is used, so the body of `WITH orders AS (SELECT * FROM orders)` still has
66
+ to name the schema of the table it reads. The CTEs of a `WITH RECURSIVE` list
67
+ all see each other.
68
+ - A node of kind `python-model` is read as `python-node`, as the library reads
69
+ it.
70
+
71
+ ### Changed
72
+
73
+ - The runtime pins `continuo-contracts==0.2.0`, which adds `jsonschema` and
74
+ needs Python 3.14, as the runtime already does.
75
+ - A node's hashes come from the library's node, read from its ODCS contract. A
76
+ node converted to ODCS with the same values keeps its `content_hash`.
77
+ - The template ships `contracts/example.odcs.yaml` and
78
+ `contracts/example_csv.odcs.yaml`, and its release workflow runs `pack` and
79
+ submits the release with kind `python-odcs`.
80
+ - The template's `Dockerfile` and the engine examples in the README build on the
81
+ `v0.13.0` engine images, the first with `pack` and `packages`, so a repository
82
+ copied from the template runs the runtime its contracts and workflow need.
83
+ - The release check no longer asks for a version bump when only a package's
84
+ `tests/` folder changed, because the wheel does not ship it.
85
+ - `hash` only hashes: the lint of a node's import closure and the refusal of a
86
+ `sitecustomize.py` or `usercustomize.py` at the repository root run in
87
+ `pack`, and the lint also runs in `lint`.
88
+ - Two contract files whose tables differ only in the case of their names are
89
+ refused as one table.
90
+
91
+ ## [0.12.0] - 2026-11-11
92
+
93
+ **TL;DR**
94
+
95
+ - Hashes now come from continuo-contracts 0.1.0, the library continuo uses.
96
+ Every Python node's `content_hash` changes once, on its first release with
97
+ this version.
98
+ - A node can list the files its script reads in `assets`, and the lint refuses
99
+ five kinds of code the hash cannot see.
100
+ - The harness checks, when a node starts, that the image holds what the
101
+ release hashed.
102
+ - The validation runner has two new read-only ops, `seed_preflight` and
103
+ `probe_views`.
104
+ - Adapter authors: every adapter must now declare `drop_semantics`.
105
+
106
+ **Upgrade**
107
+
108
+ 1. Build your domain image `FROM` the `v0.12.0` engine image and install
109
+ `continuo-python-runtime==0.12.0` in CI. The template's "Pin the runtime to
110
+ the image" step does this from the `FROM` line. A `Dockerfile.pip`
111
+ repository replaces that step as the template README says.
112
+ 2. Move each Python service with continuo's rebaseline release, not an
113
+ ordinary one: its `content_hash` changes once.
114
+ 3. `COPY` into the image every file a node lists in `assets`.
115
+ 4. Bring-your-own adapter: declare `drop_semantics`. You may also implement
116
+ `DependentsIntrospection` and run `DependentsConformance`.
117
+
118
+ Versions: runtime 0.12.0 (pins continuo-contracts 0.1.0), engine contract 0.10.0, postgres adapter 0.4.0, trino adapter 0.5.0, duckdb adapter 0.3.0.
119
+
120
+ ### Added
121
+
122
+ - Every engine adapter declares `drop_semantics`, what dropping a table does
123
+ to the objects that read it: `"cascade"` (they are destroyed) or
124
+ `"late_binding"` (they survive and fail on their next read). The postgres
125
+ adapter declares `cascade`, the trino and duckdb adapters `late_binding`.
126
+ `StartupConformance` has a new case, `test_declares_a_drop_semantics`.
127
+ - `continuo_engine_contract.port` has an opt-in capability,
128
+ `DependentsIntrospection`, with `Dependent` and `Dependents` and the
129
+ vocabularies `DROP_SEMANTICS`, `COMPLETENESS` and `DEPENDENT_KINDS`. Its one
130
+ method, `dependents(schema, table)`, lists every object a drop of the table
131
+ would destroy or leave reading a missing table, and gives none for a missing
132
+ table or schema. The conformance class `DependentsConformance` checks it,
133
+ with an overridable `create_view` hook.
134
+ - `PostgresAdapter.dependents(schema, table)` lists, with `completeness="exact"`,
135
+ every object a `DROP TABLE ... CASCADE` of the table destroys or changes: views
136
+ and materialized views to any depth, SQL-standard functions and procedures,
137
+ foreign keys and policies on other tables, rules, inheriting tables, tables
138
+ with a column of the table's row type or of an array of it, the types built
139
+ on the table (a domain, a range, a composite type) and what reads them, and
140
+ what reads a partition of the table or a sequence of it (owned or identity).
141
+ Each object is listed once, at its shallowest depth, and the walk follows at
142
+ most 32 dependency levels. It reads `pg_depend`, so it sees what
143
+ `information_schema.view_table_usage` misses, and finds the table
144
+ case-insensitively. `TestPostgresDependents` plus a guard that snapshots the
145
+ schemas around a rolled-back cascade check it. The adapter's README lists
146
+ every kind.
147
+ - `TrinoAdapter.dependents(schema, table)` lists, with
148
+ `completeness="best_effort"`, the views whose SQL reads the table. It reads
149
+ `information_schema.views` of the adapter's catalog in one query and parses
150
+ each definition with sqlglot: an unqualified name is in the view's own
151
+ schema, a name without a catalog is in the adapter's, and a CTE of the same
152
+ statement is not the table. A definition that does not parse is matched by
153
+ the table's name as a whole identifier, with a WARNING naming the view. It
154
+ misses dynamic SQL, views in other catalogs, and views that read the table
155
+ only through another view. The adapter pins `sqlglot==30.23.0`, as the
156
+ engine contract does, and `TestTrinoDependents` runs the conformance cases
157
+ against Trino and the Iceberg REST catalog.
158
+ - The validation runner has two read-only ops, `seed_preflight` and `probe_views`
159
+ (`VALIDATION_OP`), which need no `DBT_TARGET_SCHEMA`. `seed_preflight` lists the
160
+ objects a reload of a seed's production table would destroy or leave reading
161
+ a missing table, compares them with `SEED_PREFLIGHT_ALLOWED` and
162
+ `SEED_PREFLIGHT_ACKNOWLEDGED`, and in `check` mode exits 1 with `reason`
163
+ `unowned_dependents`, `engine_mismatch` or `warehouse_unreachable` when the
164
+ reload must not run; `report` mode prints the same `reason` and exits 0.
165
+ `probe_views` reads each view of `PROBE_VIEWS` with a zero-row `SELECT` and
166
+ reports which no longer bind, without failing. Both print one result block
167
+ with their own keys after `reason`; `result_block` takes them as a keyword-only
168
+ `fields` mapping and refuses a key that shadows a standard one. The README
169
+ section "Seed preflight and view probe" has the inputs, the block and the
170
+ decision table.
171
+ - `continuo-runtime --version` prints `continuo-runtime <version>` to stdout and
172
+ exits 0. The template's `release.yml` has a "Pin the runtime to the image"
173
+ step that reads the version from the Dockerfile's
174
+ `FROM ghcr.io/carolsimone/continuo-python-runtime-<engine>:vX.Y.Z` line
175
+ (failing with an `::error::` when none matches), installs exactly that
176
+ runtime, and fails when the version `uv tool list` reports differs, so CI hashes
177
+ with the runtime the image runs.
178
+ - The harness checks, before it builds the adapter, that the image holds what
179
+ the release hashed. When `CONTENT_HASH` is set it recomputes the node's
180
+ `content_hash` from the files in the image, with the helpers `merge` uses,
181
+ and a difference, or a hashed file missing from the image, fails the node
182
+ with `ImageContractMismatch` (a `ContractError`) and exit 1. The message
183
+ names both hashes, the three parts, the unit paths and the runtime version.
184
+ An unset or empty `CONTENT_HASH` logs a warning and runs. The result block
185
+ carries an optional `reason` key after `unique_id`
186
+ (`image_contract_mismatch`); a block without one keeps its bytes, and
187
+ `continuo_engine_contract.result.result_block` takes it as a keyword-only
188
+ `reason`.
189
+ - `assets:` on a `python-node` or `python-api` node lists the repository files
190
+ its script reads. `merge` folds their bytes into `shared_code_hash`, so
191
+ editing one changes the node's `content_hash`, and writes `assets` on the
192
+ wire entry when a node declares any. A missing path, a non-file or a path
193
+ that resolves outside the repository fails `merge`; `python-csv` refuses the
194
+ key. The image must `COPY` the files.
195
+ - `lint` and `merge` refuse code the content hash cannot see: `runpy`, a change
196
+ to `sys.path`, a `sitecustomize` or `usercustomize` module, `compile()` and
197
+ `types.FunctionType`, and `pickle.load`, `pickle.loads` and
198
+ `pickle.Unpickler`. `merge` also refuses a `sitecustomize.py` or
199
+ `usercustomize.py` at the repository root. A file a script reads belongs in
200
+ `assets`.
201
+
202
+ ### Changed
203
+
204
+ - **Breaking for adapter authors.** `WarehouseAdapter.drop_semantics` is a
205
+ required declaration with no default: an adapter that does not set it cannot
206
+ pass the new conformance case.
207
+ - A node's hashes come from continuo-contracts 0.1.0, the library
208
+ continuo's topology-controller uses too, so CI and continuo compute the
209
+ same values. `config_hash` hashes the node's code projection: `owner`,
210
+ `description`, `criticality` and `schedule` no longer move a node's hash,
211
+ a column type's spelling does not (`INT` and `INTEGER` hash alike), and a
212
+ read's SQL is hashed as written, apart from LF line endings and the
213
+ whitespace around it. `shared_code_hash` folds each import closure file
214
+ with its repo-relative path, so two files that swap their contents change
215
+ it. Every Python node's `content_hash` changes once, on the first release
216
+ built with this version. The wire entry keeps its keys and the fold.
217
+ - A node whose `config` holds a value the hash cannot write (an integer
218
+ beyond 2**53 - 1, NaN or an infinity, nesting deeper than 99 levels, a
219
+ lone surrogate) fails `merge` with a `ContractError` naming the node.
220
+ - The package gate no longer counts `continuo-contracts` as a first-party
221
+ distribution.
222
+
223
+ ### Fixed
224
+
225
+ - A release's image build no longer fails when PyPI still serves an index
226
+ page from before the upload. The engine images install their pins through
227
+ `scripts/install_image_pins.py`, which retries an install while pip says a
228
+ pinned version is not served yet (up to 10 minutes) and fails any other
229
+ error at once. The v0.11.0 trino amd64 build hit this 40 s after the upload,
230
+ although the runner's own probe had seen the new version. No package
231
+ changes.
232
+
8
233
  ## [0.11.0] - 2026-11-04
9
234
 
10
235
  **TL;DR**
@@ -28,11 +28,13 @@ merged PRs before adding anything new.
28
28
  conformance suite for engine adapter authors. Its dependencies are installed
29
29
  with `continuo-engine-contract[testing]`.
30
30
 
31
- - Every adapter MUST satisfy the engine contract and pass `StartupConformance`
32
- (`from_env` waits out a warehouse that refuses connections at first) and the
31
+ - Every adapter MUST satisfy the engine contract, declare a `drop_semantics`,
32
+ and pass `StartupConformance` (`from_env` waits out a warehouse that refuses
33
+ connections at first, and `drop_semantics` is declared) and the
33
34
  shared conformance classes for every capability it declares:
34
35
  `IntrospectionConformance` for `TableIntrospection`, `AppendConformance` for
35
- `AppendCapable`, and `UpsertConformance` for `UpsertCapable`. Append and
36
+ `AppendCapable`, `UpsertConformance` for `UpsertCapable`, and
37
+ `DependentsConformance` for `DependentsIntrospection`. Append and
36
38
  upsert adapters must also run the introspection class. An adapter need not
37
39
  declare capabilities its engine cannot support.
38
40
  - Each adapter's integration suite MUST subclass the applicable classes,
@@ -151,7 +151,7 @@ gh workflow run publish-pypi.yml --ref <branch> -f dry_run=true
151
151
  |---|---|---|---|---|
152
152
  | `prepare`, `verify-packages`, `preflight-*` | nothing | nothing | none | Fix, delete the tag (`git push --delete origin vX.Y.Z`), re-tag. |
153
153
  | `publish-packages` | maybe some of the five files | nothing | none | Re-run failed jobs (`skip-existing` makes it resumable), or fix forward. |
154
- | `candidate-build` | published | maybe untagged digests | none | Transient (index lag, runner): re-run failed jobs. Real defect: yank the files on pypi.org and **fix forward** with a new version. |
154
+ | `candidate-build` | published | maybe untagged digests | none | The build waits up to 10 minutes on its own for the index to serve the new pins. Transient (a runner, a longer index lag): re-run failed jobs. Real defect: yank the files on pypi.org and **fix forward** with a new version. |
155
155
  | `candidate-verify` | published | untagged candidates | none | Same: an image defect means yank and fix forward. |
156
156
  | `promote` | published | verified digests, maybe some engines tagged | none | Re-run failed jobs; tagging is idempotent and refuses to move an existing tag to different content. |
157
157
 
@@ -12,30 +12,17 @@ FROM python:3.14.8-slim
12
12
  # package names, so it is never an extra index.
13
13
  # Any other value fails the build.
14
14
  # The pinned versions live in image-requirements-duckdb.txt, kept equal to the
15
- # repo's pyproject versions by tests/test_image_requirements_sync.py. See
16
- # Dockerfile.postgres for the full reasoning behind the two-step wheelhouse
17
- # install (exact local files first, --no-index --no-deps, then PyPI for the
18
- # third-party dependencies).
15
+ # repo's pyproject versions by tests/test_image_requirements_sync.py.
16
+ # scripts/install_image_pins.py runs the installs for each WHEEL_SOURCE (and
17
+ # says why the wheelhouse wheels are installed by exact file first). It
18
+ # retries an index install while the index does not serve a just-uploaded
19
+ # pin yet: a release builds its images right after the upload.
19
20
  ARG WHEEL_SOURCE=pypi
20
21
  COPY image-requirements-duckdb.txt /tmp/req.txt
21
22
  COPY wheelhous[e] /tmp/wheelhouse
22
- RUN set -eu; \
23
- if [ "$WHEEL_SOURCE" = "wheelhouse" ]; then \
24
- pip install --no-cache-dir --no-index --no-deps \
25
- /tmp/wheelhouse/continuo_engine_contract-*.whl \
26
- /tmp/wheelhouse/continuo_python_runtime-*.whl \
27
- /tmp/wheelhouse/continuo_duckdb_adapter-*.whl; \
28
- pip install --no-cache-dir -r /tmp/req.txt; \
29
- elif [ "$WHEEL_SOURCE" = "testpypi" ]; then \
30
- pip install --no-cache-dir --no-deps --only-binary=:all: --index-url https://test.pypi.org/simple/ \
31
- -r /tmp/req.txt; \
32
- pip install --no-cache-dir -r /tmp/req.txt; \
33
- elif [ "$WHEEL_SOURCE" = "pypi" ]; then \
34
- pip install --no-cache-dir -r /tmp/req.txt; \
35
- else \
36
- echo "unknown WHEEL_SOURCE=$WHEEL_SOURCE (pypi|testpypi|wheelhouse)" >&2; exit 1; \
37
- fi; \
38
- rm -rf /tmp/req.txt /tmp/wheelhouse
23
+ COPY scripts/install_image_pins.py /tmp/install_image_pins.py
24
+ RUN python /tmp/install_image_pins.py --source "$WHEEL_SOURCE" --adapter duckdb --requirements /tmp/req.txt --wheelhouse /tmp/wheelhouse \
25
+ && rm -rf /tmp/req.txt /tmp/wheelhouse /tmp/install_image_pins.py
39
26
  # The adapter LOADs ducklake/postgres/httpfs/aws from this directory. They are
40
27
  # installed now, as root, because the runtime user below has no home directory
41
28
  # and the container may have no network. HOME=/tmp gives DuckDB a writable
@@ -15,48 +15,25 @@ FROM python:3.14.8-slim
15
15
  # Any other value fails the build.
16
16
  # The wheelhouse holds only this repo's own first-party wheels (built via
17
17
  # `uv build --all-packages`); third-party dependencies always resolve from
18
- # PyPI in both branches, so the wheelhouse branch never passes --no-index to
19
- # the requirements install below.
18
+ # PyPI in both branches, so the wheelhouse install never passes --no-index to
19
+ # the requirements install.
20
20
  # The pinned versions live in image-requirements-postgres.txt, kept equal to the
21
21
  # repo's pyproject versions by tests/test_image_requirements_sync.py.
22
22
  #
23
- # The wheelhouse branch installs its three first-party wheels (contract,
24
- # runtime, adapter) by exact local file first, with --no-index --no-deps: a
25
- # plain `--find-links=/tmp/wheelhouse -r req.txt` is not enough, because pip
26
- # does not prefer a find-links wheel over an index match at the same
27
- # name+version, and continuo-python-runtime / continuo-engine-contract are
28
- # already published on PyPI under the version this repo's HEAD currently
29
- # carries (a routine dependency bump lands between releases without a version
30
- # bump). Left unpinned-by-file, pip silently installs the last PyPI release's
31
- # transitive pins instead of the wheel this build just produced, defeating
32
- # the point of testing an unreleased change. Installing the exact local files
33
- # first (no index contacted at all for this step) is unambiguous; the second
34
- # install then only has PyPI-only third-party deps left to resolve, and finds
35
- # the three first-party packages already satisfied.
23
+ # scripts/install_image_pins.py runs the installs for each WHEEL_SOURCE (and
24
+ # says why the wheelhouse wheels are installed by exact file first). It
25
+ # retries an index install while the index does not serve a just-uploaded
26
+ # pin yet: a release builds its images right after the upload.
36
27
  ARG WHEEL_SOURCE=pypi
37
28
  COPY image-requirements-postgres.txt /tmp/req.txt
38
29
  # Optional COPY: the bracket glob matches ./wheelhouse when it exists (the CI/PR
39
30
  # WHEEL_SOURCE=wheelhouse path builds it) and no-ops when it is absent, so a
40
31
  # release build or a plain `docker build -f Dockerfile.postgres .` needs no
41
- # pre-created directory. Only the wheelhouse branch below reads its contents.
32
+ # pre-created directory. Only the wheelhouse install reads its contents.
42
33
  COPY wheelhous[e] /tmp/wheelhouse
43
- RUN set -eu; \
44
- if [ "$WHEEL_SOURCE" = "wheelhouse" ]; then \
45
- pip install --no-cache-dir --no-index --no-deps \
46
- /tmp/wheelhouse/continuo_engine_contract-*.whl \
47
- /tmp/wheelhouse/continuo_python_runtime-*.whl \
48
- /tmp/wheelhouse/continuo_postgres_adapter-*.whl; \
49
- pip install --no-cache-dir -r /tmp/req.txt; \
50
- elif [ "$WHEEL_SOURCE" = "testpypi" ]; then \
51
- pip install --no-cache-dir --no-deps --only-binary=:all: --index-url https://test.pypi.org/simple/ \
52
- -r /tmp/req.txt; \
53
- pip install --no-cache-dir -r /tmp/req.txt; \
54
- elif [ "$WHEEL_SOURCE" = "pypi" ]; then \
55
- pip install --no-cache-dir -r /tmp/req.txt; \
56
- else \
57
- echo "unknown WHEEL_SOURCE=$WHEEL_SOURCE (pypi|testpypi|wheelhouse)" >&2; exit 1; \
58
- fi; \
59
- rm -rf /tmp/req.txt /tmp/wheelhouse
34
+ COPY scripts/install_image_pins.py /tmp/install_image_pins.py
35
+ RUN python /tmp/install_image_pins.py --source "$WHEEL_SOURCE" --adapter postgres --requirements /tmp/req.txt --wheelhouse /tmp/wheelhouse \
36
+ && rm -rf /tmp/req.txt /tmp/wheelhouse /tmp/install_image_pins.py
60
37
  # PYTHONPATH is belt-and-braces: the harness also inserts APP_ROOT and the
61
38
  # node script's own directory at the front of sys.path before executing it.
62
39
  ENV CONTRACT_DIR=/app/contracts APP_ROOT=/app PYTHONPATH=/app
@@ -15,48 +15,25 @@ FROM python:3.14.8-slim
15
15
  # Any other value fails the build.
16
16
  # The wheelhouse holds only this repo's own first-party wheels (built via
17
17
  # `uv build --all-packages`); third-party dependencies always resolve from
18
- # PyPI in both branches, so the wheelhouse branch never passes --no-index to
19
- # the requirements install below.
18
+ # PyPI in both branches, so the wheelhouse install never passes --no-index to
19
+ # the requirements install.
20
20
  # The pinned versions live in image-requirements-trino.txt, kept equal to the
21
21
  # repo's pyproject versions by tests/test_image_requirements_sync.py.
22
22
  #
23
- # The wheelhouse branch installs its three first-party wheels (contract,
24
- # runtime, adapter) by exact local file first, with --no-index --no-deps: a
25
- # plain `--find-links=/tmp/wheelhouse -r req.txt` is not enough, because pip
26
- # does not prefer a find-links wheel over an index match at the same
27
- # name+version, and continuo-python-runtime / continuo-engine-contract are
28
- # already published on PyPI under the version this repo's HEAD currently
29
- # carries (a routine dependency bump lands between releases without a version
30
- # bump). Left unpinned-by-file, pip silently installs the last PyPI release's
31
- # transitive pins instead of the wheel this build just produced, defeating
32
- # the point of testing an unreleased change. Installing the exact local files
33
- # first (no index contacted at all for this step) is unambiguous; the second
34
- # install then only has PyPI-only third-party deps left to resolve, and finds
35
- # the three first-party packages already satisfied.
23
+ # scripts/install_image_pins.py runs the installs for each WHEEL_SOURCE (and
24
+ # says why the wheelhouse wheels are installed by exact file first). It
25
+ # retries an index install while the index does not serve a just-uploaded
26
+ # pin yet: a release builds its images right after the upload.
36
27
  ARG WHEEL_SOURCE=pypi
37
28
  COPY image-requirements-trino.txt /tmp/req.txt
38
29
  # Optional COPY: the bracket glob matches ./wheelhouse when it exists (the CI/PR
39
30
  # WHEEL_SOURCE=wheelhouse path builds it) and no-ops when it is absent, so a
40
31
  # release build or a plain `docker build -f Dockerfile.trino .` needs no
41
- # pre-created directory. Only the wheelhouse branch below reads its contents.
32
+ # pre-created directory. Only the wheelhouse install reads its contents.
42
33
  COPY wheelhous[e] /tmp/wheelhouse
43
- RUN set -eu; \
44
- if [ "$WHEEL_SOURCE" = "wheelhouse" ]; then \
45
- pip install --no-cache-dir --no-index --no-deps \
46
- /tmp/wheelhouse/continuo_engine_contract-*.whl \
47
- /tmp/wheelhouse/continuo_python_runtime-*.whl \
48
- /tmp/wheelhouse/continuo_trino_adapter-*.whl; \
49
- pip install --no-cache-dir -r /tmp/req.txt; \
50
- elif [ "$WHEEL_SOURCE" = "testpypi" ]; then \
51
- pip install --no-cache-dir --no-deps --only-binary=:all: --index-url https://test.pypi.org/simple/ \
52
- -r /tmp/req.txt; \
53
- pip install --no-cache-dir -r /tmp/req.txt; \
54
- elif [ "$WHEEL_SOURCE" = "pypi" ]; then \
55
- pip install --no-cache-dir -r /tmp/req.txt; \
56
- else \
57
- echo "unknown WHEEL_SOURCE=$WHEEL_SOURCE (pypi|testpypi|wheelhouse)" >&2; exit 1; \
58
- fi; \
59
- rm -rf /tmp/req.txt /tmp/wheelhouse
34
+ COPY scripts/install_image_pins.py /tmp/install_image_pins.py
35
+ RUN python /tmp/install_image_pins.py --source "$WHEEL_SOURCE" --adapter trino --requirements /tmp/req.txt --wheelhouse /tmp/wheelhouse \
36
+ && rm -rf /tmp/req.txt /tmp/wheelhouse /tmp/install_image_pins.py
60
37
  # PYTHONPATH is belt-and-braces: the harness also inserts APP_ROOT and the
61
38
  # node script's own directory at the front of sys.path before executing it.
62
39
  ENV CONTRACT_DIR=/app/contracts APP_ROOT=/app PYTHONPATH=/app