Bug 2247294

Summary: python-cloudflare fails to build from dist-git: Patch does not apply
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-cloudflareAssignee: Felix Schwarz <fschwarz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: certbot-sig, fschwarz, ksurma, mhroncok, nb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.12.4-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-10 00:53:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2231791, 2244836    

Description Miro Hrončok 2023-10-31 18:18:27 UTC
This was pushed 14 days ago: https://src.fedoraproject.org/rpms/python-cloudflare/c/609653d09529b8f069db67d77dfcc76b6c2e1ab6?branch=rawhide

But it does not build:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p1Q64Q
...
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-shebangs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
1 out of 1 hunk FAILED -- saving rejects to file cli4/__main__.py.rej
error: Bad exit status from /var/tmp/rpm-tmp.p1Q64Q (%prep)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.p1Q64Q (%prep)



The failure prevents anybody from rebuilding the package. Namely, it prevents us from testing the package with Python 3.13.

Could you please either finish the update or revert the commit if you are not planning to do that? Thanks

Comment 1 Miro Hrončok 2023-11-08 11:05:13 UTC
Could you please have a look at this?

Comment 2 Felix Schwarz 2023-11-09 21:22:08 UTC
I will have a look

Comment 3 Felix Schwarz 2023-11-09 21:39:04 UTC
I removed the (now unnecessary) patch and rebuilt the package in rawhide. Please  close this issue when the Python 3.13 rebuild succeeds.

Comment 4 Miro Hrončok 2023-11-10 00:53:47 UTC
Thanks.