Repository navigation
Conversation
frostming
added this pull request to stack #363
October 15, 2026 07:29
frostming
removed this pull request from stack #363
October 15, 2026 07:30
frostming
added this pull request to stack #364
October 15, 2026 07:30
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bub | 243025c | Commit Preview URL Branch Preview URL |
Oct 15 2026, 07:48 AM |
Move bub.core into packages/bubling, a uv workspace member published as the `bubling` distribution in lockstep with bub, so users who only embed the agent loop no longer install bub's CLI, channel and plugin dependencies. bub depends on bubling. BREAKING CHANGE: `bub.core` and `bub.prompt` (only in 0.6.0a1) are removed; import from `bubling` instead. The aliases released in 0.5.x (`bub.errors`, `bub.tracing`, `bub.streaming`, `bub.store`, `bub.tape`, `bub.tools`, `bub.sidecars`) now point at bubling's modules. - bubling's tests live in packages/bubling/tests and CI runs them with only bubling installed; the import-linter contracts now guard bubling. - `make build` and the release workflow build both distributions. - bubling ships py.typed so bub and downstream users keep its types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
frostming
force-pushed
the
refactor/bubling-package
branch
from
October 15, 2026 07:37
553dd66 to
e0af82c
Compare
Releases build bub and bubling at the tag's version and pin bub's bubling requirements to `==<tag>` before building; the repository keeps a range for development. scripts/release.py rewrites only the requirement strings and checks that both distributions carry the tag's version and that bub requires that exact bubling before publishing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Users who only embed the agent loop still had to install all of
bub: the CLI, the Telegram channel, the plugin system, the TUI prompts and their dependencies. #361 madebub.coreindependent of the rest ofbub. This PR ships it as its own distribution,bubling, built from the same repository:packages/bubling/is a uv workspace member ([tool.uv.workspace],bubling = { workspace = true }), souv syncstill installs both packages as editable and contributors work in a single checkout.republic,pydantic,loguru,typing-extensions, plus atraceextra for OpenTelemetry.py.typed.raw-options = { root = "../.." }).bubling>=0.6.0a1,bubling[trace]), which only matters outside the workspace; dev builds such as0.6.0a2.devNsort below0.6.0a2, so the bound stays at0.6.0a1.scripts/release.py pin <tag>rewrites those two requirements tobubling==<tag>/bubling[trace]==<tag>. The build then runs withSETUPTOOLS_SCM_PRETEND_VERSION=<tag>, because the rewrite dirties the checkout and hatch-vcs would otherwise produce a dev version.scripts/release.py check <tag> distfails the release unless all four distributions carry the tag's version andbubrequires exactly thatbubling.bub Xdepends onbubling==X.bub.coreandbub.promptare removed; import frombublinginstead.bub.errors,bub.tracing,bub.streaming,bub.store,bub.tape,bub.tools,bub.sidecars) are kept and now point to thebublingmodules.bub.turnre-exportsTurnState.packages/bubling/tests/: agent loop, errors, tools, file and fork stores.bubortests/.bubling) and the standalone CI job cover the same ground.bubling-standalonejob (Python 3.12–3.14) installs onlybubling(uv run --isolated --no-project --with ./packages/bubling) and runs its tests.make buildnow useuv build --all-packages.packages/.bublingand import from it. The references tobub.core/bub.promptin the hooks, types, concepts and tutorial pages now point tobubling. Also updated: AGENTS.md (layout, commands, test placement), README, and a newpackages/bubling/README.md.Before merging / releasing
bublingproject (pending publisher: this repo,on-release-main.yml, environmentpypi). Otherwiseuv publishfails when it uploadsbubling.Verification
make check(lock, prek/ruff, mypy on 73 files across both trees, import contracts): passeduv run python -m pytest -q: 626 passed, 20 skippeduv run --isolated --no-project --with ./packages/bubling --with pytest --with pytest-asyncio pytest packages/bubling/tests: 42 passed, andbubis not importable in that environmentuv build --all-packages: both sdists and wheels build.bublingwheel contains onlybubling/pluspy.typed.pyproject.tomland tests, and a wheel rebuilds from it.bub's metadata requiresbubling>=0.6.0a1, and itstraceextra requiresbubling[trace].0.6.0a2:pinchanges only the 2 requirement strings, andcheckpasses on the pinned build.checkfails when the pin step is skipped, and when the tag doesn't match the built version.0.6.0a2.dev5+g….d20261015.pnpm buildwith the pinned pnpm 10.34.6): passed🤖 Generated with Claude Code