-
Notifications
You must be signed in to change notification settings - Fork 416
py3-transformers/4.53.2 package update #58975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
octo-sts
bot
commented
Jul 11, 2025
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The build is attempting to clone the Hugging Face Transformers repository with a specific tag 'v4.53.2', but Git is interpreting this as a branch name when it should be treated as a tag. The correct reference format wasn't used or the tag doesn't exist in the remote repository. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: py3-transformers.yaml
Replacement: Click to expand fix analysisAnalysisThe main pattern observed in the similar fixed build failure (#49939) is a git checkout problem where the system is incorrectly trying to use a version tag as a branch name. This is exactly the same issue as our current failure. In both cases, the git-checkout step is failing with "Remote branch [version] not found in upstream origin" because it's trying to use '--branch' when it should be using '--tag' or a proper reference to the tag. The current melange YAML is trying to use 'tag: v${{package.version}}' in the git-checkout step, but this might not be correctly translated to the appropriate Git command. Click to expand fix explanationExplanationThe build failure occurs because the git-checkout step is attempting to clone a specific tag 'v4.53.2', but it's using an approach that Git is interpreting as looking for a branch with that name. The error message "fatal: Remote branch v4.53.2 not found in upstream origin" clearly indicates this confusion. By changing from This approach allows the git-checkout action to properly identify and clone the specific tagged version, rather than treating it as a branch name. When Git receives this fully qualified reference, it will correctly locate the tag in the repository and check out that specific commit. I verified that the tag v4.53.2 does exist in the Hugging Face Transformers repository, so this approach should succeed in checking out the correct version of the code. The expected-commit hash is maintained to ensure we're getting the exact commit we expect. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |