diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index ad179ccf56..a172f8c676 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -74,6 +74,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-pyasyncore \ python3-pyroute2 \ python3-pyserial \ + python3-pytest-httpx \ python3-pytest-mock \ python3-pytest-sugar \ python3-pytoml \ diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 9b06096d1d..ad68d74205 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -348,6 +348,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-pytest-forked \ python3-pytest-helpers-namespace \ python3-pytest-html \ + python3-pytest-httpx \ python3-pytest-lazy-fixtures \ python3-pytest-metadata \ python3-pytest-tempdir \ diff --git a/meta-python/recipes-devtools/python/python3-pytest-httpx_0.35.0.bb b/meta-python/recipes-devtools/python/python3-pytest-httpx_0.35.0.bb new file mode 100644 index 0000000000..a419f8841e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-httpx_0.35.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=80d06bde9296c367ea063b11e9518842" +RECIPE_MAINTAINER = "Tom Geelen " + +SRC_URI[sha256sum] = "d619ad5d2e67734abfbb224c3d9025d64795d4b8711116b1a13f72a251ae511f" + +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}"