meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.0.bb
Wang Mingyu fd9bab33e2 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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-09 15:11:01 -08:00

25 lines
676 B
BlitzBasic

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 <t.f.g.geelen@gmail.com>"
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}"