Description of problem: Package python-watchgod fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 0.6-3.fc34 Steps to Reproduce: koji build --scratch f34 python-watchgod-0.6-3.fc34.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-watchgod + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.9.1, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/watchgod-0.6, configfile: setup.cfg, testpaths: tests plugins: toolbox-0.4, mock-3.5.1 collecting ... collected 49 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 322, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84, in <lambda> INTERNALERROR> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( INTERNALERROR> File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 203, in _multicall INTERNALERROR> gen.send(outcome) INTERNALERROR> File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1210, in pytest_collection INTERNALERROR> self._validate_config_options() INTERNALERROR> File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1233, in _validate_config_options INTERNALERROR> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") INTERNALERROR> File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1269, in _warn_or_fail_if_strict INTERNALERROR> self.issue_config_time_warning(PytestConfigWarning(message), stacklevel=3) INTERNALERROR> File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1321, in issue_config_time_warning INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel) INTERNALERROR> pytest.PytestConfigWarning: Unknown config option: timeout ============================ no tests ran in 0.20s =============================
This is related to pytest 6.2. See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/4FCRHTHT2IZNA6SOF37HNDLY23ALNARF/ Adding BR: python3-pytest-timeout or patching/sedding the --timeout option out should fix it.
FEDORA-2021-187b6ca0e9 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.