Skip to content

[AAASM-1933] 🔖 (sdk): Bump pyproject + __version__ to 0.0.1a1#61

Merged
Chisanan232 merged 4 commits into
masterfrom
v0.0.1/AAASM-1933/config/pyproject_bump_alpha_1
May 25, 2026
Merged

[AAASM-1933] 🔖 (sdk): Bump pyproject + __version__ to 0.0.1a1#61
Chisanan232 merged 4 commits into
masterfrom
v0.0.1/AAASM-1933/config/pyproject_bump_alpha_1

Conversation

@Chisanan232
Copy link
Copy Markdown
Contributor

Description

Bumps the python-sdk PyPI package to the PEP 440 canonical alpha-1 form
0.0.1a1 so a v0.0.1-alpha.1 git tag can dry-run the PyPI publish
pipeline before the v0.0.1 GA bump.

Two granular commits:

  1. pyproject.toml version "0.0.0""0.0.1a1"
  2. agent_assembly/__init__.py __version__ "0.0.0""0.0.1a1"

Both files write the PEP 440 canonical form (0.0.1a1) rather than
the SemVer-style 0.0.1-alpha.1. PEP 440 normalises the latter to the
former for wheel filenames and pip resolution, so writing the canonical
form directly avoids confusion.

The cross-repo git tag remains v0.0.1-alpha.1 (SemVer form, consistent
with the other 3 repos) — PyPI is the only ecosystem that diverges.

Verified locally:

>>> import agent_assembly
>>> agent_assembly.__version__
'0.0.1a1'

Type of Change

  • ✨ New feature
  • 🔧 Bug fix
  • ♻️ Refactoring
  • 🍀 Performance improvement
  • 📚 Documentation update
  • 🚀 Release (pre-release dry-run version bump)

Breaking Changes

  • No — pre-release version, downgrade by SemVer ordering. Unpinned
    pip install agent-assembly continues to resolve to 0.0.0 (or the
    previous GA) — pre-releases require pip install --pre to opt in.

Related Issues

  • Related JIRA ticket: AAASM-1933 (sub-task of AAASM-1233, under Epic AAASM-1199)
  • Related GitHub issues: n/a

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed (import agent_assembly; print(agent_assembly.__version__)'0.0.1a1')
  • No tests required (version-string only; no behaviour change. Runtime publish verification is the job of AAASM-1936 against the published v0.0.1-alpha.1 release tag)

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Comments added for complex logic — n/a, mechanical bump
  • Documentation updated if needed — version is the documentation
  • All tests passing — no test failures expected from a version-string change

Sets the PyPI package version to the PEP 440 canonical alpha-1 form
`0.0.1a1` so a `v0.0.1-alpha.1` git tag can dry-run the PyPI publish
pipeline before the v0.0.1 GA bump (AAASM-1243).

PEP 440 normalises `0.0.1-alpha.1` to `0.0.1a1` for wheel filenames and
pip resolution, so writing the canonical form directly avoids
surprises. The cross-repo git tag remains `v0.0.1-alpha.1` (SemVer
form, consistent with the other 3 repos); PyPI is the only ecosystem
that diverges, so `agent_assembly.__version__` will read `"0.0.1a1"`
even though the tag says `alpha.1`.

After AAASM-1936 verifies the alpha-1 dry-run is green, AAASM-1243
restores `version = "0.0.1"` for the GA release.

Refs: AAASM-1933
Matches the pyproject.toml bump from the previous commit so consumers
calling `agent_assembly.__version__` at runtime read the same PEP 440
canonical alpha-1 form as the wheel filename (`agent_assembly-0.0.1a1*`).

Verified locally:

    >>> import agent_assembly
    >>> agent_assembly.__version__
    '0.0.1a1'

Refs: AAASM-1933
`uv sync --locked` in the python-sdk CI matrix requires the lockfile to
match `pyproject.toml`. Regenerated with `uv lock` after the AAASM-1933
version bump.

Diff is mechanical — `agent-assembly v0.0.0 -> v0.0.1a1` per uv's own
output; no external dependency-resolution change.

Refs: AAASM-1933
…oded "0.0.0"

`test_top_level_package_import_does_not_pull_in_httpx` asserted the
subprocess printed the literal `"0.0.0"`. The AAASM-1933 bump to
`"0.0.1a1"` broke this — the test's purpose is to verify the subprocess
import works without httpx/pydantic, not to police a specific version.

Read `agent_assembly.__version__` in the test process (top-level import
allowed in the test runner, just not in the subprocess) and compare
against that. The test now self-updates on every version bump.

Refs: AAASM-1933
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud
Copy link
Copy Markdown

@Chisanan232
Copy link
Copy Markdown
Contributor Author

Claude Code review — AAASM-1933

CI state

  • statusCheckRollup: 20 SUCCESS, 4 SKIPPED, 0 FAILUREmergeable=MERGEABLE, mergeStateStatus=CLEAN.

Initial CI run surfaced two real breakages caused by the bump, both fixed in this PR:

Failure Root cause Fix commit
8 jobs (run_unit-test + run_integration-test × 4 OS at Python 3.13) — uv sync --locked exit 1 pyproject.toml version change invalidated the lockfile pin (The lockfile at uv.lock needs to be updated) caf8db1 🔒 (sdk): Sync uv.lock to 0.0.1a1 pyproject bump
4 run_unit-test jobs (3.13) — test_top_level_package_import_does_not_pull_in_httpx assertion The test hardcoded the literal "0.0.0"; 0.0.1a10.0.0 562c872 🐛 (test): Compare against agent_assembly.__version__ instead of hardcoded "0.0.0"

The test fix reads __version__ from agent_assembly itself (in the test process — the subprocess still runs under blocked-httpx conditions), so the test now self-updates on every future version bump instead of drifting.

After the two real fixes landed, the re-run was fully green. The 4 SKIPPED entries are matrix dimensions excluded by config — not failures.

No remaining CI failures.

Scope vs. acceptance criteria

AC Status
pyproject.toml version = 0.0.1a1 (PEP 440 canonical alpha-1 form) ✅ Commit e0ca70f
uv sync succeeds at the bumped version ✅ CI ran it (would have failed otherwise) — needed the lockfile sync to pass
python -c "import agent_assembly; print(agent_assembly.__version__)" prints 0.0.1a1 ✅ Verified locally + by the now-passing test_top_level_package_import_does_not_pull_in_httpx
uv build produces wheel filename containing 0.0.1a1 ✅ Implicit — uv build uses pyproject.toml version; covered by CI build artifact step
PEP 440 alpha-1 form (0.0.1a1, not SemVer 0.0.1-alpha.1) ✅ Documented in the bump commit body — wheel filename normalization is consistent across the ecosystem

Commit granularity (4 commits, all bisectable)

  1. e0ca70f — 🔖 (sdk): Bump pyproject version to 0.0.1a1 for dry-run release
  2. 1ab92d2 — 🔖 (sdk): Sync agent_assembly.__version__ to 0.0.1a1
  3. caf8db1 — 🔒 (sdk): Sync uv.lock to 0.0.1a1 pyproject bump
  4. 562c872 — 🐛 (test): Compare against agent_assembly.__version__ instead of hardcoded "0.0.0"

Smoke-test cross-impact (already flagged in the PR body)

The F119 smoke test (agent-assembly/.github/workflows/smoke-test.yml) asserts agent_assembly.__version__ == ${TAG#v} (so 0.0.1-alpha.1), but the PyPI-normalized form is 0.0.1a1. The Python smoke jobs will need a normalization step (or accept either form) for the alpha-1 dry-run to be green — tracked under AAASM-1936.

Verdict

Ready for human approval and merge. All CI green, all 4 ACs verified, no scope gaps. Pairs with #793 (agent-assembly Cargo), #55 (node-sdk), #38 (go-sdk) under the F117 Story AAASM-1233.

— Claude Code (Opus 4.7, 1M context)

@Chisanan232 Chisanan232 merged commit 56e61b0 into master May 25, 2026
24 checks passed
@Chisanan232 Chisanan232 deleted the v0.0.1/AAASM-1933/config/pyproject_bump_alpha_1 branch May 25, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant