diff options
author | adam <adam@pkgsrc.org> | 2022-10-21 12:29:32 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-10-21 12:29:32 +0000 |
commit | b3d0b074a959a67e59e4c04b9a5993ee84e78cc2 (patch) | |
tree | 316ab26bcac01d18aa970f77b927a8b8b147f683 | |
parent | 03b4130015598404bbd854a38a3893e23ace6482 (diff) | |
download | pkgsrc-b3d0b074a959a67e59e4c04b9a5993ee84e78cc2.tar.gz |
py-respx: updated to 0.20.0
0.20.0
Changed
- Type Router.__getitem__ to not return optional routes
- Change `Call.response` to raise instead of returning optional response
- Change `CallList.last` to raise instead of return optional call
- Type `M()` to not return optional pattern, by introducing a `Noop` pattern
- Type `Route.pattern` to not be optional
Fixed
- Correct type hints for side effects
Added
- Runs `mypy` on both tests and respx
- Added nox test session for python 3.11
- Added `Call.has_response` helper, now that `.response` raises
-rw-r--r-- | www/py-respx/Makefile | 4 | ||||
-rw-r--r-- | www/py-respx/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/www/py-respx/Makefile b/www/py-respx/Makefile index db39558ba87..405884e3ad5 100644 --- a/www/py-respx/Makefile +++ b/www/py-respx/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.11 2022/02/06 07:53:10 adam Exp $ +# $NetBSD: Makefile,v 1.12 2022/10/21 12:29:32 adam Exp $ -DISTNAME= respx-0.19.2 +DISTNAME= respx-0.20.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=r/respx/} diff --git a/www/py-respx/distinfo b/www/py-respx/distinfo index 0bb80bf69af..ca24f49423a 100644 --- a/www/py-respx/distinfo +++ b/www/py-respx/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.11 2022/02/06 07:53:10 adam Exp $ +$NetBSD: distinfo,v 1.12 2022/10/21 12:29:32 adam Exp $ -BLAKE2s (respx-0.19.2.tar.gz) = d62b36d6d8a7302195da604ed3de8b9cd51015dae7c6037ca7f1d0d42bd6a3bd -SHA512 (respx-0.19.2.tar.gz) = 82d4c93f7af1d9563e1b313dbe04cb9a83b6882cf28b01bc224176f06b8cc74775f9fd52bcc7ca4db3ee925e71bac9c5b744fde7bbbcce97e8d13d9695ab9e06 -Size (respx-0.19.2.tar.gz) = 24437 bytes +BLAKE2s (respx-0.20.0.tar.gz) = 6e91b82f4a05fabae0688e895c9851c8165fb6cd780ee370bd80404e97cce9cb +SHA512 (respx-0.20.0.tar.gz) = c7af0d1d82dc420ddfa777de00d62a87c5c8a1921d198f41b380a4bf6d0e854102b077ff0c6139c277b1700550ca97f4e088610361d0bd65308db43c725df7a5 +Size (respx-0.20.0.tar.gz) = 25087 bytes |