Bug 2275098

Summary: python-parsel fails to build with pytest 8: TypeError: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args'
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: python-parselAssignee: Jonathan Wright <jonathan>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, jonathan, mhroncok, thrnciar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-15 11:52:04 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: 2256331    

Description Tomáš Hrnčiar 2024-04-15 11:47:47 UTC
python-parsel fails to build with pytest 8.

==================================== ERRORS ====================================
_______________________ ERROR collecting docs/usage.rst ________________________
/usr/lib/python3.12/site-packages/sybil/integration/pytest.py:49: in __init__
    self.request_fixtures(sybil.fixtures)
/usr/lib/python3.12/site-packages/sybil/integration/pytest.py:54: in request_fixtures
    closure = fm.getfixtureclosure(names, self)
E   TypeError: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args'

During handling of the above exception, another exception occurred:
/usr/lib/python3.12/site-packages/sybil/integration/pytest.py:118: in collect
    yield SybilItem.from_parent(self, sybil=self.sybil, example=example)
/usr/lib/python3.12/site-packages/_pytest/nodes.py:237: in from_parent
    return cls._create(parent=parent, **kw)
/usr/lib/python3.12/site-packages/_pytest/nodes.py:129: in _create
    return super().__call__(*k, **known_kw)  # type: ignore[no-any-return,misc]
/usr/lib/python3.12/site-packages/sybil/integration/pytest.py:49: in __init__
    self.request_fixtures(sybil.fixtures)
/usr/lib/python3.12/site-packages/sybil/integration/pytest.py:54: in request_fixtures
    closure = fm.getfixtureclosure(names, self)
E   TypeError: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args'

https://docs.pytest.org/en/stable/changelog.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/thrnciar/pytest/fedora-rawhide-x86_64/07248504-python-parsel/

For all our attempts to build python-parsel with pytest 8, see:
https://copr.fedorainfracloud.org/coprs/thrnciar/pytest/package/python-parsel/

Let us know here if you have any questions.

Pytest 8 is planned to be included in Fedora 41. And this bugzilla is a
heads up before we merge new pytest into rawhide. For more info see a Fedora Change
proposal https://fedoraproject.org/wiki/Changes/Pytest_8

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Tomáš Hrnčiar 2024-04-15 11:52:04 UTC
Sorry for the noise, this used to be a problem in python-sybil, but it was fixed in the latest version.