|
|
Subscribe / Log in / New account

PyPy 7.2 released

Version 7.2 of PyPy, an implementation of the Python language, is out. With this release, Python 3.6 support is deemed ready: "This release removes the 'beta' tag from PyPy3.6. While there may still be some small corner-case incompatibilities (around the exact error messages in exceptions and the handling of faulty codec errorhandlers) we are happy with the quality of the 3.6 series and are looking forward to working on a Python 3.7 interpreter."

to post comments

libssl.so incompatibility workaround

Posted Oct 17, 2019 14:14 UTC (Thu) by mgedmin (subscriber, #34497) [Link] (1 responses)

A tip I've learned on Twitter: if 'import ssl' doesn't work in your PyPy because of a missing libssl.so.1.0.0 (because you're on a newer Ubuntu that ships libssl.so.1.1 instead), you can rebuild the stdlib 'ssl' module for your system by doing

cd /path/to/where/you/extracted/the/pypy/release/tarball
cd lib_pypy
../bin/pypy _ssl_build.py # for pypy2.7 v7.2.0
../bin/pypy3 _ssl_build.py # for pypy 3.6 v7.2.0

It takes a second and fixes the problem!

libssl.so incompatibility workaround

Posted Oct 24, 2019 9:21 UTC (Thu) by njs (subscriber, #40338) [Link]

Or you can use the portable-pypy builds, which should Just Work (tm) pretty much anywhere: https://github.com/squeaky-pl/portable-pypy


Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds