Bug 2389414 - python-cligj: FTBFS in Fedora 43 and Rawhide: test_projection fails with AssertionError: assert ['True'] == ['geographic']
Summary: python-cligj: FTBFS in Fedora 43 and Rawhide: test_projection fails with Asse...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cligj
Version: 43
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F43FTBFS PYC3.14rc3 F44FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-08-19 14:38 UTC by Karolina Surma
Modified: 2025-09-27 00:15 UTC (History)
3 users (show)

Fixed In Version: python-cligj-0.7.2-19.fc43
Clone Of:
Environment:
Last Closed: 2025-09-27 00:15:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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