Bug 2036838

Summary: Please branch and build tldr for EPEL 9
Product: [Fedora] Fedora EPEL Reporter: Phil Baker <baker1tex>
Component: tldrAssignee: Mikel Olasagasti Uranga <mikel>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: dreua, lbalhar, mikel, paul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tldr-3.1.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-24 20:40:33 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: 2032219, 2036936, 2036938, 2105155    
Bug Blocks:    

Description Phil Baker 2022-01-04 07:17:52 UTC
Greetings,

Could you please branch and build tldr for EPEL 9?

Thank you, and kind regards,
Phil Baker

Comment 1 Lumír Balhar 2022-01-04 08:57:06 UTC
What if I give you the permissions to maintain it in the epel9? Would that work for you?

Comment 2 Lumír Balhar 2022-01-04 09:02:29 UTC
By the way, I see that it'd require to branch and build also some of its dependencies like colorama, shtab, and possibly more. If you want to lead that effort, could you please check all its dependencies (run/build) and open respective bugzillas for them?

Comment 3 Phil Baker 2022-01-04 13:45:06 UTC
I'm afraid I'm not a developer and have no experience building and packaging software. But I have attempted to chase down missing dependencies for tldr and file bugs for those, based on the tldr dependencies in Fedora 35 Workstation. These dependencies may need to be verified for CentOS Stream 9/EPEL 9.

python3-colorama : Bug 2036936

python3-shtab : Unable to find this component on Bugzila for Fedora/EPEL9 

python3-termcolor: Bug 2036938 (The EPEL9 component is listed as 'python-termcolor'

Let me know if I need to provide further information, or file additional bugs. 

-Phil

Comment 4 Mikel Olasagasti Uranga 2022-01-04 14:42:19 UTC
I can work on tldr for epel9.

About deps, I maintain two of them:

python3-shtab: https://src.fedoraproject.org/rpms/python-shtab I already requested the epel9 branch, but feel free to open a BZ to track it.

python3-termcolor: Bug 2036938 closed as dupe of 2032219, already built for epel9.

Comment 5 Lumír Balhar 2022-01-07 07:56:01 UTC
Ok, from the runtime perspective, it seems that termcolor is already there, shtab will be there soon. But colorama seems to be retired from Centos Stream 9 so it needs to be packaged for epel9 as well: https://gitlab.com/redhat/centos-stream/rpms/python-colorama/-/blob/main/dead.package

Also, the list of build-time dependencies is much longer:

make
pyproject-rpm-macros
python3-devel
python3dist(colorama)
python3dist(packaging)
python3dist(pip) >= 19
python3dist(pytest)
python3dist(pytest-runner)
python3dist(setuptools)
python3dist(shtab)
python3dist(sphinx)
python3dist(sphinx-argparse)
python3dist(termcolor)
python3dist(toml)
python3dist(wheel)

But it should be possible to shorten it if you disable tests and the build of documentation.

Comment 6 Fedora Update System 2022-08-15 14:48:27 UTC
FEDORA-EPEL-2022-4d0ce9dbe1 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-4d0ce9dbe1

Comment 7 Fedora Update System 2022-08-16 01:44:09 UTC
FEDORA-EPEL-2022-4d0ce9dbe1 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-4d0ce9dbe1

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

Comment 8 Lumír Balhar 2022-08-16 08:20:09 UTC
I was about to test the update and install tldr on C9S but a problem appeared. The dependency chain is tldr → python3-sphinx-argparse → python3-sphinx but python3-sphinx is available only in CRB[0]. Is this expected?

If I install the two packages from the update with CRB repo enabled, it brings ~12 packages from CRB. The problem is that the CRB repo is disabled by default.

[0] https://gitlab.com/redhat/centos-stream/release-engineering/comps/-/blob/main/comps-centos-stream-9.xml.in#L3719

Comment 9 Paul Howarth 2022-08-16 08:35:10 UTC
It is expected that EPEL packages may pull in dependencies from CRB. In fact, a tool "crb" has been added to the epel-release package to make it straightforward to enable the CRB repo:

https://pagure.io/epel/issue/128

Comment 10 Lumír Balhar 2022-08-16 09:03:01 UTC
Thanks, Paul, I didn't know that!

Comment 11 Fedora Update System 2022-08-24 20:40:33 UTC
FEDORA-EPEL-2022-4d0ce9dbe1 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.