Skip to content

Add CI, single-source versioning, changelog and release workflow - #23

Merged
VictorGSchneider merged 2 commits into
mainfrom
claude/youthful-tesla-gbhv5o
Oct 15, 2026
Merged

VictorGSchneider merged 2 commits into
mainfrom
claude/youthful-tesla-gbhv5o

Conversation

@VictorGSchneider

@VictorGSchneider VictorGSchneider commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • CI (.github/workflows/ci.yml): pyflakes lint, unit tests on Python 3.10–3.13, real-app UI tests under Xvfb (GTK4/libadwaita on ubuntu-24.04), and a package build (build + twine check, wheel must contain only dfm*).
  • Versioning: version defined once in dfm/__init__.py; setup.py, dfm --version, python -m dfm --version and the About dialog read it. Bumped to 2.1.0 (setup.py previously said 2.0.0).
  • Changelog: CHANGELOG.md (Keep a Changelog) with 2.0.0 and 2.1.0 entries.
  • Release workflow (release.yml): on vX.Y.Z tags, verifies tag == __version__, runs tests, publishes a GitHub Release with the matching CHANGELOG section (scripts/release_notes.py).
  • setup.py no longer ships tests/uitests (find_packages(include=["dfm","dfm.*"])), adds metadata and long description.
  • Removed unused imports found by pyflakes; README gets CI badge and Releases section.

Test plan

  • pyflakes clean
  • 151 unit tests pass on 3.10, 3.11, 3.12, 3.13
  • UI tests pass under Xvfb (py3.12)
  • actionlint clean on both workflows; wheel builds as dfm-2.1.0
  • First real GitHub Actions run (this PR)

After merge: tags v2.0.0 (on afffdd8) and v2.1.0 (on the merge commit) still need to be pushed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UB8ouAGs45EfpwJjttj6yY


Generated by Claude Code

- GitHub Actions: lint, unit tests (py3.10-3.13), Xvfb UI tests, package build
- Release workflow on vX.Y.Z tags, notes taken from CHANGELOG.md
- Version defined once in dfm/__init__.py (setup.py, --version, About dialog)
- Bump to 2.1.0; add CHANGELOG, dfm --version, python -m dfm
- Package only dfm*; remove unused imports found by pyflakes

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UB8ouAGs45EfpwJjttj6yY
The runner has no a11y bus, so GTK warns on every start. That is
environment noise, not a DFM bug.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UB8ouAGs45EfpwJjttj6yY
@VictorGSchneider VictorGSchneider self-assigned this Oct 15, 2026
@VictorGSchneider
VictorGSchneider merged commit ce9d7a2 into main Oct 15, 2026
7 checks passed
@VictorGSchneider
VictorGSchneider deleted the claude/youthful-tesla-gbhv5o branch October 15, 2026 01:25
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