summaryrefslogtreecommitdiff
path: root/dev-python/httpx
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-05 03:04:45 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-05 03:04:45 -0500
commit7d0655e0f85be0eec06807898321a634968f9336 (patch)
tree92e9bb71bf8517948f78ab1d52a1b06717367c62 /dev-python/httpx
parentd5f9077fde66bffd2bc6d193ae7c967e352a5562 (diff)
downloadbaldeagleos-repo-7d0655e0f85be0eec06807898321a634968f9336.tar.gz
baldeagleos-repo-7d0655e0f85be0eec06807898321a634968f9336.tar.xz
baldeagleos-repo-7d0655e0f85be0eec06807898321a634968f9336.zip
Adding metadata
Diffstat (limited to 'dev-python/httpx')
-rw-r--r--dev-python/httpx/httpx-0.28.1-r1.ebuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/dev-python/httpx/httpx-0.28.1-r1.ebuild b/dev-python/httpx/httpx-0.28.1-r1.ebuild
index d6fb6cac33f7..2783e8df225f 100644
--- a/dev-python/httpx/httpx-0.28.1-r1.ebuild
+++ b/dev-python/httpx/httpx-0.28.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2025 Gentoo Authors
+# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,21 +45,19 @@ BDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/h2[${PYTHON_USEDEP}]
dev-python/socksio[${PYTHON_USEDEP}]
+ dev-python/trio[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/uvicorn[${PYTHON_USEDEP}]
>=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- dev-python/trio[${PYTHON_USEDEP}]
- ' 3.{11..13})
)
"
+EPYTEST_PLUGINS=( anyio )
distutils_enable_tests pytest
src_prepare() {
local PATCHES=(
- "${FILESDIR}/${PN}-0.27.0-opt-trio.patch"
# fix test failures when httptools are installed
# https://github.com/encode/httpx/discussions/3429
# https://gitlab.archlinux.org/archlinux/packaging/packages/python-httpx/-/blob/main/uvicorn-test-server-use-h11.diff
@@ -75,23 +73,24 @@ src_prepare() {
}
python_test() {
- local args=()
local EPYTEST_DESELECT=(
# Internet
tests/client/test_proxies.py::test_async_proxy_close
tests/client/test_proxies.py::test_sync_proxy_close
+
+ # random regressions
+ tests/client/test_client.py::test_client_decode_text_using_autodetect
+ tests/client/test_client.py::test_client_decode_text_using_explicit_encoding
+ tests/models/test_responses.py::test_response_decode_text_using_autodetect
+ tests/test_utils.py::test_logging_request
+ tests/test_utils.py::test_logging_redirect_chain
)
use cli || EPYTEST_IGNORE+=(
tests/test_main.py
)
- if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then
- args+=( -o filterwarnings= -k "not trio" )
- fi
-
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p anyio "${args[@]}"
+ epytest
}
pkg_postinst() {