sivakumar-mahalingam opened a new pull request, #982: URL: https://github.com/apache/burr/pull/982
Fixes #981 The `%burr_ui` notebook integration launched its server subprocess using the literal `python` command. In notebook environments where `python` resolves to a different installation—or is unavailable—the server could fail even though Burr was installed in the active kernel. ## Changes - Use `sys.executable` when launching the Burr UI from Jupyter. - Use `sys.executable` when launching the Burr UI from Google Colab. - Add regression tests covering both launch paths. ## How I tested this - `pytest tests/integrations/test_notebook.py -v` — 2 passed. - `python -m compileall` passed for the changed files. - `git diff --check` passed. - Black, isort, flake8, AST, whitespace, and ASF license-header checks passed. - The unrelated frontend pre-commit hook could not run because `npx` is unavailable in the test environment. No frontend files were changed. ## Notes No public API changes or documentation updates are required. The notebook UI now consistently uses the same Python environment as the active notebook kernel. ## Checklist - [x] PR has an informative and human-readable title (this will be pulled into the release notes) - [x] Changes are limited to a single goal (no scope creep) - [ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered. - [x] Any _change_ in functionality is tested - [ ] New functions are documented (with a description, list of inputs, and expected output) - [ ] Placeholder code is flagged / future TODOs are captured in comments - [ ] Project documentation has been updated if adding/changing functionality. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
