Skip to content

Releases: arcee-ai/pybubble

v0.4.0

18 Feb 06:17

Choose a tag to compare

Changelog:

  • Networking is now namespace-based, isolating internal sandbox networks from each other.
  • Outbound networking (internet, port forwarding from sandbox, and accessing host-based servers) now requires slirp4netns to be installed.
  • It is now possible to forward ports from sandboxed servers to the host.
  • It is now possible to access ports from the host in the sandbox (defaults to disabled).
  • Selecting between PTY and piped input is now simpler.

v0.3.1

18 Feb 01:37

Choose a tag to compare

Changelog:

  • No longer default to throwing errors when a process returns a non-zero exit code.

v0.3.0

17 Feb 23:49

Choose a tag to compare

Changelog:

  • Optional full PTY support for sandboxed processes.
  • pybubble run now runs programs interactively in a full PTY.
  • Default rootfs is now bundled into the prebuilt wheel.
  • Switched from gzip to zstd for rootfs compression.
  • Changed run_python to run_script with customizable script runner (defaults to python) and similar return type to run.
  • If fuse-overlayfs is installed, you can now enable a writable overlay filesystem.
  • Sandbox should now be used as a context manager to ensure filesystem resources are cleaned up.
  • Host's hostname is no longer passed through to sandbox.
  • Updated uv in the default rootfs.
  • Fixed /sbin not being included in PATH.

v0.2.0

31 Jan 21:23

Choose a tag to compare

Changelog:

  • Sandbox.run now returns a SandboxedProcess object, allowing for streaming input/output.
  • pybubble run now runs all programs interactively (limited/no TTY support).

v0.1.1

17 Nov 01:53

Choose a tag to compare

  • Friendlier error message for when bubblewrap is not installed
  • Support Python 3.12
  • Add uv to default rootfs
  • Add ripgrep to default rootfs
  • Use work_dir directly instead of as a session dir root
  • When specifying a work_dir instead of using a temporary one, files persist across runs
  • Add support for gzip compression levels for rootfs generation
  • Add writable /tmp dir
  • Add writable versions of basic devices like /dev/null
  • Code now runs as "sandbox" user instead of the host's current user

v0.1.0

16 Nov 04:44

Choose a tag to compare

Initial release.