-
Notifications
You must be signed in to change notification settings - Fork 416
py3-pydantic/2.11.5 package update #54148
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
py3-pydantic/2.11.5 package update #54148
Conversation
octo-sts
bot
commented
May 23, 2025
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The git checkout operation failed because the commit hash associated with tag v2.11.5 (5e6d1dc71fe9bd832635cb2e9b4af92286fd00b8) didn't match the expected commit hash specified in the build configuration (d444cd1cf6c5af54b23a335aff2ea45eaac2c2f6). This suggests either the tag was updated in the repository or there is a mismatch in the build specification. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixes
Suggested ChangesFile: py3-pydantic.yaml
Replacement:
Replacement: Click to expand fix analysisAnalysisThe build failure patterns show a common issue where the expected commit hash in the git-checkout step doesn't match the actual commit hash for the specified tag in the repository. In all three examples, the fix involved updating the expected-commit hash to match the actual commit hash found in the repository for that tag. In some cases, the version was also updated, but the primary fix was always updating the expected-commit value. This mismatch typically happens when a tag is moved or updated in the upstream repository, causing the commit it points to to change from what was previously expected in the build configuration. The error message clearly shows that for tag v2.11.5, the build expects commit d444cd1cf6c5af54b23a335aff2ea45eaac2c2f6 but found commit 5e6d1dc71fe9bd832635cb2e9b4af92286fd00b8 instead. Click to expand fix explanationExplanationThe fix updates the expected-commit hash in both places where git-checkout is used in the YAML file. The error message clearly indicates that the expected commit hash (d444cd1cf6c5af54b23a335aff2ea45eaac2c2f6) doesn't match the actual commit hash (5e6d1dc71fe9bd832635cb2e9b4af92286fd00b8) for the tag v2.11.5 in the repository. This mismatch can happen for several reasons:
Looking at the upstream changelog, we can see that v2.11.5 includes three fixes related to model rebuilding and field info. It's likely that these changes were finalized after the initial expected-commit hash was added to the YAML file, or the tag was updated to include additional fixes. By updating the expected-commit hash to match the actual commit hash that the tag points to now, we're telling the build system to accept the current state of the repository for that tag instead of failing because it found a different commit than expected. Both instances of the expected-commit parameter need to be updated since they both reference the same tag and should point to the same commit. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
d38bd4e to
961c625
Compare
Signed-off-by: wolfi-bot <[email protected]>
961c625 to
44a7a0d
Compare
Signed-off-by: Batuhan Apaydin <[email protected]>
44a7a0d to
44b78b1
Compare