Repository navigation
Checkout full history in the shared test workflows - #53
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before:
reusable-tests.ymlandreusable-compatibility.ymlused a shallow checkout, so hatch-vcs built the plugin as0.1.dev1. Forpymodaq_plugins_mockthis madepip install -e .fail: pymodaq itself requirespymodaq-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.ymlalready does, so the plugin gets its real version.How:
fetch-depth: 0on 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