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 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "agentscore-commerce"
version = "2.8.1"
version = "2.8.2"
description = "Agentic commerce SDK for Python: identity middleware (FastAPI, Flask, Django, AIOHTTP, Sanic, ASGI) + payment helpers + 402 builders + discovery + Stripe multichain. The full merchant-side toolkit for AgentScore-powered agentic commerce."
readme = "README.md"
license = "MIT"
Expand Down
7 changes: 5 additions & 2 deletions tests/test_payment_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from __future__ import annotations

import importlib.util
from types import SimpleNamespace
from typing import Any

import pytest
Expand Down Expand Up @@ -448,11 +449,13 @@ async def test_create_mppx_server_stripe_rail_resolves(monkeypatch: pytest.Monke

``create_mppx_stripe`` is stubbed because the installed pympp build doesn't ship a
working ``stripe/charge`` factory; this exercises the stripe branch (resolve + break)
in ``create_mppx_server`` without depending on that peer-dep detail.
in ``create_mppx_server`` without depending on that peer-dep detail. pympp >=0.11's
``Mpp.create`` reads ``.name`` off each method for its uniqueness check, so the stub
returns a method-shaped object carrying one rather than a bare ``object()``.
"""

async def _fake_create_stripe(**_kwargs: Any) -> Any:
return object()
return SimpleNamespace(name="stripe")

monkeypatch.setattr("agentscore_commerce.stripe_multichain.mppx_stripe.create_mppx_stripe", _fake_create_stripe)
server = await create_mppx_server(
Expand Down
24 changes: 17 additions & 7 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.