pycapnp v1.0.0b1 released

45 views
Skip to first unread message

Jacob Alexander

unread,
Dec 27, 2019, 2:09:58 PM12/27/19
to Cap'n Proto
Hi all,


I've put together pycapnp-1.0.0b1 release. Kenton recently gave me maintainership of pycapnp and I've been busy cleaning things up.
I have also integrated all of the PRs pending in GitHub.

Changelog
  • Python 3.7+ required (asyncio support)
  • TLS/SSL support using asyncio
  • Windows support
  • General cleanup
  • May be incompatible with code written for pycapnp 0.6.4 and lower
  • Removing pypandoc/pandoc packaging requirement (uses markdown directly now)
There is currently only one bug open before I'll cut a proper v1.0.0 release: https://github.com/capnproto/pycapnp/issues/196
TL;DR is that when using Python asyncio and getTimer from capnproto the getTimer internal processing loop seems to get starved/stalled. getTimer does work when not using Python asyncio.


This release also includes binary PyPi packages for:
  • Python 3.7 and 3.8
  • Windows 64bit
  • macOS 64bit
  • manylinux2010 32bit and 64bit

Please let me know if there other binary targets that I should target (they will require some sort of CI for integration/testing though). And I'm happy to accept PRs to add more source targets.
Python 3.5 and 3.6 might be possible; however, due to asyncio bugs in those releases this is a lot harder than it may seem. 


My main goals with pycapnp:
  • Evaluate incoming PRs
  • Integrate new versions of capnproto into pycapnp
  • Make sure asyncio + TLS/SSL RPC support keeps working

Happy Holidays!
-HaaTa / Jacob Alexander

Kenton Varda

unread,
Dec 28, 2019, 3:05:55 PM12/28/19
to Jacob Alexander, Cap'n Proto
Awesome work! I'm so glad pycapnp is finally getting some love. :)

-Kenton

--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/fe2af07e-da2f-4639-b388-29ce25b39c50%40googlegroups.com.

bre...@berg.industries

unread,
Jan 6, 2020, 5:47:07 PM1/6/20
to Cap'n Proto
Hi Jacob,

It's awesome to see new progress on pycapnp! I've been trying out some of the examples in the repo and I'm excited that the async functionality will be in the new release. I'm evaluating the package for use it in a project and it looks like this update will make it possible for our use case.

I do have one question about the async server though. I can't seem to get the method implementations on the server to run asynchronously. Is there sample code for an async server that can handle multiple simultaneous requests?

Regards,
Brendan

Jacob Alexander

unread,
Jan 6, 2020, 9:48:32 PM1/6/20
to bre...@berg.industries, Cap'n Proto
Hi Brendan,

I will admit I only added support for the pycapnp server as it didn't seem to be a lot of work (the initial client work is what took me a couple months to put together).
Do you have a specific code example of what you're trying to achieve? Also which OS are you testing with? There are likely some hidden Windows issues still with the server (probably other OSs too, but Windows gives me the most grief).

Also, is this related to your recent github issue? https://github.com/capnproto/pycapnp/issues/198

-Jacob

--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages