Fedora Account System
Red Hat Associate
Red Hat Customer
python-niapy fails to build with pytest 8. ==================================== ERRORS ==================================== ___________________ ERROR collecting tests/test_algorithm.py ___________________ niapy/task.py:79: in __init__ self.problem = get_problem(problem, **params) niapy/util/factory.py:19: in get_problem problem = _problem_options().pop(name.lower()) E KeyError: 'runtest' =========================== short test summary info ============================ ERROR tests/test_algorithm.py::TestingTask - KeyError: 'runtest' !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 1.56s =============================== 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/07389232-python-niapy/ For all our attempts to build python-niapy with pytest 8, see: https://copr.fedorainfracloud.org/coprs/thrnciar/pytest/package/python-niapy/ 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.
Reported upstream. Possible workaround, should upstream not provide a fix, is ignoring the troublesome test with `--ignore tests/test_algorithm.py`.
FEDORA-2024-0c89538d1c (python-niapy-2.3.1-1.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0c89538d1c
FEDORA-2024-8448e22382 (python-niapy-2.3.1-1.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8448e22382
FEDORA-2024-8448e22382 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8448e22382` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8448e22382 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-0c89538d1c has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0c89538d1c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0c89538d1c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-8448e22382 (python-niapy-2.3.1-1.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-0c89538d1c (python-niapy-2.3.1-1.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.