pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-anyio py-anyio: updated to 3.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b0c197dc4e4
branches:  trunk
changeset: 769919:2b0c197dc4e4
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 23 09:04:01 2021 +0000

description:
py-anyio: updated to 3.4.0

3.4.0

Added context propagation to/from worker threads in to_thread.run_sync(), from_thread.run() and from_thread.run_sync()

NOTE: Requires Python 3.7 to work properly on asyncio!

Fixed race condition in Lock and Semaphore classes when a task waiting on acquire() is cancelled while another task is waiting to acquire the same primitive
Fixed async context manager’s __aexit__() method not being called in BlockingPortal.wrap_async_context_manager() if the host task is cancelled
Fixed worker threads being marked as being event loop threads in sniffio
Fixed task parent ID not getting set to the correct value on asyncio
Enabled the test suite to run without IPv6 support, trio or pytest plugin autoloading

diffstat:

 devel/py-anyio/Makefile |  4 ++--
 devel/py-anyio/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 0790a46b4a70 -r 2b0c197dc4e4 devel/py-anyio/Makefile
--- a/devel/py-anyio/Makefile   Tue Nov 23 09:01:47 2021 +0000
+++ b/devel/py-anyio/Makefile   Tue Nov 23 09:04:01 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2021/10/28 19:53:16 adam Exp $
+# $NetBSD: Makefile,v 1.7 2021/11/23 09:04:01 adam Exp $
 
-DISTNAME=      anyio-3.3.4
+DISTNAME=      anyio-3.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/anyio/}
diff -r 0790a46b4a70 -r 2b0c197dc4e4 devel/py-anyio/distinfo
--- a/devel/py-anyio/distinfo   Tue Nov 23 09:01:47 2021 +0000
+++ b/devel/py-anyio/distinfo   Tue Nov 23 09:04:01 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/28 19:53:16 adam Exp $
+$NetBSD: distinfo,v 1.9 2021/11/23 09:04:01 adam Exp $
 
-BLAKE2s (anyio-3.3.4.tar.gz) = 27dbcd971194d6c4ec963fc7b3bc92715943fec6136fa4050db057650ae57f95
-SHA512 (anyio-3.3.4.tar.gz) = 0cf762183f3c6b573d272fd7d3ecfbc2e707d97556d9662c9ae0cf6aa2bdc8c21353caa8d67770452dcd7c4300749fcc9153039ae4b4a78f339fcbdb4f0b0092
-Size (anyio-3.3.4.tar.gz) = 133608 bytes
+BLAKE2s (anyio-3.4.0.tar.gz) = 814a7f23b502910bbefc3cd87f8f13d2771e1fc73673e1b90e1e0eec676864b9
+SHA512 (anyio-3.4.0.tar.gz) = 276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a
+Size (anyio-3.4.0.tar.gz) = 135737 bytes


Home | Main Index | Thread Index | Old Index