Skip to content

Commit 9cd8620

Browse files
Merge branch 'master' into ceng-686-cloudsmith-cli-enhance-whoami-verbose-with-auth-details
2 parents f2e7cda + 8624c4d commit 9cd8620

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

cloudsmith_cli/core/mcp/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import cloudsmith_api
99
import httpx
10-
import toon_python as toon
10+
import toon
1111
from mcp import types
1212
from mcp.server.fastmcp import FastMCP
1313
from mcp.shared._httpx_utils import create_mcp_http_client
@@ -522,7 +522,7 @@ async def _execute_api_call(
522522
return toon.encode(result)
523523
return json.dumps(result, indent=2)
524524

525-
except (json.JSONDecodeError, toon.ToonEncodingError):
525+
except (json.JSONDecodeError, toon.ToonDecodeError):
526526
return response.text
527527
except httpx.HTTPError as e:
528528
return f"HTTP error: {str(e)}"

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ pip-tools
77
pre-commit
88
pylint
99
pytest-cov
10-
toon-python
10+
python-toon
1111
mcp==1.9.1

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ tomli==2.4.0
185185
# pytest
186186
tomlkit==0.14.0
187187
# via pylint
188-
toon-python==0.1.2
188+
python-toon==0.1.2
189189
# via
190190
# -r requirements.in
191191
# cloudsmith-cli (setup.py)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get_long_description():
5757
"cloudsmith-api>=2.0.24,<3.0", # Compatible upto (but excluding) 3.0+
5858
"keyring>=25.4.1",
5959
"mcp==1.9.1",
60-
"toon-python==0.1.2",
60+
"python-toon==0.1.2",
6161
"requests>=2.18.4",
6262
"requests_toolbelt>=1.0.0",
6363
"semver>=2.7.9",

0 commit comments

Comments
 (0)