./net/py-aiorpcX, Generic async RPC implementation, including JSON-RPC

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.22.1nb1, Package name: py310-aiorpcX-0.22.1nb1, Maintainer: pkgsrc-users

A generic asyncio library implementation of RPC suitable for an
application that is a client, server or both.


Required to run:
[www/py-websockets] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 28.128 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-04 20:57:05 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-aiorpcX: convert to egg.mk

Bump PKGREVISION to be on the safe side
   2021-12-30 14:05:42 by Adam Ciarcinski | Files touched by this commit (125)
Log message:
Forget about Python 3.6
   2021-11-23 22:07:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiorpcX: updated to 0.22.1

Version 0.22.1 (25 May 2021)
release tasks as they complete in the task group; this might appear as a \ 
memory-leak for long-standing sessions

Version 0.22.0 (25 Apr 2021)
join() waits for all cancelled tasks to finish, including daemonic ones

Version 0.21.1 (24 Apr 2021)
handle peername of None in network code
strip redundant whitespace from JSON (SomberNight)

Version 0.21.0 (11 Mar 2021)
There have been significant semantic and API changes for TaskGroups. Their \ 
behaviour is now consistent, reliable and they have the same semantics as curio. \ 
As such I consider their API finalized and stable. In addition to the notes \ 
below for 0.20.x:
closed() became the attribute joined.
cancel_remaining() does not cancel daemonic tasks. As before it waits for the \ 
cancelled tasks to complete.
On return from join() all tasks including deamonic ones have been cancelled, but \ 
nothing is waited for. If leaving a TaskGroup context because of an exception, \ 
cancel_remaining() - which can block - is called before join().

Version 0.20.2 (10 Mar 2021)
result, exception, results and exceptions are now attributes. They raise a \ 
RuntimeError if called before a TaskGroup’s join() operation has returned.

Version 0.20.1 (06 Mar 2021)
this release contains some significant API changes which users will need to \ 
carefully check their code for.
the report_crash argument to spawn() is removed; instead a new one is named \ 
daemon. A daemon task’s exception (if any) is ignored by a TaskGroup.
the join() method of TaskGroup (and so also when TaskGroup is used as a context \ 
manager) does not raise the exception of failed tasks. The full semantics are \ 
precisely described in the TaskGroup() docstring. Briefly: any task being \ 
cancelled or raising an exception causes join() to finish and all remaining \ 
tasks, including daemon tasks, to be cancelled. join() does not propagate task \ 
exceptions.
the cancel_remaining() method of TaskGroup does not propagate any task exceptions
TaskGroup supports the additional attributes ‘tasks’ and ‘daemons’. \ 
Also, after join() has completed, result() returns the result (or raises the \ 
exception) of the first completed task. exception() returns the exception (if \ 
any) of the first completed task. results() returns the results of all tasks and \ 
exceptions() returns the exceptions raised by all tasks. daemon tasks are \ 
ignored.
The above changes bring the implementation in line with curio proper and the \ 
semantic changes it made over a year ago, and ensure that join() behaves \ 
consistently when called more than once.
   2021-11-08 17:33:15 by Dan Cirnat | Files touched by this commit (2)
Log message:
aiorpcX: Update net/py-aiorpcX to 0.18.7

Version 0.18.7 (10 Mar 2021)
----------------------------

* join() waiting when cancelled fix, also issue #37

Version 0.18.4 (20 Nov 2019)
----------------------------

* handle time.time() not making progress. fixing `#26`_  (SomberNight)
* handle SOCKSError in _connect_one (SomberNight)
* add SOCKSRandomAuth: Jeremy Rand
Version 0.18.3 (19 May 2019)
----------------------------
* minor bugfix release, fixing `#22`_
* make JSON IDs independent across sessions, make websockets dependency optional \ 
(SomberNight)
   2021-10-26 13:07:15 by Nia Alarie | Files touched by this commit (958)
Log message:
net: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts...):

net/radsecproxy/distinfo

The following distfiles could not be fetched (fetched conditionally?):

./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz
./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch
./net/djbdns/distinfo djbdns-1.05-test28.diff.xz
./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch
./net/djbdns/distinfo djbdns-1.05-multiip.diff
./net/djbdns/distinfo djbdns-cachestats.patch
   2021-10-07 16:43:07 by Nia Alarie | Files touched by this commit (962)
Log message:
net: Remove SHA1 hashes for distfiles
   2020-10-17 16:09:26 by Jonathan Schleifer | Files touched by this commit (1) | Package updated
Log message:
Give up maintainership of net/py-aiorpcX

This seems to be no longer required by Electron, so I no longer have any use
for it. Feel free to delete this once I updated Electron.
   2020-04-14 21:41:53 by Jonathan Schleifer | Files touched by this commit (4)
Log message:
Import net/py-aiorpcX from wip

This is a dependency of wip/electrum, with the goal of importing
wip/electrum later on.

aiorpcX is generic asyncio library implementation of RPC suitable for an
application that is a client, server or both.