py-asgiref: updated to 3.7.2

3.7.2 (2023-05-27)
------------------

* The type annotations for SyncToAsync and AsyncToSync have been changed to
  more accurately reflect the kind of callables they return.

3.7.1 (2023-05-24)
------------------

* On Python 3.10 and below, the version of the "typing_extensions" package
  is now constrained to be at least version 4 (as we depend on functionality
  in that version and above)

3.7.0 (2023-05-23)
------------------

* Contextvars are now required for the implementation of `sync` as Python 3.6
  is now no longer a supported version.

* sync_to_async and async_to_sync now pass-through

* Debug and Lifespan State extensions have resulted in a typing change for some
  request and response types. This change should be backwards-compatible.

* ``asgiref`` frames will now be hidden in Django tracebacks by default.

* Raw performance and garbage collection improvements in Local, SyncToAsync,
  and AsyncToSync.
This commit is contained in:
adam 2023-07-30 15:09:22 +00:00
parent 591d12ffd5
commit 2230a97a37
2 changed files with 17 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.32 2023/01/24 19:50:07 adam Exp $
# $NetBSD: Makefile,v 1.33 2023/07/30 15:09:22 adam Exp $
DISTNAME= asgiref-3.6.0
DISTNAME= asgiref-3.7.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asgiref/}
@ -10,15 +10,21 @@ HOMEPAGE= https://github.com/django/asgiref
COMMENT= Contains various reference ASGI implementations
LICENSE= modified-bsd
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.3.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.10.0:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.800:../../lang/py-mypy
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4:../../devel/py-typing-extensions
.endif
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.31 2023/01/24 19:50:07 adam Exp $
$NetBSD: distinfo,v 1.32 2023/07/30 15:09:22 adam Exp $
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
BLAKE2s (asgiref-3.7.2.tar.gz) = 89b37a9cd7af46767de71c4cab972d155e7d9ec3cff3d1faac23bb71afc6eef6
SHA512 (asgiref-3.7.2.tar.gz) = 578ccb54e25869ac9bc7bcd59819d4fc056fdb89a27ec3d7c5b74608984c9d18b41f0b281a3a67bf6b56ad85a7009e336bbdd4a76e2b4a0c8a26c0dfef2687a8
Size (asgiref-3.7.2.tar.gz) = 33393 bytes