Bug 2246342

Summary: python-oslo-sphinx fails to build in Fedora Rawhide: missing dependency on python-six - test suite is not run if added
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-oslo-sphinxAssignee: Joel Capitao <jcapitao>
Status: CLOSED COMPLETED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: apevec, dprince, gchamoul, jcapitao, ksurma, mhroncok, openstack-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-17 08:03:16 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:    
Bug Blocks: 2231791, 2244836    

Description Karolina Surma 2023-10-26 10:41:50 UTC
python-oslo-sphinx fails to build in Fedora Rawhide.

The test run will fail because of the missing BuildRequire on python-six.
When the dependency is added, the test suite is not run at all:

With python-six:

running build_ext
----------------------------------------------------------------------
Ran 0 tests in 0.000s
NO TESTS RAN

Comment 1 Miro HronĨok 2023-11-08 11:04:14 UTC
Could you please have a look at this?

Comment 2 Joel Capitao 2023-11-15 09:26:34 UTC
oslosphinx is retired since a long time now [1]
I think it's the right time to retire its package.

No package requires it:

$ podman run --rm -it registry.fedoraproject.org/fedora:rawhide
[root@62eea34ecf9f /]# dnf repolist
repo id                                                              repo name
fedora-cisco-openh264                                                Fedora rawhide openh264 (From Cisco) - x86_64
rawhide                                                              Fedora - Rawhide - Developmental packages for the next Fedora release
[root@62eea34ecf9f /]# dnf repoquery --whatrequires python3-oslo-sphinx
Last metadata expiration check: 0:01:48 ago on Wed Nov 15 09:19:54 2023.


[1] https://github.com/openstack-archive/oslosphinx

Comment 4 Karolina Surma 2023-11-15 09:50:44 UTC
Your query didn't include the source repository where the build dependencies lie: 

$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-oslo-sphinx         
python-bashate-0:2.1.1-4.fc39.src
python-murano-pkg-check-0:0.3.0-29.fc39.src
python-yaql-0:2.0.0-9.fc40.src

I wonder whether python-oslo-sphinx can be easily removed from those three.

Comment 5 Joel Capitao 2023-11-15 11:49:13 UTC
Right, thank you Karolina for the feedback.
I managed to clean those packages, it should be ok in a few hours when new builds land in rawhide repo

I'm waiting for Koji to tag python-oslo-sphinx as BLOCKED to close the ticket.

Comment 6 Karolina Surma 2023-11-15 11:59:32 UTC
Thank you for working on this!

Comment 7 Joel Capitao 2023-11-17 08:03:16 UTC
It's ok now:

$ repoquery --refresh -q --repo=rawhide{,-source} --whatrequires python3-oslo-sphinx
$

$ koji list-pkgs --show-blocked --tag f40 --package python-oslo-sphinx
Package                 Tag                     Extra Arches     Owner
----------------------- ----------------------- ---------------- ---------------
python-oslo-sphinx      f40                                      jcapitao        [BLOCKED]


I'm closing the ticket. Thank you too for opening it