Skip to main content

Apple Silicon wheels for stable-retro without bundled ROM payloads

Project description

stable-retro-apple-silicon

PyPI Python License pre-commit

🎮 Native Apple Silicon wheels for retro game reinforcement learning 🍎

🔍 Overview

The Pain: Installing stable-retro on Apple Silicon means building from source — fighting CMake, missing dependencies, and wasted hours.

The Solution: Pre-built arm64 wheels published to PyPI. One pip install and you're running retro game environments natively.

The Result: Go from zero to training in under 60 seconds on your M-series Mac.

SNES note: on Apple Silicon, SNES uses an automatic Rosetta helper because the native arm64 snes9x path is not stable across the bundled integrations. If Rosetta is not installed yet, install it once with:

softwareupdate --install-rosetta --agree-to-license

🚀 Quick Start

pip install stable-retro-apple-silicon
import stable_retro as retro

env = retro.make("Alleyway-GameBoy-v0", render_mode="rgb_array")

The deprecated compatibility alias still works:

import retro

✨ What You Get

  • Native Apple Silicon wheels published to PyPI
  • Matching downloadable wheel files attached to GitHub Releases
  • A maintained Apple Silicon packaging layer on top of upstream stable-retro
  • The same stable_retro and retro import surface users expect
  • Automatic Rosetta fallback for SNES on Apple Silicon so bundled SNES integrations keep rendering correctly

📦 Release Matrix

Item Value
Package stable-retro-apple-silicon
CPU Apple Silicon arm64
macOS 14.0+
Python 3.9 to 3.12
Wheel contents code, public cores, game metadata
Public cores Game Boy, NES, SNES, Sega Master System

🔧 Build Notes

  • Apple Silicon wheel builds use a restricted public core set: gambatte, fceumm, snes9x, genesis_plus_gx
  • CapnProto is disabled in the public wheel build path
  • Release automation publishes wheels to PyPI and also attaches them to GitHub Releases

📚 Upstream Docs

The underlying project is stable-retro, so the upstream documentation remains relevant for APIs and integration metadata:

📋 Publishing

See PUBLISHING.md for the release checklist and local wheel verification commands.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

stable_retro_apple_silicon-0.9.9.post1-cp312-cp312-macosx_14_0_arm64.whl (101.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

stable_retro_apple_silicon-0.9.9.post1-cp311-cp311-macosx_14_0_arm64.whl (101.9 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

stable_retro_apple_silicon-0.9.9.post1-cp310-cp310-macosx_14_0_arm64.whl (101.9 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

stable_retro_apple_silicon-0.9.9.post1-cp39-cp39-macosx_14_0_arm64.whl (101.9 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

Details for the file stable_retro_apple_silicon-0.9.9.post1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for stable_retro_apple_silicon-0.9.9.post1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fb143b9c5461e16e932878022fd68f00e2b4e34200443a84d248cf2cba0d4e3f
MD5 9b00978f54667929f82bbafd883cbae1
BLAKE2b-256 6f9bd52f67286f1ef359ac4ee25187450e75751ced725a122d79d5f880d9944e

See more details on using hashes here.

Provenance

The following attestation bundles were made for stable_retro_apple_silicon-0.9.9.post1-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: release.yml on tsilva/stable-retro-apple-silicon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stable_retro_apple_silicon-0.9.9.post1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for stable_retro_apple_silicon-0.9.9.post1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 03caf600dc1f37cd983ea3c6c2f2ff17efdd9047e3aac76b59a28c18f373897d
MD5 9fce12be41c2f417bf71de948ac06e96
BLAKE2b-256 77167890806bb3dd740d8b4a2330102a4158d78fcf5778d736e8e8ac95d678e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for stable_retro_apple_silicon-0.9.9.post1-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: release.yml on tsilva/stable-retro-apple-silicon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stable_retro_apple_silicon-0.9.9.post1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for stable_retro_apple_silicon-0.9.9.post1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a05ebecdbc1886f764b58b23b533ce19c33e41c129615e47e8c39e749bb2bb5c
MD5 4947fbf21f0113347cc03be96bdccd80
BLAKE2b-256 1c361f732f81a0ace5e5a797317faa9e1d62d384ac4bfa4137735bb4c0755b7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for stable_retro_apple_silicon-0.9.9.post1-cp310-cp310-macosx_14_0_arm64.whl:

Publisher: release.yml on tsilva/stable-retro-apple-silicon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stable_retro_apple_silicon-0.9.9.post1-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for stable_retro_apple_silicon-0.9.9.post1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7df2752798cd24703d0915fe1cfefbc62217af626706ec043d4f2472e8e649eb
MD5 dbe75b3e6f8bbfbe310d1d7d1e30dccf
BLAKE2b-256 95014f2c2244ece15697517b0381e278a3a7dc5de5817b8d484a0f8d81297e53

See more details on using hashes here.

Provenance

The following attestation bundles were made for stable_retro_apple_silicon-0.9.9.post1-cp39-cp39-macosx_14_0_arm64.whl:

Publisher: release.yml on tsilva/stable-retro-apple-silicon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page