Bug 2325907

Summary: Please branch and build python-cairocffi in epel10
Product: [Fedora] Fedora EPEL Reporter: Kaleb KEITHLEY <kkeithle>
Component: python-cairocffiAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: mhroncok, orion, python-packagers-sig, romain.geissler, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-cairocffi-1.7.0-8.el10_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-07 06:21:42 UTC Type: ---
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: 2325908    
Bug Blocks: 1914423, 2308780    

Description Kaleb KEITHLEY 2024-11-13 14:38:04 UTC
Please branch and build python-cairocffi in epel10.

If you do not wish to maintain python-cairocffi in epel10,
or do not think you will be able to do this in a timely manner,
the EPEL Packagers SIG would be happy to be a co-maintainer of the package;
please add the epel-packagers-sig group through
https://src.fedoraproject.org/rpms/python-cairocffi/addgroup
and grant it commit access, or collaborator access on epel* branches.

Comment 1 Orion Poplawski 2024-11-13 14:55:38 UTC
From a quick check:

No matching package to install: 'xorg-x11-server-Xvfb'

this is just needed to run the tests, but that would be nice to be able to do.  Unfortunately getting Xvfb into EPEL10 might be tricky.

Comment 2 Orion Poplawski 2024-11-13 15:04:07 UTC
FWIW I've filed https://issues.redhat.com/browse/RHEL-67339 to request shipping Xvfb in CRB.

Comment 3 Miro Hrončok 2024-11-13 15:08:09 UTC
See also https://github.com/fedora-eln/eln/issues/204 -- it should be possible to replace this with wlheadless-run/xwayland-run/xwfb-run

Comment 5 Orion Poplawski 2024-11-13 15:31:21 UTC
Thanks, that helps with Xvfb - now on to the next:

No matching package to install: 'python3dist(pikepdf)'
No matching package to install: 'python3dist(ruff)'

Comment 6 Miro Hrončok 2024-11-13 15:52:31 UTC
ruff is a linter, we should probably get rid of that dependency as well.

Comment 7 Orion Poplawski 2024-11-15 03:34:47 UTC
python3-xcffib - https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-ab1f85a965

Comment 8 Romain Geissler 2024-11-27 11:43:46 UTC
Note: the only dependency left (pikepdf) is now available in EPEL testing, so this package shall be buildable now.

Comment 9 Kaleb KEITHLEY 2024-11-27 20:47:24 UTC
(In reply to Miro Hrončok from comment #4)
> https://src.fedoraproject.org/rpms/python-cairocffi/pull-request/13

with that applied, scratch builds fail, whinging about weston not found.

I tried adding seatd+weston (w/ respective BuildRequires):

...
%check
# test_xcb.py needs a display
export XDG_RUNTIME_DIR=/run
/usr/bin/seatd-launch -- /usr/bin/weston -B headless
%global __pytest xwfb-run -- /usr/bin/pytest
%pytest -v --pyargs cairocffi
...

and that whinges about permissions creating sockets, so I tried:

...
%check
# test_xcb.py needs a display
export XDG_RUNTIME_DIR=/run
sudo /usr/bin/seatd-launch -- /usr/bin/weston -B headless
%global __pytest xwfb-run -- /usr/bin/pytest
%pytest -v --pyargs cairocffi
...

but sudo doesn't work, which you probably already knew.

Comment 10 Kaleb KEITHLEY 2024-11-27 21:17:34 UTC
https://src.fedoraproject.org/rpms/python-cairocffi/pull-request/14 is said to work

Comment 11 Kaleb KEITHLEY 2024-11-27 22:10:54 UTC
scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=126310468

bump

Comment 12 Miro Hrončok 2024-11-29 15:03:36 UTC
For the record, I have no intention of maintaining this package in EPEL. The main admin is a bit hard to reach.

If you want to be added as the EPEL maintainer, that's OK with me.

Comment 13 Kaleb KEITHLEY 2024-11-30 19:52:30 UTC
If I'm going to take on maintaining it in EPEL I'd prefer to get on with it, without waiting two weeks before opening the infra ticket.

Or maybe the python-packagers-sig would build it?

Comment 14 Orion Poplawski 2024-11-30 21:00:51 UTC
I've added epel-packagers-sig to the package so you should be able to build it now.

Comment 15 Fedora Update System 2024-12-01 02:27:58 UTC
FEDORA-EPEL-2024-f81c90f7a3 (python-cairocffi-1.7.0-8.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-f81c90f7a3

Comment 16 Miro Hrončok 2024-12-01 13:44:08 UTC
And I made @kkeithle the EPEL point of contact.

Comment 17 Fedora Update System 2024-12-02 04:45:50 UTC
FEDORA-EPEL-2024-f81c90f7a3 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-f81c90f7a3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2024-12-07 06:21:42 UTC
FEDORA-EPEL-2024-f81c90f7a3 (python-cairocffi-1.7.0-8.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.