Description of problem: RHEL8 ships with pytest 3.4.2, xdist 1.29.0 appears to require 4.4.0. Version-Release number of selected component (if applicable): 1.29.0-1.el8.1 # pytest-3 Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/pluggy/__init__.py", line 397, in load_setuptools_entrypoints plugin = ep.load() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2317, in load self.require(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2340, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 779, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (pytest 3.4.2 (/usr/lib/python3.6/site-packages), Requirement.parse('pytest>=4.4.0')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/pytest-3", line 11, in <module> load_entry_point('pytest==3.4.2', 'console_scripts', 'pytest')() File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 50, in main config = _prepareconfig(args, plugins) File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 161, in _prepareconfig pluginmanager=pluginmanager, args=args) File "/usr/lib/python3.6/site-packages/pluggy/__init__.py", line 617, in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) File "/usr/lib/python3.6/site-packages/pluggy/__init__.py", line 222, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/lib/python3.6/site-packages/pluggy/__init__.py", line 216, in <lambda> firstresult=hook.spec_opts.get('firstresult'), File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 196, in _multicall gen.send(outcome) File "/usr/lib/python3.6/site-packages/_pytest/helpconfig.py", line 68, in pytest_cmdline_parse config = outcome.get_result() File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 76, in get_result raise ex[1].with_traceback(ex[2]) File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 180, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 944, in pytest_cmdline_parse self.parse(args) File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 1109, in parse self._preparse(args, addopts=addopts) File "/usr/lib/python3.6/site-packages/_pytest/config.py", line 1072, in _preparse self.pluginmanager.load_setuptools_entrypoints('pytest11') File "/usr/lib/python3.6/site-packages/pluggy/__init__.py", line 402, in load_setuptools_entrypoints "Plugin %r could not be loaded: %s!" % (ep.name, e)) pluggy.PluginValidationError: Plugin 'xdist' could not be loaded: (pytest 3.4.2 (/usr/lib/python3.6/site-packages), Requirement.parse('pytest>=4.4.0'))!
I wasn't the one who did the initial build of xdist in epel8. :P I guess I'm going to have to use an epoch to downgrade this, aren't I?
CCing smooge so he can get properly castigated :) I think epoch is the only choice at this point, unless it's not a real hard requirement and can be patched out.
Though it is surprising that the version requirement wasn't caught during the build...
(In reply to Orion Poplawski from comment #3) > Though it is surprising that the version requirement wasn't caught during > the build... Yep, the build should have failed. This is why it succeeded: + * Mon Jun 24 2019 Troy Dawson <tdawson> - 1.29.0-1.1 + - Turn off tests for initial EPEL8 build
Ah, so Troy deserves the shame :)
Blocked by: https://src.fedoraproject.org/rpms/python-execnet/pull-request/4
Yeah sorry. I didn't fork xdist at all as all I was mass branching were packages required for fedpkg to work. xdist is not on that list. However, I am still the EPEL-8 chief wrangler so I am the one who told the cow-pokes to go forth. I do believe in this case an epoch bump is what will be required. I am expecting this is where the F28 version is needed.
FEDORA-EPEL-2019-b75a5e12bc has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-b75a5e12bc
python-pytest-xdist-1.24.1-1.el8 has been pushed to the Fedora EPEL 8 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-b75a5e12bc
python-pytest-xdist-1.24.1-1.el8 has been pushed to the Fedora EPEL 8 stable repository. If problems still persist, please make note of it in this bug report.