Skip to content

feat: ship the sqlquack command with pip install sqlquack - #157

Merged
kvlonge merged 1 commit into
mainfrom
build/pip-cli-distributions
Nov 8, 2026
Merged

kvlonge merged 1 commit into
mainfrom
build/pip-cli-distributions

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Supersedes #95, rebuilt on current main (19c51fa) instead of merging 800 commits into the old branch.

pip install sqlquack installs only the Python module today, so the quickstart's and README's sqlquack commands are not found. This adds the sqlquack-cli distribution, which ships the native executable with DuckDB compiled in, and makes sqlquack depend on it at the same version.

Changes from #95:

  • Conflicts with main resolved in Makefile (distribution-notices added to check-ci beside main's new targets) and fensu.toml.
  • python/THIRD_PARTY_NOTICES and crates/sqlquack/THIRD_PARTY_NOTICES recopied from the root file, which main extended since.
  • The wheel smoke test now also runs the README's commands: sqlquack check query.sql, sqlquack convert query.sql --schema schema.json with no sqlquack.toml, and the Python ConvertOptions example.

Release Please and Publish stay idle until the SQLQUACK_RELEASES repository variable is enabled at launch. Nothing here tags or uploads.

pip install sqlquack installed only the Python module. A new
sqlquack-cli distribution ships the native sqlquack executable, and
sqlquack depends on it at the same version. Both wheels compile DuckDB
in, so they need no system DuckDB, and carry the licence and
third-party notices, now including DuckDB's; make distribution-notices
checks the shipped copies match the root files.

Distributions builds Linux, macOS and Windows wheels on pull requests
that touch packaging and smoke tests each one with the quick start and
the README's commands and Python example. Release Please and Publish
follow SQLBuild's and stay idle until the SQLQUACK_RELEASES repository
variable is enabled at launch.

Rebuilt on current main from feat/pip-console-command.
@kvlonge
kvlonge merged commit fc45ca1 into main Nov 8, 2026
10 checks passed
kvlonge referenced this pull request Nov 8, 2026
…cies

The SQLite semantics profile made sqlquack-semantics depend on regex and stacker, but the playground's own lockfile in website/wasm was not updated, so the Website workflow's locked lint fails on main. This records exactly the versions the workspace lockfile already pins.
@kvlonge
kvlonge deleted the build/pip-cli-distributions branch November 9, 2026 21:31
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