-
Notifications
You must be signed in to change notification settings - Fork 417
py3-certifi/2025.06.15 package update #56510
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
Jun 15, 2025
Signed-off-by: wolfi-bot <[email protected]>
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍The patch file 'use-alpine-system-certs.patch' failed to apply cleanly to the certifi/core.py file. While hunks #1 and #2 applied successfully (with some fuzz/offset), hunks #3 and #4 failed to apply. This indicates the target file has changed significantly from what the patch was created for, making parts of the patch incompatible with the current source code. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: use-alpine-system-certs.patch
Replacement: Content: File: pipeline steps in melange.yaml
Content: Click to expand fix analysisAnalysisThe build failure occurs because the patch file 'use-alpine-system-certs.patch' cannot be applied cleanly to the certifi/core.py file. Specifically, hunks #3 and #4 failed to apply. This indicates that the upstream source code has changed since the patch was created. The failure is happening with certifi version 2025.06.15, which appears to be a very recent version (potentially even a future version given the 2025 date). Without examples of similar fixes, the primary approach would be to update the patch file to match the current structure of the source code. Click to expand fix explanationExplanationThe build failure occurs because the patch file 'use-alpine-system-certs.patch' was created for an older version of certifi, and the current version (2025.06.15) has significant changes in its source code structure. The error message shows that hunks #3 and #4 failed to apply at lines 70 and 99, indicating that those sections of the file have changed substantially. The primary solution is to update the patch file to match the current structure of the certifi/core.py file. The 'use-alpine-system-certs.patch' is likely attempting to modify certifi to use the system certificate store instead of its bundled certificates, which is a common practice in Linux distributions to ensure system-wide certificate management. Without seeing the actual content of the current certifi/core.py file or the patch file, I can't provide the exact updated patch content. However, the approach would be to:
The actual implementation would require analyzing how certifi has changed its certificate handling in the newer version and adjusting the patch accordingly. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |