Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Update pytest to 4.6.3#355

Merged
fkztw merged 4 commits into
masterfrom
pyup-update-pytest-4.5.0-to-4.6.3
Jun 17, 2019
Merged

Update pytest to 4.6.3#355
fkztw merged 4 commits into
masterfrom
pyup-update-pytest-4.5.0-to-4.6.3

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates pytest from 4.5.0 to 4.6.3.

Changelog

4.6.2

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

Bug Fixes
---------

- `5370 <https://github.com/pytest-dev/pytest/issues/5370>`_: Revert unrolling of ``all()`` to fix ``NameError`` on nested comprehensions.


- `5371 <https://github.com/pytest-dev/pytest/issues/5371>`_: Revert unrolling of ``all()`` to fix incorrect handling of generators with ``if``.


- `5372 <https://github.com/pytest-dev/pytest/issues/5372>`_: Revert unrolling of ``all()`` to fix incorrect assertion when using ``all()`` in an expression.

4.6.1

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

Bug Fixes
---------

- `5354 <https://github.com/pytest-dev/pytest/issues/5354>`_: Fix ``pytest.mark.parametrize`` when the argvalues is an iterator.


- `5358 <https://github.com/pytest-dev/pytest/issues/5358>`_: Fix assertion rewriting of ``all()`` calls to deal with non-generators.

4.6.0

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

Important
---------

The ``4.6.X`` series will be the last series to support **Python 2 and Python 3.4**.

For more details, see our `Python 2.7 and 3.4 support plan <https://docs.pytest.org/en/latest/py27-py34-deprecation.html>`__.


Features
--------

- `4559 <https://github.com/pytest-dev/pytest/issues/4559>`_: Added the ``junit_log_passing_tests`` ini value which can be used to enable or disable logging of passing test output in the Junit XML file.


- `4956 <https://github.com/pytest-dev/pytest/issues/4956>`_: pytester's ``testdir.spawn`` uses ``tmpdir`` as HOME/USERPROFILE directory.


- `5062 <https://github.com/pytest-dev/pytest/issues/5062>`_: Unroll calls to ``all`` to full for-loops with assertion rewriting for better failure messages, especially when using Generator Expressions.


- `5063 <https://github.com/pytest-dev/pytest/issues/5063>`_: Switch from ``pkg_resources`` to ``importlib-metadata`` for entrypoint detection for improved performance and import time.


- `5091 <https://github.com/pytest-dev/pytest/issues/5091>`_: The output for ini options in ``--help`` has been improved.


- `5269 <https://github.com/pytest-dev/pytest/issues/5269>`_: ``pytest.importorskip`` includes the ``ImportError`` now in the default ``reason``.


- `5311 <https://github.com/pytest-dev/pytest/issues/5311>`_: Captured logs that are output for each failing test are formatted using the
ColoredLevelFormatter.


- `5312 <https://github.com/pytest-dev/pytest/issues/5312>`_: Improved formatting of multiline log messages in Python 3.



Bug Fixes
---------

- `2064 <https://github.com/pytest-dev/pytest/issues/2064>`_: The debugging plugin imports the wrapped ``Pdb`` class (``--pdbcls``) on-demand now.


- `4908 <https://github.com/pytest-dev/pytest/issues/4908>`_: The ``pytest_enter_pdb`` hook gets called with post-mortem (``--pdb``).


- `5036 <https://github.com/pytest-dev/pytest/issues/5036>`_: Fix issue where fixtures dependent on other parametrized fixtures would be erroneously parametrized.


- `5256 <https://github.com/pytest-dev/pytest/issues/5256>`_: Handle internal error due to a lone surrogate unicode character not being representable in Jython.


- `5257 <https://github.com/pytest-dev/pytest/issues/5257>`_: Ensure that ``sys.stdout.mode`` does not include ``'b'`` as it is a text stream.


- `5278 <https://github.com/pytest-dev/pytest/issues/5278>`_: Pytest's internal python plugin can be disabled using ``-p no:python`` again.


- `5286 <https://github.com/pytest-dev/pytest/issues/5286>`_: Fix issue with ``disable_test_id_escaping_and_forfeit_all_rights_to_community_support`` option not working when using a list of test IDs in parametrized tests.


- `5330 <https://github.com/pytest-dev/pytest/issues/5330>`_: Show the test module being collected when emitting ``PytestCollectionWarning`` messages for
test classes with ``__init__`` and ``__new__`` methods to make it easier to pin down the problem.


- `5333 <https://github.com/pytest-dev/pytest/issues/5333>`_: Fix regression in 4.5.0 with ``--lf`` not re-running all tests with known failures from non-selected tests.



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

- `5250 <https://github.com/pytest-dev/pytest/issues/5250>`_: Expand docs on use of ``setenv`` and ``delenv`` with ``monkeypatch``.
Links

@pyup-bot pyup-bot mentioned this pull request Jun 12, 2019
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-1.5%) to 83.505% when pulling 309947a on pyup-update-pytest-4.5.0-to-4.6.3 into e88766b on master.

@coveralls

coveralls commented Jun 12, 2019

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.01%) to 83.505% when pulling 91ffd1d on pyup-update-pytest-4.5.0-to-4.6.3 into 03e4259 on master.

@fkztw fkztw merged commit 1353415 into master Jun 17, 2019
@fkztw fkztw deleted the pyup-update-pytest-4.5.0-to-4.6.3 branch June 17, 2019 11:40
fkztw pushed a commit that referenced this pull request Jun 17, 2019
The last version which supports Python 3.4.

CHANGE LOG:

Dependencies:
824b95d Update certifi to 2019.6.16 (#356)
1353415 Update pytest to 4.6.3 (#355)
03e4259 Update peewee to 3.9.6 (#354)
e88766b Update pluggy to 0.12.0 (#351)
0b72373 Update urllib3 to 1.25.3 (#350)
15796cd Update pytest to 4.5.0 (#348)
b362e67 Update pytest to 4.4.2 (#347)
db31f9f Update pluggy to 0.11.0 (#346)
5711ef3 Update pytest-cov to 2.7.1 (#345)
ef1eb2c Update urllib3 to 1.25.2 (#344)
4dad9ef Update peewee to 3.9.5 (#341)
a54cb77 Update urllib3 to 1.25.1 (#340)
8556392 Update urllib3 to 1.25 (#339)
7d1652f Update urllib3 to 1.24.2 (#338)
4fe6dec Update pytest to 4.4.1 (#337)
5eeecaa Update peewee to 3.9.4 (#336)

CI:
593d431 [CircleCI] Install requirements.txt before requirements-test.txt
731088b Update Pipfile.lock
4147d33 [PyUp] No need to watch Pipfile.lock
060b524 [CircleCI] update the cache name for save_cache and restore_cache
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.

3 participants