Bug 2246342 - python-oslo-sphinx fails to build in Fedora Rawhide: missing dependency on python-six - test suite is not run if added
Summary: python-oslo-sphinx fails to build in Fedora Rawhide: missing dependency on py...
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: python-oslo-sphinx
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joel Capitao
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F40FTBFS PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-10-26 10:41 UTC by Karolina Surma
Modified: 2023-11-17 08:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-17 08:03:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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