Bug 2359507 - python-pkginfo fails to build when we rebuilt wheel with the newest flit_core: AssertionError: assert '2.4' == '2.3'
Summary: python-pkginfo fails to build when we rebuilt wheel with the newest flit_core...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pkginfo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karolina Surma
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-04-14 13:40 UTC by Karolina Surma
Modified: 2025-04-24 07:57 UTC (History)
6 users (show)

Fixed In Version: python-pkginfo-1.12.1.2-2.fc43
Clone Of:
Environment:
Last Closed: 2025-04-24 07:57:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-04-14 13:40:11 UTC
python-pkginfo (will) fail to build in Fedora Rawhide.

_______________________ test_installed_ctor_w_dist_info ________________________

    def test_installed_ctor_w_dist_info():
        from packaging import version
        import wheel
    
        installed = _make_installed('wheel')
    
        assert(installed.package == wheel)
        assert(installed.package_name == 'wheel')
    
        # See: https://bugs.launchpad.net/pkginfo/+bug/2090840
        installed_version = version.Version(installed.version)
        if installed_version < version.Version('0.44.dev0'):
            assert(installed.metadata_version == '2.1')
        else:
>           assert(installed.metadata_version == '2.3')
E           AssertionError: assert '2.4' == '2.3'
E             
E             - 2.3
E             + 2.4

We've already discussed it will have to be done once wheel is rebuilt in Fedora with the new flit_core and changes the metadata_version value.
Logging this to make sure we don't forget about this issue.

Comment 2 Fedora Update System 2025-04-24 07:53:32 UTC
FEDORA-2025-2263bf3ef7 (python-pkginfo-1.12.1.2-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-2263bf3ef7

Comment 3 Fedora Update System 2025-04-24 07:57:59 UTC
FEDORA-2025-2263bf3ef7 (python-pkginfo-1.12.1.2-2.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.