Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1928050

Summary: python-pytest-cases: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: python-pytest-casesAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, python-sig, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: python-pytest-cases-3.6.1-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-08 21:58:10 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:
Bug Depends On:    
Bug Blocks: 1890881, 1927309, 1927313, 1968911, 1969109    

Description Tomáš Hrnčiar 2021-02-12 09:29:10 UTC
Description of problem:
Package python-pytest-cases fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
koji build --scratch f34 python-pytest-cases-1.11.1-5.fc34.src.rpm

Additional info:
This package is tracked by Koschei. See:

_________ ERROR collecting pytest_cases/tests/advanced/ _________
/usr/lib/python3.9/site-packages/pluggy/ in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.9/site-packages/pluggy/ in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.9/site-packages/pluggy/ in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3.9/site-packages/_pytest/ in pytest_pycollect_makeitem
    res = list(collector._genfunctions(name, obj))
/usr/lib/python3.9/site-packages/_pytest/ in _genfunctions
    definition = FunctionDefinition.from_parent(self, name=name, callobj=funcobj)
/usr/lib/python3.9/site-packages/_pytest/ in from_parent
    return super().from_parent(parent=parent, **kw)
/usr/lib/python3.9/site-packages/_pytest/ in from_parent
    return cls._create(parent=parent, **kw)
/usr/lib/python3.9/site-packages/_pytest/ in _create
    return super().__call__(*k, **kw)
/usr/lib/python3.9/site-packages/_pytest/ in __init__
    fixtureinfo = self.session._fixturemanager.getfixtureinfo(
/usr/lib/python3.9/site-packages/_pytest/ in getfixtureinfo
    initialnames, names_closure, arg2fixturedefs = fm.getfixtureclosure(
pytest_cases/ in getfixtureclosure
    merge(sorted_fixturenames, _init_fixnames)
pytest_cases/ in merge
E   AttributeError: 'generator' object has no attribute 'append'

Comment 2 Miro Hrončok 2021-06-04 20:13:09 UTC
This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla.

The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide.

You can either build the package in the side tag, with:

    $ fedpkg build --target=f35-python

Or you can the build and we will eventually build it for you.

Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away.


See also

If you have general questions about the rebuild, please use this mailing list thread:

Comment 3 Miro Hrončok 2021-06-07 22:58:01 UTC
The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build.

Comment 4 Miro Hrončok 2021-06-08 11:31:30 UTC
*** Bug 1969109 has been marked as a duplicate of this bug. ***