the clock= constructor param was stored (self._clock) but never read — the 429 retry_after wait uses asyncio.sleep directly. it was dead code, and the CLAUDE.md wrongly claimed it made 429 timing test-controllable. remove the param + the unused time import, and correct the doc (tests patch commons.retry's sleep + sender.asyncio .sleep, not a clock seam). bump the commons pin to v0.2.1 (retry attempts floor). verified: clock param gone, constructs fine, 18/18 fix harness intact. 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.2"
|
|
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"]
|