Received: by mail.netbsd.org (Postfix, from userid 605) id 5B35584E9D; Tue, 24 Jan 2023 19:50:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8D56E84CBC for ; Tue, 24 Jan 2023 19:50:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id WHoaWhEPgp75 for ; Tue, 24 Jan 2023 19:50:08 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E292C84C13 for ; Tue, 24 Jan 2023 19:50:07 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id DBDC3FA90; Tue, 24 Jan 2023 19:50:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_167458980772420" MIME-Version: 1.0 Date: Tue, 24 Jan 2023 19:50:07 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/py-asgiref To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20230124195007.DBDC3FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_167458980772420 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Tue Jan 24 19:50:07 UTC 2023 Modified Files: pkgsrc/www/py-asgiref: Makefile distinfo Log Message: py-asgiref: updated to 3.6.0 3.6.0 (2022-12-20) ------------------ * Two new functions are added to the ``asgiref.sync`` module: ``iscoroutinefunction()`` and ``markcoroutinefunction()``. Python 3.12 deprecates ``asyncio.iscoroutinefunction()`` as an alias for ``inspect.iscoroutinefunction()``, whilst also removing the ``_is_coroutine`` marker. The latter is replaced with the ``inspect.markcoroutinefunction`` decorator. The new ``asgiref.sync`` functions are compatibility shims for these functions that can be used until Python 3.12 is the minimum supported version. **Note** that these functions are considered **beta**, and as such, whilst not likely, are subject to change in a point release, until the final release of Python 3.12. They are included in ``asgiref`` now so that they can be adopted by Django 4.2, in preparation for support of Python 3.12. * The ``loop`` argument to ``asgiref.timeout.timeout`` is deprecated. As per other ``asyncio`` based APIs, the running event loop is used by default. Note that ``asyncio`` provides timeout utilities from Python 3.11, and these should be preferred where available. * Support for the ``ASGI_THREADS`` environment variable, used by ``SyncToAsync``, is removed. In general, a running event-loop is not available to `asgiref` at import time, and so the default thread pool executor cannot be configured. Protocol servers, or applications, should set the default executor as required when configuring the event loop at application startup. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 pkgsrc/www/py-asgiref/Makefile cvs rdiff -u -r1.30 -r1.31 pkgsrc/www/py-asgiref/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_167458980772420 Content-Disposition: inline Content-Length: 1857 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/py-asgiref/Makefile diff -u pkgsrc/www/py-asgiref/Makefile:1.31 pkgsrc/www/py-asgiref/Makefile:1.32 --- pkgsrc/www/py-asgiref/Makefile:1.31 Thu May 19 13:16:03 2022 +++ pkgsrc/www/py-asgiref/Makefile Tue Jan 24 19:50:07 2023 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.31 2022/05/19 13:16:03 adam Exp $ +# $NetBSD: Makefile,v 1.32 2023/01/24 19:50:07 adam Exp $ -DISTNAME= asgiref-3.5.2 +DISTNAME= asgiref-3.6.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=a/asgiref/} @@ -20,10 +20,5 @@ PYSETUPTESTTARGET= pytest PYTHON_VERSIONS_INCOMPATIBLE= 27 -.include "../../lang/python/pyversion.mk" -.if ${_PYTHON_VERSION} < 38 -DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions -.endif - .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/www/py-asgiref/distinfo diff -u pkgsrc/www/py-asgiref/distinfo:1.30 pkgsrc/www/py-asgiref/distinfo:1.31 --- pkgsrc/www/py-asgiref/distinfo:1.30 Thu May 19 13:16:03 2022 +++ pkgsrc/www/py-asgiref/distinfo Tue Jan 24 19:50:07 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.30 2022/05/19 13:16:03 adam Exp $ +$NetBSD: distinfo,v 1.31 2023/01/24 19:50:07 adam Exp $ -BLAKE2s (asgiref-3.5.2.tar.gz) = 30ef666e11a657e74bc51c520124b61fa54a12a8dc617256481e2ddf945043df -SHA512 (asgiref-3.5.2.tar.gz) = d5ed0275dc748674018b14d58941113c19e1e30c1fed63c40d3069a4a09d81a6cceb186e7a0ef26912a040df082ae71b2ca9198d67f0b786b53d3d4089530fbb -Size (asgiref-3.5.2.tar.gz) = 32352 bytes +BLAKE2s (asgiref-3.6.0.tar.gz) = d6d04570f10588ff252d06d541f38b8a2538b8fe69f3ed5b3cab7120ae1de376 +SHA512 (asgiref-3.6.0.tar.gz) = b74d71e3a5d129117293512ed93e06a9ac0f681766abfc074be6c8deec7160995dee23947da861715fa47e2b9921669b6b5bf247f8d895ffbea7007ea956b9d6 +Size (asgiref-3.6.0.tar.gz) = 32748 bytes --_----------=_167458980772420--