pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-test-httpx



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep  6 20:05:12 UTC 2023

Modified Files:
        pkgsrc/www/py-test-httpx: Makefile distinfo

Log Message:
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/#/).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-test-httpx/Makefile \
    pkgsrc/www/py-test-httpx/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-test-httpx/Makefile
diff -u pkgsrc/www/py-test-httpx/Makefile:1.4 pkgsrc/www/py-test-httpx/Makefile:1.5
--- pkgsrc/www/py-test-httpx/Makefile:1.4       Fri Aug  4 05:10:22 2023
+++ pkgsrc/www/py-test-httpx/Makefile   Wed Sep  6 20:05:12 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2023/08/04 05:10:22 adam Exp $
+# $NetBSD: Makefile,v 1.5 2023/09/06 20:05:12 adam Exp $
 
-DISTNAME=      pytest_httpx-0.23.1
+DISTNAME=      pytest_httpx-0.24.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-httpx/}
Index: pkgsrc/www/py-test-httpx/distinfo
diff -u pkgsrc/www/py-test-httpx/distinfo:1.4 pkgsrc/www/py-test-httpx/distinfo:1.5
--- pkgsrc/www/py-test-httpx/distinfo:1.4       Fri Aug  4 05:10:22 2023
+++ pkgsrc/www/py-test-httpx/distinfo   Wed Sep  6 20:05:12 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/08/04 05:10:22 adam Exp $
+$NetBSD: distinfo,v 1.5 2023/09/06 20:05:12 adam Exp $
 
-BLAKE2s (pytest_httpx-0.23.1.tar.gz) = bb64fc132a9cd9242d58b9e4d8c55eef5068e4bd459ac91e827b30e50720886c
-SHA512 (pytest_httpx-0.23.1.tar.gz) = 4490c716c341d782ebf02c29475b7618c0717bbaa736b0a0eefee8a7c8498d3474dd28d487469fe5806ba0018a07b538d2f583406f561c451de6f8a688d57901
-Size (pytest_httpx-0.23.1.tar.gz) = 29462 bytes
+BLAKE2s (pytest_httpx-0.24.0.tar.gz) = ee73df2092857304e0e397bbd65b99c3ab1e32c74d430881941baba402f31643
+SHA512 (pytest_httpx-0.24.0.tar.gz) = b84b7fa80bcc80c8e1ef7324bd3e559d020b993bafa8835ea40bd33d6fc97208e391d86807ee2c7959eda01f615e1001876f346e67fb9dc645ad00a1feea9e64
+Size (pytest_httpx-0.24.0.tar.gz) = 31665 bytes



Home | Main Index | Thread Index | Old Index