Skip to content

Checkout full history in the shared test workflows - #53

Merged
seb5g merged 1 commit into
5.3.xfrom
fix/checkout-full-history
Oct 12, 2026
Merged

seb5g merged 1 commit into
5.3.xfrom
fix/checkout-full-history

Conversation

@seb5g

@seb5g seb5g commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Before: reusable-tests.yml and reusable-compatibility.yml used a shallow checkout, so hatch-vcs built the plugin as 0.1.dev1. For pymodaq_plugins_mock this made pip install -e . fail: pymodaq itself requires pymodaq-plugins-mock>=5.0.12, which the dev version cannot satisfy (seen on PyMoDAQ/pymodaq_plugins_mock#43).

After: both workflows check out the full history and tags, as reusable-publish.yml already does, so the plugin gets its real version.

How: fetch-depth: 0 on the checkout step of the two workflows. Plugins call these workflows at @5.3.x, so merging fixes all of them without touching the plugin repositories.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg


Generated by Claude Code

hatch-vcs needs the tags: with a shallow checkout the plugin is installed as 0.1.dev1,
which makes pip fail on plugins that pymodaq itself requires (pymodaq_plugins_mock).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg
@seb5g
seb5g merged commit 2614d74 into 5.3.x Oct 12, 2026
8 checks passed
@seb5g
seb5g deleted the fix/checkout-full-history branch October 12, 2026 08:07
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