pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-httpserver



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 17 08:27:35 UTC 2026

Modified Files:
        pkgsrc/devel/py-test-httpserver: Makefile distinfo

Log Message:
py-test-httpserver: updated to 1.2.1

1.2.1

New Features

- Add an opt-in case-insensitive header value matcher,
  ``CaseInsensitiveHeaderValueMatcher``, which can be passed as
  ``header_value_matcher`` to expect_request. It matches header names
  case-insensitively, parses Authorization values by default, and compares
  other values exactly. A custom mapping of header names to comparator
  functions can be supplied.

- Add the ``data_form`` keyword argument to request expectations and
  ``BlockingHTTPServer.assert_request()`` for matching parsed form fields.
  A mapping matches each field's first value, while a Werkzeug ``MultiDict``
  matches all repeated values. Form expectations are mutually exclusive with
  ``data`` and ``json`` expectations, and preserve the raw request body for
  response handlers.

- Add support for Python 3.15.

- Add ``HTTPServer.with_check()``, a context manager that checks server-side
  assertions and handler errors when its body completes normally. It detects
  unexpected requests received after the expected ordered requests without
  changing ``wait()`` semantics. Exceptions raised in the body propagate
  unchanged.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-test-httpserver/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-test-httpserver/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test-httpserver/Makefile
diff -u pkgsrc/devel/py-test-httpserver/Makefile:1.14 pkgsrc/devel/py-test-httpserver/Makefile:1.15
--- pkgsrc/devel/py-test-httpserver/Makefile:1.14       Sun Feb 15 13:23:58 2026
+++ pkgsrc/devel/py-test-httpserver/Makefile    Tue Nov 17 08:27:35 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2026/02/15 13:23:58 adam Exp $
+# $NetBSD: Makefile,v 1.15 2026/11/17 08:27:35 adam Exp $
 
-DISTNAME=      pytest_httpserver-1.1.5
+DISTNAME=      pytest_httpserver-1.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest_httpserver/}
@@ -11,12 +11,12 @@ COMMENT=    HTTP server for pytest
 LICENSE=       mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=2.2.1:../../devel/py-poetry-core
-DEPENDS+=      ${PYPKGPREFIX}-werkzeug>=2.0.0:../../www/py-werkzeug
+DEPENDS+=      ${PYPKGPREFIX}-werkzeug>=3.0.0:../../www/py-werkzeug
 TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.971:../../lang/py-mypy
 TEST_DEPENDS+= ${PYPKGPREFIX}-requests>=2.28.1:../../devel/py-requests
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=3:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-toml>=0.10.2:../../textproc/py-toml
-TEST_DEPENDS+= ${PYPKGPREFIX}-types-toml-[0-9]*:../../devel/py-types-toml
+TEST_DEPENDS+= ${PYPKGPREFIX}-types-toml>=0:../../devel/py-types-toml
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/devel/py-test-httpserver/distinfo
diff -u pkgsrc/devel/py-test-httpserver/distinfo:1.13 pkgsrc/devel/py-test-httpserver/distinfo:1.14
--- pkgsrc/devel/py-test-httpserver/distinfo:1.13       Sun Feb 15 13:23:58 2026
+++ pkgsrc/devel/py-test-httpserver/distinfo    Tue Nov 17 08:27:35 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2026/02/15 13:23:58 adam Exp $
+$NetBSD: distinfo,v 1.14 2026/11/17 08:27:35 adam Exp $
 
-BLAKE2s (pytest_httpserver-1.1.5.tar.gz) = 8abdbe36f4f1a09846827d9b60acf584effcae86cc296a42f26f2919a71d7f03
-SHA512 (pytest_httpserver-1.1.5.tar.gz) = 1a5ee0b65922db6623b0f93f7b0f2d4d223ab6f21705bf94f62135695c5e85ce2528fc6cfe7f833fd1170aad092ce924e060c4a47666cadec3fbbdd5a3f67daa
-Size (pytest_httpserver-1.1.5.tar.gz) = 70974 bytes
+BLAKE2s (pytest_httpserver-1.2.1.tar.gz) = a5e97b0b5c65c5d3839a50d0e1e8aec630f357f2d9ca8e25c003851a97668958
+SHA512 (pytest_httpserver-1.2.1.tar.gz) = e1923bc869c88f4bb49bb91777d08c50d31d0962db2e77a4c1116b610af3766bab2a417024e5cdb2dba1bff955b58189cc9e94e841f4dcda2b976e782aae13d2
+Size (pytest_httpserver-1.2.1.tar.gz) = 77385 bytes



Home | Main Index | Thread Index | Old Index