Bug 2389414

Summary: python-cligj: FTBFS in Fedora 43 and Rawhide: test_projection fails with AssertionError: assert ['True'] == ['geographic']
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-cligjAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: logans, python-packagers-sig, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-cligj
Whiteboard:
Fixed In Version: python-cligj-0.7.2-19.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-27 00:15:11 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: 2339432, 2384424, 2373702    

Description Karolina Surma 2025-08-19 14:38:11 UTC
Description of problem:
Package python-cligj fails to build from source in Fedora 43 and Rawhide.

Version-Release number of selected component (if applicable):
0.7.2-17.fc43

Steps to Reproduce:
koji build --scratch f44 python-cligj-0.7.2-17.fc43.src.rpm

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


_______________________________ test_projection ________________________________
runner = <click.testing.CliRunner object at 0xffffada4d950>
    def test_projection(runner):
        @click.command()
        @cligj.projection_geographic_opt
        @cligj.projection_projected_opt
        @cligj.projection_mercator_opt
        def cmd(projection):
            click.echo("%s" % projection)
    
        result = runner.invoke(cmd, ['--geographic'])
        assert not result.exception
        assert result.output.splitlines() == ['geographic']
    
        result = runner.invoke(cmd, ['--projected'])
        assert not result.exception
        assert result.output.splitlines() == ['projected']
    
        result = runner.invoke(cmd, ['--mercator'])
        assert not result.exception
        assert result.output.splitlines() == ['mercator']
    
        result = runner.invoke(cmd)
        assert not result.exception
>       assert result.output.splitlines() == ['geographic']
E       AssertionError: assert ['True'] == ['geographic']
E         
E         At index 0 diff: 'True' != 'geographic'
E         Use -v to get more diff
tests/test_cli.py:157: AssertionError
=========================== short test summary info ============================
FAILED tests/test_cli.py::test_projection - AssertionError: assert ['True'] =...
========================= 1 failed, 40 passed in 0.15s =========================

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 Elliott Sales de Andrade 2025-09-18 05:28:30 UTC
This was fixed by the downgrade of click, but I missed putting it into that update.

Comment 3 Fedora Update System 2025-09-18 05:56:17 UTC
FEDORA-2025-2ac21ad3a2 (python-cligj-0.7.2-19.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-2ac21ad3a2

Comment 4 Fedora Update System 2025-09-19 02:52:19 UTC
FEDORA-2025-2ac21ad3a2 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-2ac21ad3a2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-2ac21ad3a2

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

Comment 5 Fedora Update System 2025-09-27 00:15:11 UTC
FEDORA-2025-2ac21ad3a2 (python-cligj-0.7.2-19.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.