phoenix-sqlean
БесплатноБез исполняемых скриптовНе проверенMaintaining packages/phoenix-sqlean, the vendored fork of nalgeon/sqlean.py published as arize-phoenix-sqlean. Use when bumping the bundled SQLite or sqlean…
от Arize-ai★ 12 510 звёзд на GitHubОб этом скилле
phoenix-sqlean
Vendored fork of nalgeon/sqlean.py.
Bumping a bundled version
Pins live in packages/phoenix-sqlean/Makefile. Each has a partner that must move with it:
| Pin | Moves with |
|---|---|
SQLITE_VERSION |
SQLITE_RELEASE_YEAR (the URL embeds both, so a mismatch 404s) and SQLITE_SHA256 |
SQLEAN_COMMIT |
SQLEAN_VERSION in the Makefile and in setup.py — the commit is what gets fetched, the strings only describe it |
SQLEAN_VERSION |
setup.py's copy, compiled in as what sqlean_version() returns. Suffix +<short sha> iff SQLEAN_COMMIT sits ahead of the named tag |
check-sqlean-pin, a prerequisite of download-sqlean, enforces the SQLEAN_* rows for one
ls-remote: suffix prefixes the commit, base is a real tag, suffix present iff ahead, setup.py
agrees. It cannot tell you the base names the wrong release — the single-commit fetch carries no
ancestry. SQLITE_* gets no equivalent cross-check — only its hash, at fetch.
sqlean is fetched over git by commit: GitHub's source archives are generated on demand and not
byte-stable, so they cannot be checksum-pinned, while git hashes every object it receives. Hence
download-sqlean needs git on PATH and no checksum. The SQLite amalgamation arrives over plain
HTTP, where curl verifies nothing — SQLITE_SHA256 proves the bytes match what was confirmed
against sqlite.org's published SHA3-256.
With the script
scripts/check-upstream.sh resolves and rewrites every pin, hashes included:
cd packages/phoenix-sqlean
./scripts/check-upstream.sh sqlite # detection only, no downloads
./scripts/check-upstream.sh sqlite --apply # rewrite pins, print a Markdown summary
./scripts/check-upstream.sh sqlean [--apply]
By hand
Resolve a tag to a commit with git ls-remote <repo> 'refs/tags/<version>*', taking the peeled
^{} line when the tag is annotated. sqlean also carries a non-version tag (incubator), so
filter by shape before picking a latest.
For SQLITE_SHA256, confirm the download against the SHA3-256 in the PRODUCT line on
https://sqlite.org/download.html before recording the SHA-256 (shasum cannot do SHA3).
Skipping that makes the pin trust-on-first-use.
Verify
cd packages/phoenix-sqlean
make prepare-src download-sqlite download-sqlean # always the full chain: download-sqlean
# APPENDS init.c, so alone it double-appends
python setup.py build_ext -i
python -m tests
Staying current
Dependabot cannot see these pins — no custom-regex manager — and there is no Renovate here.
phoenix-sqlean-upstream.yml fills the gap: weekly, one draft PR per component, running
check-upstream.sh --apply, no model involved.
It builds and tests nothing. CI covers that on the PR; verifying inside the bump job would
re-run a subset of it, on the one platform where the likeliest failure — patch(1) on the MSVC
patch — cannot reproduce.
A failure of the script itself is different: upstream changed shape, so it exits before writing and the job goes red with no PR, because there is no computed bump to review.
Gotchas
- Any new third-party source in sqlean needs a
THIRD_PARTY_LICENSESsection and its SPDX identifier inlicense=. patch(1)failing onsrc/sqlean-time-msvc.patchis the intended tripwire, not a breakage. Regenerate it againstsqlite/time/duration.candsqlite/time/time.c.download-sqleanandcheck-upstream.shassert that sqlean'sMakefilehas no externalcurldownloads and thatsrc/sqlite3-*.cmatchesSQLEAN_MODULES. If upstream adds/removes an extension module or re-introduces an external source download, updateMakefile,setup.py,MANIFEST.in,src/sqlean.c,sqlean/extensions.py, andtests/extensions.pytogether.- The
sqlean_version()test is a tautology on its own — it compares the compiled macro tosetup.py's own constant, proving only that the binary is not stale.check-sqlean-pinis what ties that constant back toSQLEAN_COMMIT. - Changing
SQLEAN_VERSIONalone does not trigger a recompile. It only moves a-Dflag, andbuild_extkeys on source mtime.touch src/sqlean.cafter editing, or the version test fails against a merely stale build. - Keep the package version plain SemVer. release-please's version regex is unanchored, so
1.2.3.1and1.2.3.post1truncate to1.2.3and collide with an existing tag, silently. For the same reasonVERSIONmust stay aboveSQLEAN_VERSIONinsetup.py. The package version is intentionally independent of the bundled SQLite version.
Wheels and publishing
- Settings are in
cibuildwheel.toml; runners and steps are inphoenix-sqlean-build.yml, aworkflow_callworkflow thatbuild-sqleaninpublish.yamland CI'swheelsjob both invoke with no overrides. A PR runs the exact build a release
Установить phoenix-sqlean в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл phoenix-sqlean?
Maintaining packages/phoenix-sqlean, the vendored fork of nalgeon/sqlean.py published as arize-phoenix-sqlean. Use when bumping the bundled SQLite or sqlean versions, changing its wheel matrix, or touching its publish path. Trigger on any change under packages/phoenix-sqlean/, .github/workflows/phoenix-sqlean-*.yml, or the sqlean jobs in .github/workflows/publish.yaml.
Как установить скилл phoenix-sqlean?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл phoenix-sqlean запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic