From 0ee313eb6884b9a257ce05bfe65529e43c7bd33d Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Mon, 26 Oct 2026 23:14:11 +0100 Subject: [PATCH] Prepare Python SDK 1.0.3 coverage release --- proofline/_transport.py | 2 +- pyproject.toml | 2 +- scripts/install_smoke.py | 6 +++--- tests/test_http.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/proofline/_transport.py b/proofline/_transport.py index 629041ae..52bbf880 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -21,7 +21,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "1.0.2" +VERSION = "1.0.3" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index 0d8bf14f..144a8386 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "1.0.2" +version = "1.0.3" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT" diff --git a/scripts/install_smoke.py b/scripts/install_smoke.py index d09393d0..541f2ef3 100644 --- a/scripts/install_smoke.py +++ b/scripts/install_smoke.py @@ -24,8 +24,8 @@ def main() -> None: if not Path(proofline.__file__).resolve().is_relative_to(Path(sys.prefix).resolve()): raise SystemExit("The smoke test must import the installed artifact, not checkout source.") - assert importlib.metadata.version("proofline-sdk") == "1.0.2" - assert proofline.__version__ == "1.0.2" + assert importlib.metadata.version("proofline-sdk") == "1.0.3" + assert proofline.__version__ == "1.0.3" calls: list[str] = [] finding = { "id": str(FINDING), @@ -79,7 +79,7 @@ def log_message(self, format: str, *args: object) -> None: def do_GET(self) -> None: assert self.headers["Authorization"] == f"Bearer {TOKEN}" - assert self.headers["User-Agent"] == "proofline-python/1.0.2" + assert self.headers["User-Agent"] == "proofline-python/1.0.3" calls.append(self.path) body = finding if "/findings/" in self.path else review payload = json.dumps(body).encode() diff --git a/tests/test_http.py b/tests/test_http.py index 519ba8dc..da588a31 100644 --- a/tests/test_http.py +++ b/tests/test_http.py @@ -281,7 +281,7 @@ def respond(request: Request, index: int) -> Reply: assert len({request.peer_port for request in server.requests}) == 1 for request in server.requests: assert request.headers["Authorization"] == f"Bearer {TOKEN}" - assert request.headers["User-Agent"] == "proofline-python/1.0.2" + assert request.headers["User-Agent"] == "proofline-python/1.0.3" assert request.headers["Accept-Encoding"] == "identity" assert "Cookie" not in request.headers assert "Content-Type" not in request.headers