Bug 1900423

Summary: Please provide EPEL8 package
Product: [Fedora] Fedora EPEL Reporter: Jakub Kadlčík <jkadlcik>
Component: python-click-manAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: jpopelka, nforro, sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-click-man-0.4.1-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-24 01:23:27 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:
Attachments:
Description Flags
Workaround for the missing get_short_help_str() method none

Description Jakub Kadlčík 2020-11-22 22:18:39 UTC
Description of problem:


Please provide a python3-click-man package for EPEL8

Comment 2 Fedora Update System 2020-11-27 10:04:56 UTC
FEDORA-EPEL-2020-71247e5b6f has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-71247e5b6f

Comment 3 Jakub Kadlčík 2020-11-27 10:20:50 UTC
Awesome, thank you @jpopelka

Comment 4 Fedora Update System 2020-11-28 02:24:21 UTC
FEDORA-EPEL-2020-71247e5b6f has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-71247e5b6f

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

Comment 5 Nikola Forró 2020-12-07 10:24:14 UTC
While the package builds fine, it doesn't actually work, because of old version of python-click in EPEL 8:

$ python3 -c 'import click; import click_man.core; click_man.core.write_man_pages("test", click.Group())'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/click_man/core.py", line 58, in write_man_pages
    man_page = generate_man_page(ctx, version)
  File "/usr/lib/python3.6/site-packages/click_man/core.py", line 32, in generate_man_page
    man_page.short_help = ctx.command.get_short_help_str()
AttributeError: 'Group' object has no attribute 'get_short_help_str'

Comment 6 Nikola Forró 2020-12-07 10:58:26 UTC
Created attachment 1737258 [details]
Workaround for the missing get_short_help_str() method

Comment 7 Fedora Update System 2020-12-08 10:01:49 UTC
FEDORA-EPEL-2020-71247e5b6f has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-71247e5b6f

Comment 8 Jiri Popelka 2020-12-08 10:02:48 UTC
Thanks for the patch!

Comment 9 Fedora Update System 2020-12-09 01:41:13 UTC
FEDORA-EPEL-2020-71247e5b6f has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-71247e5b6f

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

Comment 10 Fedora Update System 2020-12-24 01:23:27 UTC
FEDORA-EPEL-2020-71247e5b6f has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.