Skip to content

Auto-download sandbox binary and complete macOS support#85

Merged
corv89 merged 2 commits intomainfrom
auto-download-sandbox-binary
Jan 7, 2026
Merged

Auto-download sandbox binary and complete macOS support#85
corv89 merged 2 commits intomainfrom
auto-download-sandbox-binary

Conversation

@corv89
Copy link
Owner

@corv89 corv89 commented Jan 7, 2026

Summary

  • Auto-download sandbox binary: shannot run now automatically downloads the PyPy sandbox binary on first run, matching the existing auto-download behavior for the stdlib
  • Complete macOS support: Platform-specific PyPy versions with automatic detection:
    • Linux: PyPy 3.6, sandbox 7.3.6 (stable)
    • macOS: PyPy 3.8, sandbox 7.3.17 (experimental)
  • Platform-aware library naming (.so vs .dylib)
  • Graceful failure when binary unavailable (user gets manual instructions)

Test plan

  • All existing tests pass (191 passed, 6 skipped)
  • Linting passes
  • Type checking passes
  • Manual test on macOS: first run should auto-download both stdlib and binary
  • Manual test on Linux: verify existing behavior unchanged

corv89 added 2 commits January 7, 2026 12:19
- Auto-download PyPy sandbox binary on first `shannot run`
- Add macOS support with platform-specific PyPy versions:
  - Linux: PyPy 3.6, sandbox 7.3.6 (stable)
  - macOS: PyPy 3.8, sandbox 7.3.17 (experimental)
- Add platform-aware library naming (.so vs .dylib)
- Graceful failure when binary unavailable (user gets instructions)
- Update deploy.py to use new platform-specific config
@corv89 corv89 self-assigned this Jan 7, 2026
@corv89 corv89 added the enhancement New feature or request label Jan 7, 2026
@corv89 corv89 merged commit 9f3e657 into main Jan 7, 2026
14 checks passed
@corv89 corv89 deleted the auto-download-sandbox-binary branch January 7, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant