Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Update pytest-xdist to 1.22.2 #20

Closed
wants to merge 2 commits into from

Conversation

pyup-bot
Copy link
Contributor

This PR updates pytest-xdist from 1.14 to 1.22.2.

Changelog

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
<https://github.com/pytest-dev/pytest-xdist/issues/257>`_)


Trivial Changes
---------------

- Change terminology used by ``pytest-xdist`` to *master* and *worker* in
arguments and messages (for example ``--max-worker-reset``). (`234
<https://github.com/pytest-dev/pytest-xdist/issues/234>`_)

1.22.0

================================

Features
--------

- Add support for the ``pytest_runtest_logfinish`` hook which will be released
in pytest 3.4. (`266
<https://github.com/pytest-dev/pytest-xdist/issues/266>`_)

1.21.0

================================

Deprecations and Removals
-------------------------

- Drop support for EOL Python 2.6. (`259
<https://github.com/pytest-dev/pytest-xdist/issues/259>`_)


Features
--------

- New ``--dist=loadfile`` option which load-distributes test to workers grouped
by the file the tests live in. (`242
<https://github.com/pytest-dev/pytest-xdist/issues/242>`_)


Bug Fixes
---------

- Fix accidental mutation of test report during serialization causing longrepr
string-ification to break. (`241
<https://github.com/pytest-dev/pytest-xdist/issues/241>`_)

1.20.1

================================

Bug Fixes
---------

- Fix hang when all worker nodes crash and restart limit is reached (`45
<https://github.com/pytest-dev/pytest-xdist/issues/45>`_)

- Fix issue where the -n option would still run distributed tests when pytest
was run with the --collect-only option (`5
<https://github.com/pytest-dev/pytest-xdist/issues/5>`_)

1.20.0

================================

Features
--------

- ``xdist`` now supports tests to log results multiple times, improving
integration with plugins which require it like `pytest-rerunfailures
<https://github.com/gocept/pytest-rerunfailures>`_ and `flaky
<https://pypi.python.org/pypi/flaky>`_. (`206 <https://github.com/pytest-
dev/pytest-xdist/issues/206>`_)


Bug Fixes
---------

- Fix issue where tests were being incorrectly identified if a worker crashed
during the ``teardown`` stage of the test. (`124 <https://github.com/pytest-
dev/pytest-xdist/issues/124>`_)

1.19.1

================================

Bug Fixes
---------

- Fix crash when transferring internal pytest warnings from workers to the
master node. (`214 <https://github.com/pytest-dev/pytest-
xdist/issues/214>`_)

1.19.0

================================

Deprecations and Removals
-------------------------

- ``--boxed`` functionality has been moved to a separate plugin, `pytest-forked
<https://github.com/pytest-dev/pytest-forked>`_. This release now depends on
`` pytest-forked`` and provides ``--boxed`` as a backward compatibility
option. (`1 <https://github.com/pytest-dev/pytest-xdist/issues/1>`_)


Features
--------

- New ``--dist=loadscope`` option: sends group of related tests to the same
worker. Tests are grouped by module for test functions and by class for test
methods. See ``README.rst`` for more information. (`191 <https://github.com
/pytest-dev/pytest-xdist/issues/191>`_)

- Warnings are now properly transferred from workers to the master node. (`92
<https://github.com/pytest-dev/pytest-xdist/issues/92>`_)


Bug Fixes
---------

- Fix serialization of native tracebacks (``--tb=native``). (`196
<https://github.com/pytest-dev/pytest-xdist/issues/196>`_)

1.18.2

================================

Bug Fixes
---------

- Removal of unnecessary dependency on incorrect version of py. (`105
<https://github.com/pytest-dev/pytest-xdist/issues/105>`_)

- Fix bug in internal event-loop error handler in the master node. This bug
would shadow the original errors making extremely hard/impossible for users
to diagnose the problem properly. (`175 <https://github.com/pytest-
dev/pytest-xdist/issues/175>`_)

1.18.1

================================

Bug Fixes
---------

- Fixed serialization of ``longrepr.sections`` during error reporting from
workers. (`171 <https://github.com/pytest-dev/pytest-xdist/issues/171>`_)

- Fix ``ReprLocal`` not being unserialized breaking --showlocals usages. (`176
<https://github.com/pytest-dev/pytest-xdist/issues/176>`_)

1.18.0

================================

- ``pytest-xdist`` now requires ``pytest>=3.0.0``.

Features
--------

- Add long option `--numprocesses` as alternative for `-n`. (168)


Bug Fixes
---------

- Fix serialization and deserialization dropping longrepr details. (133)

1.17.1

================================

Bug Fixes
---------

- Hot fix release reverting the change introduced by 124, unfortunately it
broke a number of test suites so we are reversing this change while we
investigate the problem. (157)


Improved Documentation
----------------------

- Introduced ``towncrier`` for ``CHANGELOG`` management. (154)

- Added ``HOWTORELEASE`` documentation. (155)


..
 You should *NOT* be adding new change log entries to this file, this
 file is managed by towncrier. You *may* edit previous change logs to
 fix problems like typo corrections or such.
 To add a new change log entry, please see
 https://pip.pypa.io/en/latest/development/adding-a-news-entry
 We named the news folder ``changelog``

.. towncrier release notes start

1.17.0

------

- fix 124: xdist would mark test as complete after 'call' step. As a result,
xdist could identify the wrong test as failing when test crashes at teardown.
To address this issue, xdist now marks test as complete at teardown.

1.16.0

------

- ``pytest-xdist`` now requires pytest 2.7 or later.

- Add ``worker_id`` attribute in the TestReport

- new hook: ``pytest_xdist_make_scheduler(config, log)``, can return custom tests items
distribution logic implementation. You can take a look at built-in ``LoadScheduling``
and ``EachScheduling`` implementations. Note that required scheduler class public
API may change in next ``pytest-xdist`` versions.

1.15.0

------

- new ``worker_id`` fixture, returns the id of the worker in a test or fixture.
Thanks Jared Hellman for the PR.

- display progress during collection only when in a terminal, similar to pytest 1397 issue.
Thanks Bruno Oliveira for the PR.

- fix internal error message when ``--maxfail`` is used (62, 65).
Thanks Collin RM Stocks and Bryan A. Jones for reports and Bruno Oliveira for the PR.
Links

@palfrey
Copy link
Owner

palfrey commented Jul 3, 2018

Blocked by pypa/pipenv#2412

@pyup-bot
Copy link
Contributor Author

Closing this in favor of #30

@pyup-bot pyup-bot closed this Jul 31, 2018
@palfrey palfrey deleted the pyup-update-pytest-xdist-1.14-to-1.22.2 branch July 31, 2018 20:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants