From 8ed97a185f9ff27dc6d059843b3284978930e33f Mon Sep 17 00:00:00 2001 From: disqualifier Date: Mon, 6 Jul 2026 00:10:27 -0400 Subject: [PATCH] docs: bump stale aioweb dependency pin; note setup() is not auto-invoked aioweb's git+ssh pin was stale at v0.1.5 against aioweb's actual latest tag, v0.1.10 - bumped the pin, no change to aioweb_tls's own version. Also updates the README's backend-protocol table to state that TLSSession never auto-invokes a backend's setup(), matching the session.py docstring fix. Signed-off-by: disqualifier --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 851bb48..191168c 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ for the authoritative contract): | `set_cookie` | optional | `(session, name, value, domain=None, path="/") -> None` | backs `TLSSession.set_cookie()`; raises `NotImplementedError` if absent | | `get_cookies` | optional | `(session) -> dict` | backs `TLSSession.get_cookies()`; raises `NotImplementedError` if absent | | `clear_cookies` | optional | `(session) -> None` | backs `TLSSession.clear_cookies()`; raises `NotImplementedError` if absent | -| `setup` | optional | `async () -> None` | one-time prep (e.g. fetch a native lib); idempotent | +| `setup` | optional | `async () -> None` | one-time prep (e.g. fetch a native lib); idempotent. `TLSSession` never calls this automatically - a backend needing lazy setup must self-invoke it from its own `raw_request`, as `Noble` does, or the caller must run `await session.setup()` explicitly | | `close` | optional | `async (session) -> None` | close the session; defaults to `await session.close()` | `raw_request` receives aioweb-shaped kwargs: the proxy is already resolved into diff --git a/pyproject.toml b/pyproject.toml index 158cbfa..ec8415f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ version = "0.1.8" description = "TLS-fingerprinting backends (curl_cffi / noble_tls) for aioweb via one injectable TLSSession, config-free, installable." requires-python = ">=3.10" dependencies = [ - "aioweb @ git+ssh://git@git.rethinkstudios.io/rethink-public/aioweb.git@v0.1.5", + "aioweb @ git+ssh://git@git.rethinkstudios.io/rethink-public/aioweb.git@v0.1.10", ] [project.optional-dependencies]