Changelog for
python39-pytest-xdist-2.5.0-1.1.noarch.rpm :
* Sat Jan 15 2022 Matthias Fehring
- Update to 2.5.0
* Features + Full compatibility with pytest 7 - no deprecation warnings or use of legacy features. + New --dist=loadgroup option, which ensures all tests marked with AATTpytest.mark.xdist_group run in the same session/worker. Other tests run distributed as in --dist=load.
* Trivial Changes + Use AATTpytest.hookspec decorator to declare hook options in newhooks.py to avoid warnings in pytest 7.0. + Use up-to-date setup.cfg/pyproject.toml packaging setup. + Started using type annotations and mypy checking internally. The types are incomplete and not published.- Changes from 2.4.0
* Features + On Linux, the process title now changes to indicate the current worker state (running/idle). Depends on the setproctitle package, which can be installed with pip install pytest-xdist[setproctitle]. + Add support for Python 3.10.- Changes from 2.3.0
* Deprecations and Removals + Python 3.5 is no longer supported.
* Features + Add --numprocesses=logical flag, which automatically uses the number of logical CPUs available, instead of physical CPUs with auto. This is very useful for test suites which are not CPU-bound. + Added new pytest_handlecrashitem hook to allow handling and rescheduling crashed items.
* Bug Fixes + Copy the parent process sys.path into local workers, to work around execnet\'s python -c adding the current directory to sys.path. + Fix issue caused by changing the branch name of the pytest repository.
* Trivial Changes + Replace master with controller where ever possible. + Use \'main\' to refer to pytest default branch in tox env names.- Update patches
* reintroduce-slave-terminology.patch
* 0001-Revert-Remove-compat-for-pytest-6.patch- Require setuptools_scm >= 6.0 for building
* Tue Feb 02 2021 Dirk Müller - update to 2.2.0:
* Internal errors in workers are now propagated to the master node.
* Tue Oct 13 2020 Marketa Calabkova - Skip test failing with the new pytest
* Mon Aug 31 2020 Marketa Calabkova - 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
* Tue Aug 25 2020 Marketa Calabkova - 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``.
* Wed May 13 2020 Tomáš Chvátal - Do not do symlinks
* Sun May 03 2020 Tomáš Chvátal - 1.32.0:
* #524: Add testrun_uid fixture. This is a shared value that uniquely identifies a test run among all workers. This also adds a PYTEST_XDIST_TESTRUNUID environment variable that is accessible within a test as well as a command line option --testrunuid to manually set the value from outside.
* Mon Jan 06 2020 Tomáš Chvátal - Update to 1.31.0:
* #486: Add support for Python 3.8.
* #491: Fix regression that caused custom plugin command-line arguments to be discarded when using --tx mode.
* Mon Oct 07 2019 Tomáš Chvátal - Update to 1.30.0:
* Fix crash issues related to running xdist with the terminal plugin disabled
* Initialization between workers and master nodes is now more consistent
* Tue Jul 02 2019 Tomáš Chvátal - Update to 1.29.0:
* #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.
* Mon Jun 03 2019 Tomáš Chvátal - Update to 1.28.0:
* #426: pytest-xdist now uses the new pytest_report_to_serializable and pytest_report_from_serializable hooks from pytest 4.4
* Thu Mar 21 2019 Tomáš Chvátal - Update to 1.27.0:
* #374: The new ``pytest_xdist_getremotemodule`` hook allows overriding the module run on remote nodes.
* #415: Improve behavior of ``--numprocesses=auto`` to work well with ``--pdb`` option.
* Tue Feb 12 2019 Tomáš Chvátal - Update to 1.26.1:
* #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.
* Fri Oct 26 2018 Ondřej Súkup - update to version 1.23.2- add python-six to runtime deps
* Fix issue where Warnings could cause pytest to fail if they do not set the args attribute correctly.
* Fix warnings transfer between workers and master node with pytest >= 3.8
* Improve collection performance by reducing the number of events sent to master node
* Sat Apr 07 2018 arunAATTgmx.de- update to version 1.22.2:
* Add backward compatibility for slaveoutput attribute to WorkerController instances. (#285)
* Sat Feb 24 2018 mimi.vxAATTgmail.com- cleanup Requires and spec
* Sat Feb 24 2018 arunAATTgmx.de- update to version 1.22.1:
* Bug Fixes + Fix issue when using loadscope or loadfile where tests would fail to start if the first scope had only one test. (#257)
* Trivial Changes + Change terminology used by pytest-xdist to master and worker in arguments and messages (for example --max-worker-reset). (#234)
* Thu Jan 11 2018 arunAATTgmx.de- update to version 1.22.0:
* Add support for the pytest_runtest_logfinish hook which will be released in pytest 3.4. (#266)
* Wed Jan 03 2018 arunAATTgmx.de- update to version 1.21.0:
* Deprecations and Removals + Drop support for EOL Python 2.6. (#259)
* Features + New --dist=loadfile option which load-distributes test to workers grouped by the file the tests live in. (#242)
* Bug Fixes + Fix accidental mutation of test report during serialization causing longrepr string-ification to break. (#241)