Skip to content

Update dependencies and move the version into keycmd/__init__.py - #34

Merged
Korijn merged 2 commits into
masterfrom
claude/update-dependencies-4514vm
Aug 4, 2026
Merged

Korijn merged 2 commits into
masterfrom
claude/update-dependencies-4514vm

Conversation

@Korijn

@Korijn Korijn commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Two small maintenance changes.

Update dependencies to the latest releases

  • keyring floor raised from 25.6 to 25.7, the newest release. shellingham is already at its newest, 1.5.4.
  • astral-sh/setup-uv v8.3.2 → v9.0.0 (all four jobs) and softprops/action-gh-release v3.0.1 → v3.0.2, both re-pinned to the new commit SHAs.
  • Left alone because they already point at the newest release: actions/checkout@v7, actions/upload-artifact@v7, actions/download-artifact@v8, the Vampire/setup-wsl v7.0.0 pin, and pypa/gh-action-pypi-publish@release/v1. The dev dependency group is unpinned, so uv sync already resolves it to the latest and uv.lock is not checked in.

setup-uv v9's only breaking change is prune-cache defaulting to false; the workflow never sets that input, so nothing changes beyond slightly larger Actions caches.

Keep the version in keycmd/__init__.py

The version was declared in pyproject.toml and read back out of the installed metadata at import time. It is now a plain literal in keycmd/__init__.py, with dynamic = ["version"] and [tool.hatch.version] pointing hatchling at that file — so __version__ no longer depends on the package being installed, and a release means bumping one literal.

Testing

ruff check, ruff format --check and ty check --error-on-warning pass. The suite is 79 passed / 3 skipped (the WSL-only tests) under PYTHON_KEYRING_BACKEND=keyrings.alt.file.PlaintextKeyring; without it the 14 OS-keyring tests skip, as this container has no unlockable keyring. uv build produces keycmd-0.7.0 artifacts, keycmd --version prints keycmd: v0.7.0, and importlib.metadata.version("keycmd") still reports 0.7.0. The action bumps themselves are only exercised once CI runs here.


Generated by Claude Code

claude added 2 commits August 4, 2026 20:36
Raise the keyring floor to 25.7 and move the pinned actions forward:
setup-uv to v9.0.0 and action-gh-release to v3.0.2. The floating major
tags (checkout v7, upload-artifact v7, download-artifact v8) and
setup-wsl v7.0.0 already point at the newest release, and shellingham
is still on 1.5.4.

The only breaking change in setup-uv v9 is prune-cache defaulting to
false, which this workflow does not set.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjkeZCN3pTncEUibVHMBNX
The version was declared in pyproject.toml and read back out of the
installed metadata at import time. Declare it in __init__.py instead and
let hatchling pick it up from there, so __version__ is a plain literal
that no longer depends on the package being installed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjkeZCN3pTncEUibVHMBNX
@Korijn
Korijn merged commit 01d07ac into master Aug 4, 2026
9 checks passed
@Korijn
Korijn deleted the claude/update-dependencies-4514vm branch August 4, 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.

2 participants