Skip to content

Fix SSL certificate verification for Nuitka binaries on macOS#86

Merged
corv89 merged 4 commits intomainfrom
fix-ssl-certificates-macos
Jan 7, 2026
Merged

Fix SSL certificate verification for Nuitka binaries on macOS#86
corv89 merged 4 commits intomainfrom
fix-ssl-certificates-macos

Conversation

@corv89
Copy link
Owner

@corv89 corv89 commented Jan 7, 2026

Summary

  • Add get_ssl_context() helper that tries known certificate locations when the default SSL context fails to find system certificates
  • Fix macOS stdlib download URL to use PyPy 3.8 v7.3.11 (v7.3.17 doesn't exist on downloads.python.org)

Test plan

  • Tests pass locally
  • Test shannot setup runtime --force on macOS with Nuitka binary

corv89 added 3 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
Add get_ssl_context() helper that tries known certificate locations
when the default SSL context fails to find system certificates.

Also fix macOS stdlib URL to use v7.3.11 (v7.3.17 doesn't exist).

Bump version to 0.10.2.
@corv89 corv89 self-assigned this Jan 7, 2026
@corv89 corv89 added the bug Something isn't working label Jan 7, 2026
@corv89 corv89 merged commit 5017731 into main Jan 7, 2026
14 checks passed
@corv89 corv89 deleted the fix-ssl-certificates-macos branch January 7, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant