pypy (deprecated)

Disable date: 2027-03-29

Install command:
brew install pypy

Highly performant implementation of Python 2 in Python

https://pypy.org/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/pypy.json

Formula code: pypy.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 8.0.0
head ⚡️ HEAD

Depends on:

gdbm 1.26 GNU database manager
openssl@3 3.6.5 Cryptography and SSL/TLS Toolkit
sqlite 3.53.4 Command-line interface for SQLite
tcl-tk@8 8.6.18 Tool Command Language

Depends on when building from source:

pkgconf 3.0.7 Package compiler and linker metadata toolkit

Uses from macOS: bzip2, expat, libffi, ncurses

Binaries: easy_install_pypy, pip_pypy, pypy

A "distutils.cfg" has been written to:
    $HOMEBREW_CELLAR/pypy/8.0.0/libexec/lib-python/2.7/distutils
specifying the install-scripts folder as:
    $HOMEBREW_PREFIX/share/pypy

If you install Python packages via "pypy setup.py install", easy_install_pypy,
or pip_pypy, any provided scripts will go into the install-scripts folder
above, so you may want to add it to your PATH *after* $HOMEBREW_PREFIX/bin
so you don't overwrite tools from CPython.

Setuptools and pip have been installed, so you can use easy_install_pypy and
pip_pypy. These are now managed by the formula and should not be modified.

Known vulnerabilities in the current version:

GHSA-5xp3-jfq3-5q8x (medium) Improper Input Validation in pip
GHSA-r9hx-vwmv-q579 (high) pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)
GHSA-mq26-g339-26xf (medium) Command Injection in pip when used with Mercurial
GHSA-cx63-2mw6-8hw5 (high) setuptools vulnerable to Command Injection via package URL
GHSA-5rjg-fvgr-3xxf setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary Fi...
GHSA-4xh5-x5gv-qwph pip's fallback tar extraction doesn't check symbolic links point to extraction directory
PYSEC-2026-3721 pip would incorrectly handle doubly-encoded package URLs from indexes
GHSA-6vgw-5pg2-w6jp pip Path Traversal vulnerability
GHSA-58qw-9mgm-455v pip has an interpretation conflict due to handling both concatenated tar and ZIP files as ZIP files
GHSA-h35f-9h28-mq5c (medium) setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) o...
GHSA-jp4c-xjxw-mgf9 pip Vulnerable to Inclusion of Functionality from Untrusted Control Sphere
GHSA-wf93-45jw-7689 (high) pip: Path traversal in console_scripts/gui_scripts entry point names allows installing scripts o...

Data from Homebrew/advisory-database. Run brew vulns pypy for a live check.

Analytics:

30 days90 days365 days
Installs1413242,006
Installs (--HEAD)003
Installs on Request1382931,924
Installs on Request (--HEAD)003
Build Errors0