Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proofline/_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions scripts/install_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading