Skip to content

Revert "Statically link JSON extension in pybind CI"#20

Merged
adsharma merged 4 commits into
mainfrom
revert_static_ext
May 28, 2026
Merged

Revert "Statically link JSON extension in pybind CI"#20
adsharma merged 4 commits into
mainfrom
revert_static_ext

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

@adsharma adsharma commented May 28, 2026

Related: LadybugDB/ladybug#462

Summary

This PR keeps the JSON extension dynamically loaded in Python CI instead of statically linking it for the pybind build.

It also tightens Python test fixture cleanup so C API tests explicitly close per-test databases, connections, and async connections. That prevents native scheduler/connection state from leaking across the full test process.

For C API CI, a small INSTALL json; LOAD json; smoke runs before the full pytest suite. This primes the dynamically downloaded JSON extension path. We have seen crashes during extension LOAD without this priming. Needs further debug.

@adsharma adsharma force-pushed the revert_static_ext branch 5 times, most recently from 14f60fd to fe12da7 Compare May 28, 2026 18:37
@adsharma adsharma force-pushed the revert_static_ext branch 2 times, most recently from 608f5f0 to 1d63362 Compare May 28, 2026 20:44
@adsharma adsharma force-pushed the revert_static_ext branch from bb7a59f to 0f4af1b Compare May 28, 2026 21:13
@adsharma adsharma force-pushed the revert_static_ext branch from b109734 to 9cee298 Compare May 28, 2026 21:24
@adsharma adsharma merged commit 0d9f55c into main May 28, 2026
2 checks passed
@adsharma adsharma deleted the revert_static_ext branch May 28, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant