From 348845fe8f9be4b2243f8025faac33ea43bdbe5a Mon Sep 17 00:00:00 2001 From: Calvin Grunewald Date: Fri, 17 Apr 2026 15:22:24 -0700 Subject: [PATCH] chore: rename distro to archastro-sdk, reset version to 0.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fresh-start rename — ship as archastro-sdk 0.1.0 rather than inheriting archastro-platform-sdk 0.77.0 from the firstlanding import. These changes were on feat/initial-setup but got left behind when PR #1 merged; rebasing onto main now that PR #2's flake fix is in. - pyproject.toml: name → archastro-sdk, version → 0.1.0 - scripts/sdk-generator-config.json: matches - README: pip install archastro-sdk - src/archastro/platform/__init__.py: patched to look up \"archastro-sdk\" via importlib.metadata. This file is auto-generated; the generator fix that will make this automatic is ArchAstro/archastro-openapi#4 — once that ships in @archastro/sdk-generator@0.1.1+, future regens produce the right output without patching. - uv.lock: regenerated The Python import path (`archastro`) is unchanged — only the pip-install name and the __version__ lookup key change. Local verification uv run python -c \"import archastro.platform; print(archastro.platform.__version__)\" → 0.1.0 Test suite: 51 non-contract tests + 641 contract tests (incl. channel suites over a real @archastro/channel-harness subprocess) all pass; ruff check + format clean. Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 2 +- pyproject.toml | 4 ++-- scripts/sdk-generator-config.json | 4 ++-- src/archastro/platform/__init__.py | 2 +- uv.lock | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4f3157a..c43a62c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Python SDK for the ArchAstro Platform API. ```bash -uv add archastro-platform-sdk # or: pip install archastro-platform-sdk +uv add archastro-sdk # or: pip install archastro-sdk ``` ```python diff --git a/pyproject.toml b/pyproject.toml index 1392c3b..02f493a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] -name = "archastro-platform-sdk" -version = "0.77.0" +name = "archastro-sdk" +version = "0.1.0" description = "Python SDK for the ArchAstro Platform API" readme = "README.md" requires-python = ">=3.11" diff --git a/scripts/sdk-generator-config.json b/scripts/sdk-generator-config.json index 2478cec..6dbdd70 100644 --- a/scripts/sdk-generator-config.json +++ b/scripts/sdk-generator-config.json @@ -1,6 +1,6 @@ { - "name": "archastro-platform-sdk", - "version": "0.77.0", + "name": "archastro-sdk", + "version": "0.1.0", "baseUrl": "https://platform.archastro.ai", "apiBase": "/api", "defaultVersion": "v1", diff --git a/src/archastro/platform/__init__.py b/src/archastro/platform/__init__.py index 277f121..8444a44 100644 --- a/src/archastro/platform/__init__.py +++ b/src/archastro/platform/__init__.py @@ -8,4 +8,4 @@ from .client import PlatformClient # noqa: F401 from .v1 import V1 # noqa: F401 -__version__ = _pkg_version("archastro-platform-sdk") +__version__ = _pkg_version("archastro-sdk") diff --git a/uv.lock b/uv.lock index 0b260d6..6340598 100644 --- a/uv.lock +++ b/uv.lock @@ -25,8 +25,8 @@ wheels = [ ] [[package]] -name = "archastro-platform-sdk" -version = "0.77.0" +name = "archastro-sdk" +version = "0.1.0" source = { editable = "." } dependencies = [ { name = "httpx" },