From fd9bab33e2e7595d0de0784912639bd853dd3f03 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 9 Dec 2025 17:55:43 +0800 Subject: python3-pytest-httpx: upgrade 0.35.0 -> 0.36.0 License-Update: Copyright year updated to 2025 Changelog: =========== - pytest required version is now 9. - Explicit support for python 3.14. - match_params parameter is now available on responses and callbacks registration, as well as request(s) retrieval. Allowing to provide query parameters as a dict instead of being part of the matched URL. - This parameter allows to perform partial query params matching (refer to documentation for more information). - URL with more than one value for the same parameter were not matched properly (matching was performed on the first value). - httpx_mock.add_exception is now properly documented (accepts BaseException instead of Exception). - pytest 8 is not supported anymore. - python 3.9 is not supported anymore. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pytest-httpx_0.36.0.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.0.bb b/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.0.bb new file mode 100644 index 0000000000..1cdf3d3d23 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "Send responses to httpx." +HOMEPAGE = "https://github.com/Colin-b/pytest_httpx" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8dcb0d82b1d402b6be745fc78dde254b" +RECIPE_MAINTAINER = "Tom Geelen " + +SRC_URI[sha256sum] = "9edb66a5fd4388ce3c343189bc67e7e1cb50b07c2e3fc83b97d511975e8a831b" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN} += "\ + python3-httpx (>=0.28) \ + python3-pytest (>=8) \ +" + +RDEPENDS:${PN}-ptest += "\ + python3-pytest-cov \ + python3-pytest-asyncio \ +" + +PYPI_PACKAGE = "pytest_httpx" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -- cgit v1.2.3-54-g00ecf