Bug 2115195

Summary: Please update it to 12.5.1
Product: [Fedora] Fedora Reporter: Frank Büttner <bugzilla>
Component: python-richAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: jonathan, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rich-12.5.1-2.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-16 01:46:20 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:

Description Frank Büttner 2022-08-04 05:31:22 UTC
The current version is to old to build the security tools from greenbone.
It fails with:
E   ImportError: cannot import name 'TaskProgressColumn' from 'rich.progress' (/usr/lib/python3.10/site-packages/rich/progress.py)

Comment 1 Parag Nemade 2022-08-04 12:35:33 UTC
Okay. I always worry to update Rich module as it is dependency for ansible-lint package also.
Let me see if I can update it this weekend.

Comment 2 Frank Büttner 2022-08-22 09:54:05 UTC
Hi @pnemade are there any news?

Comment 3 Parag Nemade 2022-08-24 13:25:15 UTC
I started looking into it, when installed rich-12.5.1 on Fedora 35 system, I got for ansible-lint breakage
Failed to guess project directory using git: 
Traceback (most recent call last):
  File "/usr/bin/ansible-lint", line 8, in <module>
    sys.exit(_run_cli_entrypoint())
  File "/usr/lib/python3.10/site-packages/ansiblelint/__main__.py", line 299, in _run_cli_entrypoint
    sys.exit(main(sys.argv))
  File "/usr/lib/python3.10/site-packages/ansiblelint/__main__.py", line 211, in main
    from ansiblelint.generate_docs import rules_as_rich, rules_as_rst, rules_as_str
  File "/usr/lib/python3.10/site-packages/ansiblelint/generate_docs.py", line 6, in <module>
    from rich.console import render_group
ImportError: cannot import name 'render_group' from 'rich.console' (/usr/lib/python3.10/site-packages/rich/console.py)

Looking more into this by updating ansible-lint also in Fedora 35.

Comment 4 Frank Büttner 2022-08-30 07:17:20 UTC
Have you try ansible lint 5.3.2?
Here it looks like fixed:
https://github.com/ansible-community/ansible-lint-action/issues/59

Comment 5 Parag Nemade 2022-08-30 07:46:46 UTC
Before updating to Fedora 35, I had to update for Fedora 36 first so that upgrade path will be successful for python-rich and ansible-lint f35 packages.
https://bodhi.fedoraproject.org/updates/FEDORA-2022-5bed6befa3
If feedback for a week looks good then I will attempt to build for Fedora 35 update and will push it via bodhi.
Please wait for few more days.

Thank you.

Comment 6 Jonathan Wright 2022-08-31 22:33:48 UTC
@pnemade what do you think about upgrading this in EPEL9 as well?  I need the newer version to build python-textual in EPEL9.

Comment 7 Parag Nemade 2022-09-01 05:42:57 UTC
Jonathan,
Sure I will be happy to update python-rich in epel9. Just give me few days to prepare test builds, test it and then officially build it if everything looks okay.

Comment 8 Fedora Update System 2022-09-01 06:54:20 UTC
FEDORA-2022-7d3f7f4aec has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7d3f7f4aec

Comment 9 Fedora Update System 2022-09-01 09:27:02 UTC
FEDORA-2022-7d3f7f4aec has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-7d3f7f4aec`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7d3f7f4aec

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

Comment 10 Parag Nemade 2022-09-02 00:41:49 UTC
Frank,
See the breakage started in Fedora 36
https://bodhi.fedoraproject.org/updates/FEDORA-2022-5bed6befa3#comment-2700959
If this gets worst, I will unpush Fedora 35 update.

Comment 11 Fedora Update System 2022-09-16 01:46:20 UTC
FEDORA-2022-7d3f7f4aec has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.