Bump pytest from 6.2.5 to 7.1.2
Bumps pytest from 6.2.5 to 7.1.2.
Release notes
Sourced from pytest's releases.
7.1.2
pytest 7.1.2 (2022-04-23)
Bug Fixes
- #9726: An unnecessary
numpy
import insidepytest.approx
{.interpreted-text role="func"} was removed.- #9820: Fix comparison of
dataclasses
withInitVar
.- #9869: Increase
stacklevel
for theNODE_CTOR_FSPATH_ARG
deprecation to point to the user's code, not pytest.- #9871: Fix a bizarre (and fortunately rare) bug where the [temp_path]{.title-ref} fixture could raise an internal error while attempting to get the current user's username.
7.1.1
pytest 7.1.1 (2022-03-17)
Bug Fixes
- #9767: Fixed a regression in pytest 7.1.0 where some conftest.py files outside of the source tree (e.g. in the [site-packages]{.title-ref} directory) were not picked up.
7.1.0
pytest 7.1.0 (2022-03-13)
Breaking Changes
#8838: As per our policy, the following features have been deprecated in the 6.X series and are now removed:
pytest._fillfuncargs
function.pytest_warning_captured
hook - usepytest_warning_recorded
instead.-k -foobar
syntax - use-k 'not foobar'
instead.-k foobar:
syntax.pytest.collect
module - import frompytest
directly.For more information consult Deprecations and Removals in the docs.
#9437: Dropped support for Python 3.6, which reached end-of-life at 2021-12-23.
Improvements
#5192: Fixed test output for some data types where
-v
would show less information.Also, when showing diffs for sequences,
-q
would produce full diffs instead of the expected diff.
... (truncated)
Commits
-
2f2f1a6
Prepare release version 7.1.2 -
5c04f3a
[7.1.x] Fix wronglog_file
docs (#9879) -
078733c
Merge pull request #9872 from pytest-dev/backport-9871-to-7.1.x -
3a7ead6
[7.1.x] fix: move 'import getpass' statement to try-clause -
6d75333
[7.1.x] Increase stacklevel to point at user's code (#9870) -
ddbb998
[7.1.x] Increase stacklevel to point at user's code -
0ec5886
Merge pull request #9855 from pytest-dev/backport-9854-to-7.1.x -
f2469fc
[7.1.x] Docs: link to easy issues in contributing guide -
94ec0f8
Merge pull request #9846 from pytest-dev/backport-9842-to-7.1.x -
5ef96fd
[7.1.x] fix comparison of dataclasses withInitVar
- Additional commits viewable in compare view