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 2059966 - python-pytest-toolbox fails to build with pytest 7
Summary: python-pytest-toolbox fails to build with pytest 7
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-toolbox
Version: 37
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2022-03-02 12:16 UTC by Miro Hrončok
Modified: 2023-12-05 21:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-12-05 21:04:57 UTC
Type: Bug

Attachments (Terms of Use)

Description Miro Hrončok 2022-03-02 12:16:27 UTC
In this copr repo, I have updated pytest to 7.0.1:

Based on this PR:

I'd like to update pytest to 7 in Fedora 37, but python-pytest-toolbox 0.4-10 fails to build.

________________________ ERROR collecting test session _________________________
/usr/lib/python3.10/site-packages/pluggy/ in __call__
    return self._hookexec(, self.get_hookimpls(), kwargs, firstresult)
/usr/lib/python3.10/site-packages/pluggy/ in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/lib/python3.10/site-packages/ in pytest_collect_file
    return IsortItem.from_parent(parent, fspath=path)
/usr/lib/python3.10/site-packages/_pytest/ in from_parent
    return super().from_parent(parent=parent, fspath=fspath, path=path, **kw)
/usr/lib/python3.10/site-packages/_pytest/ in from_parent
    return cls._create(parent=parent, **kw)
/usr/lib/python3.10/site-packages/_pytest/ in _create
    return super().__call__(*k, **kw)
/usr/lib/python3.10/site-packages/ in __init__
    super(IsortItem, self).__init__(name=path, parent=parent, **kwargs)
/usr/lib/python3.10/site-packages/_pytest/ in __init__
/usr/lib/python3.10/site-packages/_pytest/ in _check_item_and_collector_diamond_inheritance
E   pytest.PytestWarning: IsortItem is an Item subclass and should not be a collector, however its bases File are collectors.
E   Please split the Collectors and the Item into separate node types.
E   Pytest Doc example:
E   example pull request on a plugin:

There are several packages affected by this update, so I'd very much appreciate it if you could fix this failure. Please, check if your upstream hasn't already fixed it and backport the fix if possible. Report this failure to your upstream otherwise. If you need specific help, let me know.


Comment 1 Ben Cotton 2022-08-09 13:13:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 2 Fabian Affolter 2023-02-11 22:05:17 UTC
Upstream is no longer maintaining this module. Now retired.

Comment 3 Miro Hrončok 2023-02-11 22:24:31 UTC
Could you please also retire it in f38? Just merging this should do it.

Comment 4 Aoife Moloney 2023-11-23 00:09:34 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Aoife Moloney 2023-12-05 21:04:57 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

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