Skip to content

chore: switch build backend to flit + bump to 0.3.0 - #11

Merged
connorferster merged 1 commit into
mainfrom
chore/flit-build-backend
Aug 14, 2026
Merged

chore: switch build backend to flit + bump to 0.3.0#11
connorferster merged 1 commit into
mainfrom
chore/flit-build-backend

Conversation

@connorferster

Copy link
Copy Markdown
Contributor

Summary

Switches the build backend from uv_build to flit_core, with dynamic version and description (as requested), and bumps the version to 0.3.0 in preparation for a release.

Why flit needed changes

flit derives dynamic metadata from the package module, which previously lacked the required attributes:

  • src/ymprint/__init__.py had no module docstring (→ description) and no __version__ (→ version)
  • pyproject.toml declared version/description statically

Changes

  • src/ymprint/__init__.py: add module docstring + __version__ = "0.3.0"
  • pyproject.toml:
    • dynamic = ["version", "description"] (removed the static keys)
    • [build-system]flit_core>=3.9,<4 / flit_core.buildapi
    • [tool.flit.module] name = "ymprint" for the src/ layout
  • Version bump 0.2.0 → 0.3.0 (backward-compatible features merged since the 0.2.0 release)

Verification

  • uv build produces ymprint-0.3.0-py3-none-any.whl + sdist
  • Wheel METADATA: Version: 0.3.0, Summary: Desktop publishing in YAML with Python., all Requires-Dist present
  • ym console script and src/ymprint/ layout intact
  • Full test suite: 66 passing

Once merged I'll tag v0.3.0 and cut the GitHub release.

🤖 Generated with Claude Code

Move from uv_build to flit_core with dynamic version and description. flit
derives both from the package module, so add a module docstring (→ description)
and `__version__` (→ version) to src/ymprint/__init__.py, and declare
`dynamic = ["version", "description"]` in pyproject.

Bump to 0.3.0 for release: several backward-compatible features have merged
since the 0.2.0 release (multi-page templates, scoped text styles, explicit
list syntax, graceful CLI error handling).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@connorferster
connorferster merged commit 3fab850 into main Aug 14, 2026
1 check passed
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.

2 participants