broaden the except to (aiohttp.ClientError, asyncio.TimeoutError) and re-wrap into the same typed aiohttp.ClientError path. a total ClientTimeout raises a bare asyncio.TimeoutError, which is NOT an aiohttp.ClientError subclass, so it previously leaked raw out of request()/test_proxies(). add the missing asyncio import. Signed-off-by: disqualifier <dev@disqualifier.me>
21 lines
536 B
TOML
21 lines
536 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aioweb"
|
|
version = "0.1.3"
|
|
description = "Async HTTP session wrapper over aiohttp — proxies, header overwrites, retries, previews. Config-free, installable."
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aiohttp>=3.9",
|
|
"yarl>=1.9",
|
|
"commons @ git+ssh://git@git.rethinkstudios.io/rethink-public/commons.git@v0.2.1",
|
|
]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aioweb"]
|