From Fedora Project Wiki


PyPy Stack

Summary

Fedora 15 and later versions has an alternate Python 2 runtime and add-on module stack built using PyPy, an alternate implementation of the Python 2 language, featuring Just-in-Time compilation.

Owner

  • Email: <dmalcolm@redhat.com>, <mcyprian@redhat.com>


PyPy has been packaged within Fedora from Fedora 15 onwards, and is available via:

In Fedora 22 and later versions use DNF:

# dnf install pypy

Or with YUM in Fedora 21 and earlier versions:

# yum install pypy


The latest updates of PyPy package information can be found at Fedora Package Database

See the package review

There is a tracker bug for the PyPy stack in Red Hat bugzilla.

Detailed Description

PyPy is a fast, compliant alternative implementation of the Python language (2.7.10). It has several advantages and distinct features. Thanks to its Just-in-Time compiler, Python programs often run faster on PyPy. Memory-hungry Python programs (several hundreds of MBs or more) might end up taking less space than they do in CPython.

Benefit to Fedora

PyPy is an innovative implementation of the Python language, but it can take an hour to build, requiring a powerful machine. By providing an easy way for people to install a PyPy stack, we continue to push Fedora as an excellent platform for Python developers.

Fedora aims to showcase the latest and greatest in Free/Open Source Software: PyPy is certainly innovative.

Fedora heavily uses Python, both within the operating system itself, and within the infrastructure used by the project. As PyPy becomes more mature we may eventually want to migrate from CPython to PyPy for some of these workloads.

Scope

PyPy supports most of the commonly used Python standard library modules complete list here

How To Test

User Experience

Dependencies

Contingency Plan

Documentation

Release Notes

Comments and Discussion