py-test-httpx: updated to 0.24.0 0.24.0 Added - Added `match_json` parameter which allows matching on JSON decoded body (matching against python representation instead of bytes). Changed - Even if it was never documented as a feature, the `match_headers` parameter was not considering header names case when matching. - As this might have been considered a feature by some users, the fact that `match_headers` will now respect casing is documented as a breaking change. Fixed - Matching on headers does not ignore name case anymore, the name must now be cased as sent (as some servers might expect a specific case). - Error message in case a request does not match will now include request headers with mismatching name case as well. - Error message in case a request does not match will now include request headers when not provided as lower-cased to `match_headers`. - Add `:Any` type hint to `**matchers` function arguments to satisfy strict type checking mode in [`pyright`](https://microsoft.github.io/pyright/#/).diff -r1.4 -r1.5 pkgsrc/www/py-test-httpx/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2023/08/04 05:10:22 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2023/09/06 20:05:12 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pytest_httpx-0.23.1 | 3 | DISTNAME= pytest_httpx-0.24.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-httpx/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-httpx/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://colin-b.github.io/pytest_httpx/ | 9 | HOMEPAGE= https://colin-b.github.io/pytest_httpx/ | |
10 | COMMENT= Send responses to httpx | 10 | COMMENT= Send responses to httpx | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-httpx>=0.24:../../www/py-httpx | 13 | DEPENDS+= ${PYPKGPREFIX}-httpx>=0.24:../../www/py-httpx | |
14 | DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test | 14 | DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.21:../../devel/py-test-asyncio | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.21:../../devel/py-test-asyncio | |
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4:../../devel/py-test-cov | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4:../../devel/py-test-cov |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2023/08/04 05:10:22 adam Exp $ | 1 | $NetBSD: distinfo,v 1.5 2023/09/06 20:05:12 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pytest_httpx-0.23.1.tar.gz) = bb64fc132a9cd9242d58b9e4d8c55eef5068e4bd459ac91e827b30e50720886c | 3 | BLAKE2s (pytest_httpx-0.24.0.tar.gz) = ee73df2092857304e0e397bbd65b99c3ab1e32c74d430881941baba402f31643 | |
4 | SHA512 (pytest_httpx-0.23.1.tar.gz) = 4490c716c341d782ebf02c29475b7618c0717bbaa736b0a0eefee8a7c8498d3474dd28d487469fe5806ba0018a07b538d2f583406f561c451de6f8a688d57901 | 4 | SHA512 (pytest_httpx-0.24.0.tar.gz) = b84b7fa80bcc80c8e1ef7324bd3e559d020b993bafa8835ea40bd33d6fc97208e391d86807ee2c7959eda01f615e1001876f346e67fb9dc645ad00a1feea9e64 | |
5 | Size (pytest_httpx-0.23.1.tar.gz) = 29462 bytes | 5 | Size (pytest_httpx-0.24.0.tar.gz) = 31665 bytes |