pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-aiorpcX
Module Name: pkgsrc
Committed By: adam
Date: Tue Nov 23 21:07:18 UTC 2021
Modified Files:
pkgsrc/net/py-aiorpcX: Makefile distinfo
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.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-aiorpcX/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-aiorpcX/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-aiorpcX/Makefile
diff -u pkgsrc/net/py-aiorpcX/Makefile:1.3 pkgsrc/net/py-aiorpcX/Makefile:1.4
--- pkgsrc/net/py-aiorpcX/Makefile:1.3 Mon Nov 8 16:33:15 2021
+++ pkgsrc/net/py-aiorpcX/Makefile Tue Nov 23 21:07:18 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2021/11/08 16:33:15 cirnatdan Exp $
+# $NetBSD: Makefile,v 1.4 2021/11/23 21:07:18 adam Exp $
-DISTNAME= aiorpcX-0.18.7
+DISTNAME= aiorpcX-0.22.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= net devel
+CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/aiorpcX/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -10,10 +10,11 @@ HOMEPAGE= https://github.com/kyuupichan/
COMMENT= Generic async RPC implementation, including JSON-RPC
LICENSE= mit
+DEPENDS+= ${PYPKGPREFIX}-websockets-[0-9]*:../../www/py-websockets
+
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-DEPENDS+= ${PYPKGPREFIX}-websockets-[0-9]*:../../www/py-websockets
+PYTHON_VERSIONS_INCOMPATIBLE= 27 36
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-aiorpcX/distinfo
diff -u pkgsrc/net/py-aiorpcX/distinfo:1.4 pkgsrc/net/py-aiorpcX/distinfo:1.5
--- pkgsrc/net/py-aiorpcX/distinfo:1.4 Mon Nov 8 16:33:15 2021
+++ pkgsrc/net/py-aiorpcX/distinfo Tue Nov 23 21:07:18 2021
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/11/08 16:33:15 cirnatdan Exp $
+$NetBSD: distinfo,v 1.5 2021/11/23 21:07:18 adam Exp $
-BLAKE2s (aiorpcX-0.18.7.tar.gz) = 272b6070773a6f782de41aa89008c2360d328333cdd1375cf72a066298448495
-SHA512 (aiorpcX-0.18.7.tar.gz) = 7d2c3495a4b4cdd1bd91478324685ee8b131a6e3f5f6665324f508e9b211c0ffb6d5590e7fb603f0919724a1983586aeaffd024f95880026baf43d70167a8bf1
-Size (aiorpcX-0.18.7.tar.gz) = 28206 bytes
+BLAKE2s (aiorpcX-0.22.1.tar.gz) = e16f29c303bf6e9dcf00c42eff71ab2585e3827697fbae278c0a77d4321e4157
+SHA512 (aiorpcX-0.22.1.tar.gz) = 0372c725d80dbaa7ea869957dfeeac522f9f0995b6ac5bb8a9f20ae768dc86d9fdaf831a54611ff09f459fa47c04e9f8f867374b17a485bfe92beb40108a5a11
+Size (aiorpcX-0.22.1.tar.gz) = 28803 bytes
Home |
Main Index |
Thread Index |
Old Index