Skip to content

Bump pytest from 7.4.0 to 7.4.2

Samuel Guillemet requested to merge dependabot/pip/develop/pytest-7.4.2 into develop

Created by: dependabot[bot]

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

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports