Skip to content

Bump pytest from 7.4.0 to 7.4.2

WKDV Bot requested to merge dependabot/pip/pytest-7.4.2 into develop

Bumps pytest from 7.4.0 to 7.4.2.

Release notes

Sourced from pytest's releases.

pytest 7.4.2 (2023-09-07)

Bug Fixes

  • #11237: Fix doctest collection of functools.cached_property objects.

  • #11306: Fixed bug using --importmode=importlib which would cause package __init__.py files to be imported more than once in some cases.

  • #11367: Fixed bug where user_properties where not being saved in the JUnit XML file if a fixture failed during teardown.

  • #11394: Fixed crash when parsing long command line arguments that might be interpreted as files.

Improved Documentation

  • #11391: Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing.

pytest 7.4.1 (2023-09-02)

Bug Fixes

  • #10337: Fixed bug where fake intermediate modules generated by --import-mode=importlib would not include the child modules as attributes of the parent modules.

  • #10702: Fixed error assertion handling in pytest.approx when None is an expected or received value when comparing dictionaries.

  • #10811: Fixed issue when using --import-mode=importlib together with --doctest-modules that caused modules to be imported more than once, causing problems with modules that have import side effects.

Commits
  • 45f34df Prepare release version 7.4.2
  • e4f022f Merge pull request #11406 from nicoddemus/backport-11404-to-7.4.x
  • 63b0c6f Use _pytest.pathlib.safe_exists in get_dirs_from_args
  • 884b911 Fix crash when passing a very long cmdline argument (#11404)
  • 6e49a74 [7.4.x] Fix doctest collection of functools.cached_property objects. (#11403)
  • 79c2012 [7.4.x] doc: Remove done training (#11400)
  • de69883 [7.4.x] improve plugin list disclaimer (#11398)
  • 1de00e9 [7.4.x] Fix import_path for packages (#11395)
  • 7f5d9b9 Fix user_properties not saved to XML if fixture errors during teardown (#11382)
  • 82eb86f Merge pull request #11377 from pytest-dev/release-7.4.1
  • Additional commits viewable in compare view

Merge request reports