Skip to content

docs: the packages import as sillo_wire and sillo_graphql - #445

Merged
TechWithDunamix merged 1 commit into
mainfrom
docs-package-import-paths
Sep 12, 2026
Merged

TechWithDunamix merged 1 commit into
mainfrom
docs-package-import-paths

Conversation

@TechWithDunamix

Copy link
Copy Markdown
Member

Docs half of the import-path change. Companion to sillohq/wire#1, sillohq/graphql#1 and sillohq/vise#1.

Wire and GraphQL shipped under two names — sillo_wire where the code lives, and sillo.wire as an alias so an import read as part of the framework. Those aliases are being removed, so the docs teach the top-level names.

Safe to merge ahead of the package PRs. sillo_wire already works in the published 0.1.0.dev1, which answers to both names, so nothing here is wrong before or after they land.

Prose, not just imports

The alias had documentation of its own, and swapping the import statements under it would leave pages explaining machinery that no longer exists:

  • "The two import paths" sections in the Wire and GraphQL manuals — removed. There is one now.
  • The Packages index's "How they attach" — rewritten. It described a meta-path finder registered by a .pth and PEP 561 stubs; it now says packages are plain top-level distributions, keeps the part that still matters (nothing is installed into the framework's sillo/ directory, and why), and records what happened to the aliases.
  • The v0.x and v1.0 caveats saying sillo-graphql "claims the same import name" and therefore "refuses to load" against 0.x. That collision no longer exists — what actually rules it out on 0.x is the sillo-framework>=1.0 floor, which is what they now say.

Deliberately unchanged

  • v0.x/guides/graphql.md — untouched. It documents the framework's own built-in sillo.graphql on the 0.x line. That module is real and still there; it is not this package.
  • Logger names. sillo.graphql.operations on the observability page is a logging hierarchy nested under the framework's sillo logger, the same as sillo.record and sillo.mail. Not an import path.
  • References to the pre-1.0 sillo.graphql the framework shipped — accurate history, and what the migration tables migrate from.

Verification

26 files changed. Docs build clean (526 pages, exit 0) and no broken internal links.

🤖 Generated with Claude Code

Follows sillohq/wire#1 and sillohq/graphql#1, which remove the
`sillo.wire` and `sillo.graphql` import aliases. Both packages are plain
top-level distributions now, so the docs teach the top-level names.

Safe to land ahead of those PRs: `sillo_wire` already works in the
published 0.1.0.dev1, which answers to both names.

Rewrites the prose that explained the aliasing rather than just swapping
imports under it. The "two import paths" sections in the Wire and GraphQL
manuals are gone; the Packages index's "How they attach" section no
longer describes a meta-path finder and a second set of stubs, and says
what happened to the aliases instead.

Three things are deliberately left alone:

- `v0.x/guides/graphql.md` is untouched. It documents the framework's own
  built-in `sillo.graphql` on the 0.x line, which is a different thing
  that still exists there.
- Logger names. `sillo.graphql.operations` in the observability page is a
  logging hierarchy under the framework's `sillo` logger, not an import.
- References to the pre-1.0 `sillo.graphql` the framework shipped, which
  are accurate history and are what the migration tables migrate from.

The v0.x and v1.0 caveats saying `sillo-graphql` "claims the same import
name" and so "refuses to load" against 0.x were describing a collision
that no longer exists. What actually rules it out on 0.x is the version
floor, which is what they now say.

Verified: docs build clean (526 pages), no broken internal links.
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

Deployment failed for project nexios with the following error:

There is no GitHub account connected to this Vercel account.

@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
core Ready Ready Preview Sep 12, 2026 10:58pm UTC

@codecov

codecov Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TechWithDunamix
TechWithDunamix merged commit aec1f39 into main Sep 12, 2026
17 of 18 checks passed
@TechWithDunamix
TechWithDunamix deleted the docs-package-import-paths branch September 12, 2026 23:20
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