Bug 2325907 - Please branch and build python-cairocffi in epel10
Summary: Please branch and build python-cairocffi in epel10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-cairocffi
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2325908
Blocks: EPELPackagersSIG 2308780
TreeView+ depends on / blocked
 
Reported: 2024-11-13 14:38 UTC by Kaleb KEITHLEY
Modified: 2024-12-07 06:21 UTC (History)
5 users (show)

Fixed In Version: python-cairocffi-1.7.0-8.el10_0
Clone Of:
Environment:
Last Closed: 2024-12-07 06:21:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.