- Update to 2.1.0
* New ``pytest_xdist_auto_num_workers`` hook can be implemented by plugins
or ``conftest.py`` files to control the number of workers when
``--numprocesses=auto`` is given in the command-line.
* ``psutil`` has proven to make ``pytest-xdist`` installation in certain
platforms and containers problematic, so to use it for automatic number
of CPUs detection users need to install the ``psutil`` extra
- Add patches to keep compatibility with older pytests:
* reintroduce-slave-terminology.patch
* 0001-Revert-Remove-compat-for-pytest-6.patch
OBS-URL: https://build.opensuse.org/request/show/830842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=20
- Update to 2.0.0
* Drop backward-compatibility "slave" aliases related to worker nodes. We deliberately
moved away from this terminology years ago, and it seems like the right time to finish
the deprecation and removal process.
* ``pytest-xdist`` no longer supports Python 2.7.
* New functions ``xdist.is_xdist_worker``, ``xdist.is_xdist_master``, ``xdist.get_xdist_worker_id``,
to easily identify the current node.
* When using ``-n auto``, count the number of physical CPU cores instead of logical ones.
* ``pytest-xdist`` now requires ``pytest>=6.0``.
OBS-URL: https://build.opensuse.org/request/show/829113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=19
* #226: --max-worker-restart now assumes a more reasonable value (4 times the number of nodes) when not given explicitly. This prevents test suites from running forever when the suite crashes during collection.
* #435: When the test session is interrupted due to running out of workers, the reason is shown in the test summary for easier viewing.
* #442: Compatibility fix for upcoming pytest 5.0: session.exitstatus is now an IntEnum object.
* #435: No longer show an internal error when we run out of workers due to crashes.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=9
* #406: Do not implement deprecated pytest_logwarning hook in pytest versions where it is deprecated.
* #376: The current directory is no longer added sys.path for local workers, only for remote connections.
* #379: Warning attributes are checked to make sure they can be dumped prior to serializing the warning for submission to the master node.
* #372: Pytest versions older than 3.6 are no longer supported.
* #373: Node setup information is hidden when pytest is run in quiet mode to reduce noise on many-core machines.
* #388: mainargv is made available in workerinput from the host's sys.argv.
* #384: pytest 4.1 support: ExceptionInfo API changes.
* #390: pytest 4.1 support: pytest_logwarning hook removed.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=4