pycapnp v2.0.0b1 released

27 views
Skip to first unread message

tripl...@gmail.com

unread,
Oct 12, 2023, 12:07:11 PM10/12/23
to Cap'n Proto

 v2.0.0b1 has been released!

## v2.0.0b1 (2023-10-03)
- Update to bundled capnproto-1.0.1
- Remove support for Python 3.7
- Use custom build backend to support build args (#328)
- Update Cython version and Python to 3.12 (#320)
- Wrap all capnp code in a context-manager to avoid segfaults (#317)
- Schema loading from the wire (#307)
- Make pycapnp more GIL friendly (#308)
- Use cibuildwheel in ci (#309)
- Integrate the KJ event loop into Python's asyncio event loop (#310)
- Allow capability implementation methods to be `async` (#312)
- Allow reading and writing messages from sockets in `async` mode (#313)
- Remove the synchronous RPC mode (#315)

Sorry for this taking so long, a lot more modernization had to happen this release in order to get everything working as expected.

Lots of fixes/improvements in this release. There is at least one known CI/CD issue that we're trying to debug still (https://github.com/haata/pycapnp/pull/1) and WIP documentation (https://github.com/capnproto/pycapnp/pull/332).
Special thanks to LasseBlaauwbroek for the much needed asyncio improvements. And thanks to tobiasah for pushing to get 2.0 moving.

Originally I planned on keeping Python 3.7 support longer, but we ended up having to remove support anyways (due to test bugs). We're now using cibuildwheel so we'll be using the most recent version to handle the Python and manylinux EOLs going forward.

-HaaTa / Jacob Alexander
Reply all
Reply to author
Forward
0 new messages