Properly handle and route stdout/err from nbopen subprocess - #40
Properly handle and route stdout/err from nbopen subprocess#40akutuva21 wants to merge 2 commits into
Conversation
…ess call. Co-authored-by: akutuva21 <44119804+akutuva21@users.noreply.github.com>
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
akutuva21
commented
Apr 13, 2026
Superseded by #89 nbopen stdout/stderr handling. |
Packaging (B3): add extras_require={"bngsim": ["bngsim>=0.9.10"]} so the
optional in-process engine is discoverable via `pip install bionetgen[bngsim]`,
while keeping bngsim out of install_requires (never a hard dependency). The
extra's floor matches MINIMUM_BNGSIM_VERSION in the bridge.
Bridge: bump MINIMUM_BNGSIM_VERSION 0.6.0 -> 0.9.10. 0.9.0 settled the
method-independent gdat/scan output schema (bngsim #58) the parity differ
normalizes against; 0.9.10 is the current validated release. Refresh the
floor-rationale comment, which still cited the stale 0.6.0/#40 reason.
Update the version-guard test's minimum-version case to 0.9.10.
With bngsim absent the bridge soft-imports to the legacy subprocess path
unchanged; the bngsim test files skip/pass cleanly (239 passed, 9 skipped,
0 errors with bngsim genuinely uninstalled).
This replaces the usage of
run_commandinbionetgen/core/main.py:236with a directsubprocess.Popencall. This allows passing the pre-configuredstdoutandstderrconfiguration streams dynamically resolved from theapp.config, captures the output utilizingprocess.communicate(), and logs the output through the application's built-inapp.log.infoandapp.log.errorlogger.PR created automatically by Jules for task 337248941238460958 started by @akutuva21