Skip to content

Export Python symbols globally for pymodule#253

Merged
knoepfel merged 1 commit intoFramework-R-D:mainfrom
knoepfel:export-python-symbols
Jan 14, 2026
Merged

Export Python symbols globally for pymodule#253
knoepfel merged 1 commit intoFramework-R-D:mainfrom
knoepfel:export-python-symbols

Conversation

@knoepfel
Copy link
Copy Markdown
Member

@knoepfel knoepfel commented Jan 14, 2026

Load pymodule Phlex module with RTLD_GLOBAL flag to expose Python symbols for loading (e.g.) NumPy.


Credit to Claude Sonnet 4.5 for assistance

@knoepfel knoepfel requested a review from wlav January 14, 2026 15:13
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

❌ Your project status has failed because the head coverage (75.81%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

@@            Coverage Diff             @@
##             main     #253      +/-   ##
==========================================
+ Coverage   75.43%   75.81%   +0.38%     
==========================================
  Files         124      124              
  Lines        2902     2898       -4     
  Branches      507      506       -1     
==========================================
+ Hits         2189     2197       +8     
+ Misses        492      486       -6     
+ Partials      221      215       -6     
Flag Coverage Δ
unittests 75.81% <100.00%> (+0.38%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
phlex/app/load_module.cpp 85.71% <100.00%> (+0.71%) ⬆️
plugins/python/src/pymodule.cpp 60.81% <ø> (+0.81%) ⬆️

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d3cc3ed...0b86d40. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@knoepfel knoepfel merged commit 3e74780 into Framework-R-D:main Jan 14, 2026
35 of 36 checks passed
@knoepfel knoepfel deleted the export-python-symbols branch January 14, 2026 17:15
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.

2 participants