Skip to content

Update to cmem-plugin-template v9.7.0 - #11

Merged
seebi merged 1 commit into
mainfrom
feature/updateTemplate
Sep 15, 2026
Merged

seebi merged 1 commit into
mainfrom
feature/updateTemplate

Conversation

@seebi

@seebi seebi commented Sep 15, 2026

Copy link
Copy Markdown
Member

💪 What

  • Updates .copier-answers.yml from template v9.5.0 to v9.7.0
  • Replaces the &preparation YAML anchor in Taskfile.yaml with two internal tasks, prepare and package:exists, so a task declaring its own deps can no longer silently drop what the anchor added
  • Restores poetry:install as a dependency of build, and removes it from both format tasks, so the PostToolUse formatting hook keeps working while pyproject.toml is ahead of the lock file
  • Removes the template:feedback-check and check:prepare tasks; the Stop hook now runs python3 .claude/hooks/template-feedback.py directly instead of through task
  • Adds a least-privilege permissions: block to check.yml, pins xportation/junit-coverage-report to v1.0.3 and marks both reporting steps continue-on-error
  • Adds the deliberately empty [tool.pytest.ini_options] table to pyproject.toml
  • Refreshes every dependency via poetry update — notably cmem-cmemc 25.6.2 → 26.2.1, cmem-cmempy 25.4.0 → 25.5.0, click 8.4.2 → 8.5.0, packaging 24.2 → 26.3
  • Updates the shipped copier-update and plugin-implementation skills and .claude/rules/

🤔 Why

  • This is the only way a generated project picks up template changes; there is no self-updating automation
  • Two of the fixes matter here directly: without the pytest table, a pytest.ini, tox.ini or setup.cfg anywhere above this checkout could set the project's rootdir and inject its own addopts into this suite; and without the permissions: block, a pull request from a fork reds the whole check on a token it cannot be given
  • The cmem-cmemc bump moves past the click 8.5 incompatibility (Unknown color '') that took several sibling repositories' pipelines red

👩‍🔬 How to validate

  • task format:fix on a checkout whose lock file is behind pyproject.toml — it formats rather than failing on poetry install
  • package_dir= task check — package:exists fails loudly instead of checking nothing
  • task build on a fresh clone with no virtualenv — it creates one rather than failing in poetry run

🔗 Related links

🤖 Generated with Claude Code

Replays the template changes from v9.5.0 to v9.7.0: the Taskfile preparation
anchor becomes the prepare/package:exists tasks, the Stop hook runs its script
directly, check.yml gets a least-privilege permissions block with pinned and
non-fatal reporting steps, and pyproject.toml regains the empty
[tool.pytest.ini_options] table. Dependencies refreshed with poetry update.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Coverage

Coverage Report
File Stmts Miss Cover Missing
init.py 0 0 100%
workflow/init.py 0 0 100%
workflow/graphql.py 107 5 95% 163 179-180 187 208
workflow/utils.py 15 0 100%
TOTAL 122 5 96%  

Tests Skipped Failures Errors Time
14 0 💤 0 ❌ 0 🔥 27.481 ⏱

@seebi
seebi merged commit 8e1a131 into main Sep 15, 2026
2 checks passed
@seebi
seebi deleted the feature/updateTemplate branch September 15, 2026 18:39
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