Bug 2389200

Summary: bodhi-client: FTBFS in Fedora 43 and Rawhide: 35 tests failures
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: bodhi-clientAssignee: Tomas Hrcka <thrcka>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: aurelien, epel-packagers-sig, lenka, mhroncok, mtasaka, thrcka
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/bodhi-client
Whiteboard:
Fixed In Version: bodhi-client-25.5.1-5.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-24 00:19:54 UTC Type: ---
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: 2339432, 2373702, 2384424    

Description Karolina Surma 2025-08-18 15:35:59 UTC
Description of problem:
Package bodhi-client fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
25.5.1-3.fc43

Steps to Reproduce:
koji build --scratch f44 bodhi-client-25.5.1-3.fc43.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/bodhi-client

Reproducible: Always

Actual Results:
================== 35 failed, 214 passed, 5 warnings in 5.65s ==================

For details, see the Koschei logs.
It seems it's related to python3-click update in both Rawhide and F43.

Comment 1 Miro Hrončok 2025-08-26 11:08:43 UTC
Hello. This is a bulk comment.

This package still needs to be rebuilt and/or shipped with Python 3.14.0rc2+ bytecode in Fedora 43.

The Beta Freeze of Fedora 43 is scheduled to start today. Please prioritize this bugzilla accordingly.

Thanks.

Comment 2 Mamoru TASAKA 2025-09-01 14:33:34 UTC
So:

Currently bodhi-client-25.5.1-4.fc44 causes "35 failed, 214 passed, 5 warnings"
  https://copr.fedorainfracloud.org/coprs/mtasaka/bodhi-test/build/9512352/

On the other hand, bodhi-client-25.5.1-4.fc44 with "python-click completely reverted to 8.1.7"
it shows "249 passed" (i.e. all successful)
  https://copr.fedorainfracloud.org/coprs/mtasaka/bodhi-test/build/9512538/

With bodhi-client-25.5.1-4.fc44 with python-click 8.2.2 with 
https://src.fedoraproject.org/rpms/python-click/pull-request/27 applied,
bodhi-client pytest shows "10 failed, 239 passed, 5 warnings"
  https://copr.fedorainfracloud.org/coprs/mtasaka/bodhi-test/build/9512380/
Looks like python-click-8.2.2+pr27 emits some deprecation warnings which causes
some bodhi-client pytest testsuite fail.


Note that this is pytest testsuite, however for example
$ bodhi updates query --user=mtasaka --status=testing
is broken on F-43, and reverting python-click to 8.1.7 (from 8.2.2) restores the
expected behavior:

https://github.com/fedora-infra/bodhi/issues/5933


So I think maybe reverting python-click to 8.1.7 completely is preferable for now,
at least https://src.fedoraproject.org/rpms/python-click/pull-request/27 should be applied.

Comment 3 Miro Hrončok 2025-09-01 17:38:05 UTC
Does https://src.fedoraproject.org/rpms/python-click/pull-request/27 fix `bodhi updates query --user=mtasaka --status=testing`?

Comment 4 Miro Hrončok 2025-09-01 17:39:52 UTC
(In reply to Miro Hrončok from comment #3)
> Does https://src.fedoraproject.org/rpms/python-click/pull-request/27 fix
> `bodhi updates query --user=mtasaka --status=testing`?

It appears to.

Comment 5 Fedora Update System 2025-09-23 18:40:21 UTC
FEDORA-2025-1aac2870fc (bodhi-client-25.5.1-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1aac2870fc

Comment 6 Fedora Update System 2025-09-24 00:19:54 UTC
FEDORA-2025-1aac2870fc (bodhi-client-25.5.1-5.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.