Skip to content

Weekly check of the versions written in the template, and Dependabot for the actions - #46

Merged
seb5g merged 1 commit into
5.3.xfrom
ci/version-check
Oct 11, 2026
Merged

seb5g merged 1 commit into
5.3.xfrom
ci/version-check

Conversation

@seb5g

@seb5g seb5g commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Before: the template names versions in many places (dependency floors, "5.3.x" in the README and AGENTS.md, Python classifiers, the compatibility matrix, pinned actions) and nothing warns when they drift, for instance after PyMoDAQ 5.4.0 is released.

After: a weekly workflow (also on pull requests touching these files) fails and emails the repository watchers when something has drifted. Dependabot opens a monthly pull request for the pinned actions. Both only run in this template repository.

What the script checks (.github/scripts/check_template_versions.py, standard library only, floors in pyproject.toml are the single source of truth):

  • every pymodaq* floor exists on PyPI and the pymodaq floor is in the branch's minor;
  • a newer PyMoDAQ minor exists than the branch targets;
  • Python classifiers and requires-python equal those of the latest pymodaq of the branch's minor;
  • the compatibility matrix covers the oldest and newest supported Python;
  • "PyMoDAQ X.Y.x" in README.rst and AGENTS.md equals the branch.

The checklist for a new PyMoDAQ minor is in the docstring of the script. Checked locally: it prints OK on this branch and reports each of the drifts above when I introduce them by hand.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg


Generated by Claude Code

@seb5g
seb5g merged commit fe2a65a into 5.3.x Oct 11, 2026
7 checks passed
@seb5g
seb5g deleted the ci/version-check branch October 11, 2026 16:17
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