Skip to content

v0.7.6 -- bunpy run --cpython: CPython sidecar fallback

Choose a tag to compare

@tamnd tamnd released this 27 Apr 23:32
· 65 commits to main since this release
v0.7.6
8369891

v0.7.6 -- bunpy run --cpython: CPython sidecar fallback

Released 2026-04-28.

bunpy run --cpython <file.py> executes the script via the system
CPython interpreter. This is the escape hatch for scripts that use
C-extension modules or Python features not yet supported by gocopy.

What shipped

bunpy run --cpython app.py
bunpy run --cpython app.py arg1 arg2

Behaviour

  1. Searches for python3 then python on PATH.
  2. Checks the Python version — skips Python 2 binaries.
  3. Execs the script directly: python3 <file.py> [args...].
  4. stdin/stdout/stderr are wired through; the subprocess exit code is
    propagated.

When to use

  • Scripts importing C-extension modules (numpy, pandas, etc.).
  • Scripts using async def / await or other features not yet in goipy.
  • Quick comparison: run the same script under both engines.

Requirements

  • python3 or python (Python 3.x) must be on PATH.
  • If not found: exits with bunpy run --cpython requires Python 3 on PATH.

Notes

  • --cpython bypasses goipy entirely; none of the bunpy.* modules are
    available unless installed as Python packages separately.
  • Does not compose with --watch or --inspect in this version.