Bug 2366490

Summary: python-pkginfo2: FTBFS in Fedora Rawhide: AssertionError: None != '30.0.0'
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-pkginfo2Assignee: Robert-André Mauchin 🐧 <eclipseo>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: eclipseo, fti-bugs, maxwell, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-pkginfo2
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2322407, 2339432, 2339435    

Description Karolina Surma 2025-05-15 12:22:50 UTC
Description of problem:
Package python-pkginfo2 fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
30.0.0-6.fc42

Steps to Reproduce:
koji build --scratch f43 python-pkginfo2-30.0.0-6.fc42.src.rpm

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

Reproducible: Always

Actual Results:
________________________ DevelopTests.test_ctor_w_path _________________________
self = <pkginfo2.tests.test_develop.DevelopTests testMethod=test_ctor_w_path>
    def test_ctor_w_path(self):
        from pkginfo2.tests import _checkSample
        develop = self._makeOne('.')
>       _checkSample(self, develop)
pkginfo2/tests/test_develop.py:15: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pkginfo2/tests/__init__.py:11: in _checkSample
    testcase.assertEqual(installed.version, version)
E   AssertionError: None != '30.0.0'

Comment 2 Karolina Surma 2025-06-11 16:01:39 UTC
*** Bug 2372032 has been marked as a duplicate of this bug. ***