continuo-python-runtime 0.10.0__py3-none-any.whl → 0.11.0__py3-none-any.whl
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.
- continuo_python_runtime/harness.py +8 -0
- {continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/METADATA +12 -9
- {continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/RECORD +7 -7
- {continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/WHEEL +1 -1
- {continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/entry_points.txt +0 -0
- {continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/licenses/LICENSE +0 -0
- {continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -392,6 +392,14 @@ def run_node(
|
|
|
392
392
|
print(result_block("success", message=f"rows={conformed.num_rows}", unique_id=node_id))
|
|
393
393
|
return 0
|
|
394
394
|
except HarnessError as err:
|
|
395
|
+
# Logged as well as printed: the executor cuts the result block out of
|
|
396
|
+
# the pod log before storing it, so the log holds only what is logged.
|
|
397
|
+
# The traceback is kept when the error wraps another exception (a
|
|
398
|
+
# driver error, the script's own exception), whose frames locate it.
|
|
399
|
+
logger.error(
|
|
400
|
+
"node %s failed: %s", node_id, err.sentinel_message(),
|
|
401
|
+
exc_info=err.__cause__ is not None,
|
|
402
|
+
)
|
|
395
403
|
print(
|
|
396
404
|
result_block(
|
|
397
405
|
"error", message=err.sentinel_message(), failures=1, unique_id=node_id
|
{continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: continuo-python-runtime
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
4
4
|
Summary: Runtime harness, contract tooling, and CI lint for Continuo python nodes.
|
|
5
5
|
Author: Simone Carolini
|
|
6
6
|
Maintainer: Simone Carolini
|
|
@@ -11,11 +11,11 @@ Classifier: Development Status :: 4 - Beta
|
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.14
|
|
13
13
|
Requires-Python: >=3.14
|
|
14
|
-
Requires-Dist: boto3==1.43.
|
|
15
|
-
Requires-Dist: continuo-engine-contract==0.
|
|
16
|
-
Requires-Dist: pyarrow==
|
|
14
|
+
Requires-Dist: boto3==1.43.114
|
|
15
|
+
Requires-Dist: continuo-engine-contract==0.9.0
|
|
16
|
+
Requires-Dist: pyarrow==26.0.0
|
|
17
17
|
Requires-Dist: pyyaml==6.0.3
|
|
18
|
-
Requires-Dist: sqlglot==30.
|
|
18
|
+
Requires-Dist: sqlglot==30.23.0
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
|
|
21
21
|
# Continuo Python Runtime
|
|
@@ -340,7 +340,10 @@ declared `output_columns` on the table `run()` returned, in this order:
|
|
|
340
340
|
Every runtime failure is one of five `HarnessError` subclasses
|
|
341
341
|
(`continuo_python_runtime/errors.py`). The sentinel result block's message
|
|
342
342
|
is prefixed `<ErrorClass>: ` so failures can be triaged without parsing free
|
|
343
|
-
text.
|
|
343
|
+
text. The harness also logs the same message at ERROR on stderr, with the
|
|
344
|
+
traceback of the exception it wraps (a driver error, the script's own
|
|
345
|
+
exception), so the stored log of a failed run names its failure: Continuo cuts
|
|
346
|
+
the result block out of the log before storing it.
|
|
344
347
|
|
|
345
348
|
| Class | Meaning | Typical fix target |
|
|
346
349
|
| --- | --- | --- |
|
|
@@ -356,11 +359,11 @@ A domain repo picks its warehouse engine by which base image it builds
|
|
|
356
359
|
`FROM`:
|
|
357
360
|
|
|
358
361
|
```dockerfile
|
|
359
|
-
FROM ghcr.io/carolsimone/continuo-python-runtime-postgres:v0.
|
|
362
|
+
FROM ghcr.io/carolsimone/continuo-python-runtime-postgres:v0.11.0
|
|
360
363
|
# or
|
|
361
|
-
FROM ghcr.io/carolsimone/continuo-python-runtime-trino:v0.
|
|
364
|
+
FROM ghcr.io/carolsimone/continuo-python-runtime-trino:v0.11.0
|
|
362
365
|
# or
|
|
363
|
-
FROM ghcr.io/carolsimone/continuo-python-runtime-duckdb:v0.
|
|
366
|
+
FROM ghcr.io/carolsimone/continuo-python-runtime-duckdb:v0.11.0
|
|
364
367
|
```
|
|
365
368
|
|
|
366
369
|
The engine is part of the image **name**; the tag is the bare version, so
|
{continuo_python_runtime-0.10.0.dist-info → continuo_python_runtime-0.11.0.dist-info}/RECORD
RENAMED
|
@@ -6,7 +6,7 @@ continuo_python_runtime/context.py,sha256=K-9XXYlQ4OZ250rCOq6EJNq7fg_D5sK6tOcu7D
|
|
|
6
6
|
continuo_python_runtime/csv_loader.py,sha256=a5Hwu-YIzIiko8X1_vqShsnzjs2-OsKEUSCHLXg_dio,3346
|
|
7
7
|
continuo_python_runtime/csv_source.py,sha256=7g8Tu6ieiJLvWH4Ep4nwYlOdGkjeePr12K5UHuO8TNc,4136
|
|
8
8
|
continuo_python_runtime/errors.py,sha256=nfZzfBhQ2ajm7USAWKKaGY2uUlh8eNjNPNYYuaOJgZE,1032
|
|
9
|
-
continuo_python_runtime/harness.py,sha256=
|
|
9
|
+
continuo_python_runtime/harness.py,sha256=iRGfVXD4h57q2IBAcq3xyhcbmOrBbjDYchTeWL1y-eY,17254
|
|
10
10
|
continuo_python_runtime/hashing.py,sha256=7lIkWOM50xt9syFNPNSTLG3T5qxqGnA6doHXPAub0Bg,3711
|
|
11
11
|
continuo_python_runtime/lint.py,sha256=M59UtCHHVQnJKNolIkvkRk_AgGAFvxD9zkKAMMK-7GI,12984
|
|
12
12
|
continuo_python_runtime/shape.py,sha256=C-5ClSxPYgoO9pUiGqw7pCnmlBbsEl-sIm7Twbf-H4o,3693
|
|
@@ -24,9 +24,9 @@ continuo_python_runtime/csv_readers/s3.py,sha256=zmvHs3TxlN2alPKrdaHzPyREmkve2nB
|
|
|
24
24
|
continuo_python_runtime/validation/__init__.py,sha256=hz5oGXsoaUoygR0_pBby9PS6cEfrre518EE0HGB58eE,79
|
|
25
25
|
continuo_python_runtime/validation/runner.py,sha256=7pbksf7MXfTNcdklCOkOXg9qfRiJtyI_dbgbL3a9LWk,14072
|
|
26
26
|
continuo_python_runtime/validation/s3.py,sha256=q8nRrT9R7L1-M4dSlDnkL7CUJMPmq86MHY_UKYFlEf8,1785
|
|
27
|
-
continuo_python_runtime-0.
|
|
28
|
-
continuo_python_runtime-0.
|
|
29
|
-
continuo_python_runtime-0.
|
|
30
|
-
continuo_python_runtime-0.
|
|
31
|
-
continuo_python_runtime-0.
|
|
32
|
-
continuo_python_runtime-0.
|
|
27
|
+
continuo_python_runtime-0.11.0.dist-info/METADATA,sha256=JAHvdx1U2JdSWc_yx5ygX3uGVSDfSpB7vBfWq0ndbmU,24065
|
|
28
|
+
continuo_python_runtime-0.11.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
29
|
+
continuo_python_runtime-0.11.0.dist-info/entry_points.txt,sha256=ZvIwSm9f9B9ZmZMf6CyF5Zt4QONn8rqaIk-u-B1CF2Y,70
|
|
30
|
+
continuo_python_runtime-0.11.0.dist-info/licenses/LICENSE,sha256=hfXfFCk-8gnps4YvHA6bjCNaSYqOrq2gAdqkXYycAQc,11345
|
|
31
|
+
continuo_python_runtime-0.11.0.dist-info/licenses/NOTICE,sha256=ykgYyQkAMx3uas90FZHzt0aTca9IgJQCLpZ4d74Pl3U,465
|
|
32
|
+
continuo_python_runtime-0.11.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|