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 On Friday, December 27, 2019 at 2:09:58 PM UTC-5, Jacob Alexander wrote: > > Hi all, > > https://pypi.org/project/pycapnp/1.0.0b1/ > https://github.com/capnproto/pycapnp/releases/tag/v1.0.0b1 > > 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 > https://github.com/capnproto/pycapnp/projects/2 > 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 > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/64172aca-443f-4f4a-9a00-7f825175bc43%40googlegroups.com.