This repository was archived by the owner on Apr 15, 2025. It is now read-only.
chore(deps): update dev #749
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==7.2.5->==7.2.7==9.1.9->==9.1.19==5.0.2->==5.1.0==1.1.306->==1.1.317==7.3.1->==7.4.0==0.21.0->==0.21.1==3.10.0->==3.11.1Release Notes
nedbat/coveragepy (coverage)
v7.2.7Compare Source
Fix: reverted a
change from 6.4.3 <pull 1347_>_ that helped Cython, butalso increased the size of data files when using dynamic contexts, as
described in the now-fixed
issue 1586. The problem is now avoided due to arecent change (
issue 1538). Thanks toAnders Kaseorg <pull 1629_>_and David Szotten for persisting with problem reports and detailed diagnoses.
Wheels are now provided for CPython 3.12.
.. _issue 1586:https://github.com/nedbat/coveragepy/issues/15866
.. _pull 1629https://github.com/nedbat/coveragepy/pull/162929
.. _changes_7-2-6:
v7.2.6Compare Source
Fix: the
lcovcommand could raise an IndexError exception if a file istranslated to Python but then executed under its own name. Jinja2 does this
when rendering templates. Fixes
issue 1553_.Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled
as invisible functions and coverage.py would warn you if they weren't
completely executed. This no longer happens under Python 3.12.
Fix: the
coverage debug syscommand includes some environment variablesin its output. This could have included sensitive data. Those values are
now hidden with asterisks, closing
issue 1628_... _issue 1553:https://github.com/nedbat/coveragepy/issues/15533
.. _issue 1628https://github.com/nedbat/coveragepy/issues/162828
.. _changes_7-2-5:
squidfunk/mkdocs-material (mkdocs-material)
v9.1.19: mkdocs-material-9.1.19Compare Source
v9.1.18: mkdocs-material-9.1.18Compare Source
v9.1.17: mkdocs-material-9.1.17Compare Source
v9.1.16: mkdocs-material-9.1.16Compare Source
v9.1.15: mkdocs-material-9.1.15Compare Source
Dockerfileto latest version of base image9,9.1) to Docker imagev9.1.14: mkdocs-material-9.1.14Compare Source
v9.1.13: mkdocs-material-9.1.13Compare Source
v9.1.12: mkdocs-material-9.1.12Compare Source
v9.1.11: mkdocs-material-9.1.11Compare Source
v9.1.10: mkdocs-material-9.1.10Compare Source
cards_layout_optionssetting for social cardscards_colorandcards_fontsetting for social cardstesting-cabal/mock (mock)
v5.1.0Compare Source
bpo-44185: :func:
unittest.mock.mock_openwill call the :func:closemethod of the file handle mock when it is exiting from the context
manager. Patch by Samet Yaslan.
gh-94924: :func:
unittest.mock.create_autospecnow properly returnscoroutine functions compatible with :func:
inspect.iscoroutinefunctionbpo-17013: Add
ThreadingMockto :mod:unittest.mockthat can be usedto create Mock objects that can wait until they are called. Patch by
Karthikeyan Singaravelan and Mario Corchero.
bpo-41768: :mod:
unittest.mockspeccing no longer calls class properties.Patch by Melanie Witt.
RobertCraigie/pyright-python (pyright)
v1.1.317Compare Source
v1.1.316Compare Source
v1.1.315Compare Source
v1.1.314Compare Source
v1.1.313Compare Source
v1.1.312Compare Source
v1.1.311Compare Source
v1.1.310Compare Source
v1.1.309Compare Source
v1.1.308Compare Source
v1.1.307Compare Source
pytest-dev/pytest (pytest)
v7.4.0Compare Source
pytest 7.4.0 (2023-06-23)
Features
ExceptionInfo.from_exception() <pytest.ExceptionInfo.from_exception>{.interpreted-text role="func"}, a simpler way to create an~pytest.ExceptionInfo{.interpreted-text role="class"} from an exception.This can replace
ExceptionInfo.from_exc_info() <pytest.ExceptionInfo.from_exc_info()>{.interpreted-text role="func"} for most uses.Improvements
#10872: Update test log report annotation to named tuple and fixed inconsistency in docs for
pytest_report_teststatus{.interpreted-text role="hook"} hook.#10907: When an exception traceback to be displayed is completely filtered out (by mechanisms such as
__tracebackhide__, internal frames, and similar), now only the exception string and the following message are shown:"All traceback entries are hidden. Pass [--full-trace]{.title-ref} to see hidden and internal frames.".
Previously, the last frame of the traceback was shown, even though it was hidden.
#10940: Improved verbose output (
-vv) ofskipandxfailreasons by performing text wrapping while leaving a clear margin for progress output.Added
TerminalReporter.wrap_write()as a helper for that.#10991: Added handling of
%fdirective to print microseconds in log format options, such aslog-date-format.#11005: Added the underlying exception to the cache provider's path creation and write warning messages.
#11013: Added warning when
testpaths{.interpreted-text role="confval"} is set, but paths are not found by glob. In this case, pytest will fall back to searching from the current directory.#11043: When [--confcutdir]{.title-ref} is not specified, and there is no config file present, the conftest cutoff directory ([--confcutdir]{.title-ref}) is now set to the
rootdir <rootdir>{.interpreted-text role="ref"}.Previously in such cases, [conftest.py]{.title-ref} files would be probed all the way to the root directory of the filesystem.
If you are badly affected by this change, consider adding an empty config file to your desired cutoff directory, or explicitly set [--confcutdir]{.title-ref}.
#11081: The
norecursedirs{.interpreted-text role="confval"} check is now performed in apytest_ignore_collect{.interpreted-text role="hook"} implementation, so plugins can affect it.If after updating to this version you see that your [norecursedirs]{.title-ref} setting is not being respected,
it means that a conftest or a plugin you use has a bad [pytest_ignore_collect]{.title-ref} implementation.
Most likely, your hook returns [False]{.title-ref} for paths it does not want to ignore,
which ends the processing and doesn't allow other plugins, including pytest itself, to ignore the path.
The fix is to return [None]{.title-ref} instead of [False]{.title-ref} for paths your hook doesn't want to ignore.
#8711:
caplog.set_level() <pytest.LogCaptureFixture.set_level>{.interpreted-text role="func"} andcaplog.at_level() <pytest.LogCaptureFixture.at_level>{.interpreted-text role="func"}will temporarily enable the requested
leveliflevelwas disabled globally vialogging.disable(LEVEL).Bug Fixes
--tb=linemode wherepytest.fail(pytrace=False)tests reportNone.--last-failedwhole-file skipping functionality ("skipped N files") fornon-python test files <non-python tests>{.interpreted-text role="ref"}.testpaths{.interpreted-text role="confval"} to be considered for loading initial conftests,even when it was not utilized (e.g. when explicit paths were given on the command line).
Now the
testpathsare only considered when they are in use.__tracebackhide__ = Truestill being shown for chained exceptions (parts after "... the above exception ..." message).--debug.Improved Documentation
caplog.set_level() <pytest.LogCaptureFixture.set_level>{.interpreted-text role="func"}.Trivial/Internal Changes
-cto now include--config-fileto make it clear that this flag applies to the usage of a custom config file.v7.3.2Compare Source
pytest 7.3.2 (2023-06-10)
Bug Fixes
OSError: [Errno 36] File name too longon some systems.testpaths{.interpreted-text role="confval"} is now honored to load rootconftests.--last-failed's "(skipped N files)" functionality for files inside of packages (directories with [__init__.py]{.title-ref} files).pytest-dev/pytest-asyncio (pytest-asyncio)
v0.21.1: pytest-asyncio 0.21.1Compare Source
0.21.1 (2023-07-12)
asyncio_modeis selected.#531
pytest-dev/pytest-mock (pytest-mock)
v3.11.1Compare Source
(This release source code is identical to
3.11.0except a small internal fix to deployment/CI)Fixed introspection for failed
assert_has_calls(#365_).Updated type annotations for
mocker.patchandmocker.spy(#364_)... _#365:https://github.com/pytest-dev/pytest-mock/pull/3655
.. _#364https://github.com/pytest-dev/pytest-mock/pull/36464
v3.11.0Compare Source
Fixed introspection for failed
assert_has_calls(#365_).Updated type annotations for
mocker.patchandmocker.spy(#364_)... _#365:https://github.com/pytest-dev/pytest-mock/pull/3655
.. _#364https://github.com/pytest-dev/pytest-mock/pull/36464
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.