Python Native Wheel Failures

Fix a Python package that builds from source, fails to compile, or will not import because no wheel matches the platform. Prove whether a wheel exists for the exact target before any compiler (pip debug --verbose for accepted tags, then pip download with --only-binary=:all: and --platform), then choose in order: a version with a wheel, a glibc base image instead of musl, or a wheel built once in a builder stage. Set PIP_ONLY_BINARY so a silent source build fails; auditwheel show checks bundled libraries. Use whenever "error: command gcc failed", "pip install is building from source for 20 minutes", "no matching distribution on Alpine", "fails on Apple Silicon and arm64 Docker", or "cannot open shared object file after install". Not for unsatisfiable versions (dependency-resolution-conflict), image choice for security (image-hardening), or linking your own C code (native-linking-errors).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit b6c5712856

Frequently asked questions

npx get-skill add greenblacked/python-native-wheel-failures