Bug 2275098 - python-parsel fails to build with pytest 8: TypeError: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args'
Summary: python-parsel fails to build with pytest 8: TypeError: FixtureManager.getfixt...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-parsel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2256331
TreeView+ depends on / blocked
 
Reported: 2024-04-15 11:47 UTC by Tomáš Hrnčiar
Modified: 2024-04-15 11:52 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-04-15 11:52:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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