Bump pytest from 6.2.4 to 7.4.3
Bumps pytest from 6.2.4 to 7.4.3.
Release notes
Sourced from pytest's releases.
pytest 7.4.3 (2023-10-24)
Bug Fixes
#10447: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.
#11239: Fixed
:=in asserts impacting unrelated test cases.#11439: Handled an edge case where :data:
sys.stderrmight already be closed when :ref:faulthandleris tearing down.pytest 7.4.2 (2023-09-07)
Bug Fixes
#11237: Fix doctest collection of
functools.cached_propertyobjects.#11306: Fixed bug using
--importmode=importlibwhich would cause package__init__.pyfiles to be imported more than once in some cases.#11367: Fixed bug where
user_propertieswhere 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=importlibwould not include the child modules as attributes of the parent modules.#10702: Fixed error assertion handling in
pytest.approxwhenNoneis an expected or received value when comparing dictionaries.#10811: Fixed issue when using
--import-mode=importlibtogether with--doctest-modulesthat caused modules to be imported more than once, causing problems with modules that have import side effects.
... (truncated)
Commits
2390610Tweak changelog.rsta0714aaPrepare release version 7.4.344ad1c9[7.4.x] fix #10447 - consider marks in reverse mro order to give base classes...5dc7725[7.4.x] Ensure logging tests always cleanup after themselves (#11541)a517827[7.4.x] Configure ReadTheDocs to fail on warnings (#11540)21fe071[7.4.x] fix for ValueError raised in faulthandler teardown code (#11455)f8bb857Force terminal width when running tests (#11425) (#11432)1944dc0[7.4.x] Fix --import-mode=importlib when root contains__init__.pyfile (#1...946634cMerge pull request #11419 from nicoddemus/backport-11414-to-7.4.xd849a3e[7.4.x] fix: closes #11343's [attr-defined] type errors (#11421)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)