Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Package python-pytest-cov fails to build from source in Fedora Rawhide since pytest-xdist 3: ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/pytest-cov-4.0.0, configfile: setup.cfg, testpaths: tests plugins: cov-4.0.0, xdist-3.0.2 collected 128 items / 18 deselected / 110 selected tests/test_pytest_cov.py ............s.................................. [ 42%] ...........................F.................................s. [100%] =================================== FAILURES =================================== _______________________________ test_dist_boxed ________________________________ testdir = <Testdir local('/tmp/pytest-of-mockbuild/pytest-0/test_dist_boxed0')> @pytest.mark.skipif('sys.platform == "win32"') def test_dist_boxed(testdir): script = testdir.makepyfile(SCRIPT_SIMPLE) result = testdir.runpytest('-v', '--assert=plain', '--cov=%s' % script.dirpath(), '--boxed', script) > result.stdout.fnmatch_lines([ '*- coverage: platform *, python * -*', 'test_dist_boxed* %s*' % SCRIPT_SIMPLE_RESULT, '*1 passed*' ]) E Failed: remains unmatched: '*- coverage: platform *, python * -*' /builddir/build/BUILD/pytest-cov-4.0.0/tests/test_pytest_cov.py:1569: Failed ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_dist_boxed0/runpytest-0 -v --assert=plain --cov=/tmp/pytest-of-mockbuild/pytest-0/test_dist_boxed0 --boxed /tmp/pytest-of-mockbuild/pytest-0/test_dist_boxed0/test_dist_boxed.py --basetemp=/tmp/pytest-of-mockbuild/pytest-0/basetemp in: /tmp/pytest-of-mockbuild/pytest-0/test_dist_boxed0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --boxed inifile: None rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_dist_boxed0 =============================== warnings summary =============================== ../../../../usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1199 /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1199: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead. self.issue_config_time_warning( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] tests/test_pytest_cov.py:367: condition: coverage.version_info >= (6, 3) SKIPPED [1] tests/test_pytest_cov.py:1952: condition: coverage.version_info >= (5, 0) FAILED tests/test_pytest_cov.py::test_dist_boxed - Failed: remains unmatched:... = 1 failed, 107 passed, 2 skipped, 18 deselected, 1 warning in 66.20s (0:01:06) = The --boxed thing was removed. Version-Release number of selected component (if applicable): 4.0.0-1.fc38 Steps to Reproduce: fedpkg build Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-pytest-cov
FEDORA-2022-462787a577 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-462787a577
FEDORA-2022-462787a577 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-462787a577` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-462787a577 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-462787a577 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.