Skip to content
Draft
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
6 changes: 3 additions & 3 deletions .github/scripts/check_python_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ def verify_release(
event_name: str, tag: str, input_version: str, pyproject: Path, dist: Path
) -> str:
if event_name == "push":
if not tag.startswith("python-v"):
raise ValueError("push tag must start with python-v")
requested_version = tag[len("python-v") :]
if not tag.startswith("python-sdk-v"):
raise ValueError("push tag must start with python-sdk-v")
requested_version = tag[len("python-sdk-v") :]
elif event_name == "workflow_dispatch":
requested_version = input_version
else:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Python SDK
on:
push:
tags:
- 'python-v*'
- 'python-sdk-v*'
workflow_dispatch:
inputs:
version:
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ the legacy `amount` alias when both differ, `charge()` now raises
`IdempotencyConflictError` for every 409 response, and
`B2AEdgeClient.execute_awi_action()` requires a permit and key.
`parse_402_response()` always sets the two amounts equal, so its normal path
is unchanged. The tag is not cut by this change. `python-v0.5.0` is still a
is unchanged. The tag is not cut by this change. `python-sdk-v0.5.0` is still a
release decision.

### Distribution name
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Typed async client for the governed MCP trust loop:

`discover → authenticate → authorize → invoke → meter → receipt → audit → govern`

The `amw-sdk` distribution is at version `0.5.0`. Tags matching `python-v*`
The `amw-sdk` distribution is at version `0.5.0`. Tags matching `python-sdk-v*`
trigger the PyPI release workflow. Until publication, install from this checkout.

## Installation
Expand Down