hpy 0.9.0: Fourth public release
I'm excited to announce that HPy 0.9 was recently released! The fourth official HPy release comes with many new features and was again made available on PyPI.
This is the first release that also provides binary wheels, so installation is now fast and smooth as you expect it.
The major highlights of the release are support for subclassing of built-in types, metaclasses, the trace mode, multi-phase module initialization, and the hybrid ABI. Please checkout the full release notes here on GitHub: https://github.com/hpyproject/hpy/releases/tag/0.9.0
Also, we invested a lot of effort to improve official documentation.
Great news too is that this release was used to make a first (partially-migrated) port of NumPy, we call it NumPy/HPy, run some examples.
HPy meetup and CPython core dev sprint in Brno (Oct 7-10, 2023)
We just ended our rather informal HPy meetup in Brno (Czech Republic) which started on Saturday (October 7th) and lasted until Tuesday (October 10th).
The main topics of the HPy meetup were:
- The CPython Core Dev Sprint
- Cython/HPy
HPy Sprint Status Update and Feedback Session
As we announced in this blog post, we are currently having our joint PyPy/HPy/GraalPy sprint in Düsseldorf.
On Thursday (September 22nd, 2022), we did the HPy sprint report. Most notably, we also had several CPython core developers in the call.
The sprint report was streamed on Twitch and the recording is available here:
HPy on GraalPy and Matplotlib/HPy
Recently, the GraalVM Python team started a series of blog posts on Medium about HPy on GraalPy and about the migration of Matplotlib to HPy . The second blog post is in particular interesting since it not only describes the migration process but also shows performance numbers. The source code is also publicly available.
Dusseldorf PyPy/HPy/other sprint Sept 19-23, 2022
I'm happy to announce that we will finally have another PyPy/HPy/other sprint in Düsseldorf, Germany from September 19-23, 2022.
The sprint will be located at Heinrich Heine University Düsseldorf. Many thanks to Carl Friedrich for organizing this.
We will again follow an open format, i.e., everyone that is interesting in HPy, PyPy, or some related topic is welcome to join the sprint.
See also the announcement on the PyPy blog.
hpy 0.0.4: Third public release
HPy 0.0.4 is out! The third official HPy release comes with many new features and was again made available on PyPI.
Major highlights of the release are a bunch of new API functions (e.g.
HPyErr_ExceptionMatches
, HPyErr_WarnEx
, HPy_Contains
, and more),
Python 3.10 support, better support for native fields (HPyField
) and global
variables (HPyGlobal
), new debug mode features (detect invalid raw data
pointer usage, detect invalid closing of argument handles, detect return of
invalid handles).
Great news too is that we are now able to provide two more non-trivial projects that have been (partially) migrated to HPy. This is, Kiwisolver and Matplotlib.
hpy 0.0.3: Second public release
HPy 0.0.3 is out! This is already HPy's second officially released version and was again made available on PyPI.
The major highlights of this release are new API functions, new debug mode features, and Windows support.
hpy 0.0.2: First public release
HPy 0.0.2 is out! This is the first version which is officially released and made available on PyPI.
The major highlight of this release is that it is supported by three different Python implementations: CPython, PyPy and GraalPython.
#hpy IRC moves to Libera.Chat
Following the example of many other FOSS projects, the HPy team has
decided to move its official #hpy
IRC channel from Freenode to
Libera.Chat: irc.libera.chat/hpy
The core devs will no longer be present on the Freenode channel, so we recommend to join the new channel as soon as possible.
wikimedia.org has a nice guide on how to setup your client to migrate from Freenode to Libera.Chat.
HPy @ Python Language Summit
Yesterday I had the privilege to give a talk about HPy (sildes) at the Python Language Summit 2021.
The organizers of the summit will soon publish a full report about the event (edit: now available here), but for the HPy-specific part, we got generally good feedback. Someone has a few concerns that if CPython is to change the API, HPy might not be going far enough. Others said that Python shouldn't wait for the "perfect" API if HPy can be the "good" one that helps it evolve.
Everyone was open to have HPy-compatible wheels on PyPI, once the HPy Universal ABI stays relatively stable. Many people suggested that we should really write a PEP to propose HPy as a "semi-official" API for Python.