Skip to content

build: rename distribution to glyf-core and fix the release workflow - #91

Merged
kannandreams merged 3 commits into
mainfrom
chore/release-0.3.0-prep
Aug 26, 2026
Merged

build: rename distribution to glyf-core and fix the release workflow#91
kannandreams merged 3 commits into
mainfrom
chore/release-0.3.0-prep

Conversation

@kannandreams

Copy link
Copy Markdown
Collaborator

Summary

Preparation for the first PyPI release.

  • Distribution renamed to glyf-core. The bare glyf name on PyPI is held by an unrelated 2022 upload. The glyf command and import glyf are unchanged; wheels are now glyf_core-<version>-cp311-abi3-<platform>.whl. Leaves room for a future glyf-cloud companion package.
  • Release workflow fixed. macos-13 is retired, which is why the v0.1.0 and v0.2.0 runs were cancelled and no GitHub Release was ever published. New matrix builds one abi3 wheel per target — x86_64/aarch64 Linux, Intel/Apple Silicon macOS, x86_64 Windows — smoke-tests each in a clean venv, and attaches checksums.txt. The release job now only runs on tag pushes.
  • Version bumped to 0.3.0 in pyproject.toml, Cargo.toml, Cargo.lock, and src/glyf/__init__.py; CHANGELOG.md closes out 0.2.0 (tagged 2026-06-02, never published) and opens 0.3.0.
  • Sdist trimmed to src, tests, crates, and top-level metadata: 206 KB, no docs site, examples, .so, or __pycache__.
  • docs/release.mdxplaindocs/release.md, rewritten for the new flow.

Install docs (README, quickstart, existing-dbt-project) still point at the old wheel URLs; those change in a follow-up once the package is actually on PyPI.

Verification

  • uv run pytest: 114 passed
  • uv build: glyf_core-0.3.0-cp311-abi3-macosx_11_0_arm64.whl + glyf_core-0.3.0.tar.gz; sdist contents inspected
  • scripts/check-commit-message.sh --range main..HEAD passes
  • The workflow itself is exercised by the next v0.3.0 tag push.

Replace the retired macos-13 runner, build one abi3 wheel per target
(x86_64/aarch64 Linux, Intel/Apple Silicon macOS, x86_64 Windows), smoke
test each wheel in a clean venv, and attach checksums.txt to the release.
Only publish the GitHub Release on tag pushes.
The PyPI name glyf is taken, so the distribution becomes glyf-core; the
glyf command and the glyf import are unchanged. Trim the sdist to the
package, crate, tests, and top-level metadata. Close out the 0.2.0
changelog entry and open 0.3.0.
Rename docs/release.mdxplain to docs/release.md and document the version
locations, the glyf-core distribution name, and the tag-driven release.
@kannandreams
kannandreams merged commit 07760a2 into main Aug 26, 2026
4 checks passed
@kannandreams
kannandreams deleted the chore/release-0.3.0-prep branch August 26, 2026 22:37
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