dev-python/httpx-aiohttp - 0.2.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/httpx-aiohttp-0.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/httpx-aiohttp-0.2.0

Or alternatively:

emerge --autounmask-write -a =dev-python/httpx-aiohttp-0.2.0

Package Information

Description:
Aiohttp transport for HTTPX
Homepage:
https://github.com/karpetrosyan/httpx-aiohttp https://pypi.org/project/httpx-aiohttp/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.2.0 8 ~amd64 ~arm ~arm64 ~ppc64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/karpetrosyan/httpx-aiohttp
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 pypi

DESCRIPTION="Aiohttp transport for HTTPX"
HOMEPAGE="
	https://github.com/karpetrosyan/httpx-aiohttp
	https://pypi.org/project/httpx-aiohttp/
"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"

RDEPEND="
	>=dev-python/aiohttp-3.10.0[${PYTHON_USEDEP}]
	<dev-python/aiohttp-4[${PYTHON_USEDEP}]
	>=dev-python/httpx-0.27.0[${PYTHON_USEDEP}]
"

BDEPEND="
	dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
	test? (
		>=dev-python/httpx2-2.0[${PYTHON_USEDEP}]
		<dev-python/httpx2-3[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( anyio pytest-asyncio )
distutils_enable_tests pytest

EPYTEST_DESELECT=(
	# Requires network access to httpbin.org
	tests/local/test_aiohttp_client.py::test_response_is_closed_after_request
)

# tests/httpx is a git submodule (a fork of the httpx test suite) that is not
# part of the sdist. Upstream's own scripts/test only runs tests/local, which
# is shipped.
python_test() {
	epytest tests/local
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/aiohttp-3.10.0[]
	<dev-python/aiohttp-4[]
	>=dev-python/httpx-0.27.0[]

BDEPEND

	dev-python/hatch-fancy-pypi-readme[]
	test? (
		>=dev-python/httpx2-2.0[]
		<dev-python/httpx2-3[]
	)