pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-asgiref
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.
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
Home |
Main Index |
Thread Index |
Old Index