M-2: _attempt caught only (aiohttp.ClientError, asyncio.TimeoutError); an unexpected error escaping the attempt (closed injected session -> RuntimeError, malformed proxy url -> ValueError) propagated out of send(), breaking the documented 'never raises on a send failure' contract. add an outer catch-all in _send_loop converting any such exception to a falsy WebhookResult(ok=False), logged at warning with exc_info. aiowebhooks-F3: README 429 section + changelog were stale vs the v0.1.3 'retry any 429' fix; added the no-parseable-wait-still-retries wording and v0.1.3/v0.1.4 changelog entries. verified by execution: closed-session (RuntimeError) and bad-proxy (ValueError) controls both fire and now return ok=False instead of raising. Signed-off-by: disqualifier <dev@disqualifier.me>
25 lines
590 B
TOML
25 lines
590 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aiowebhooks"
|
|
version = "0.1.4"
|
|
description = "async webhook sender (aiohttp) with round-robin urls, retry, and proxy rotation; optional discord.py embeds"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aiohttp>=3.9",
|
|
"commons @ git+ssh://git@git.rethinkstudios.io/rethink-public/commons.git@v0.2.1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
discord = [
|
|
"discord.py>=2.3",
|
|
]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aiowebhooks"]
|