Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dev (major) #647

Merged
merged 2 commits into from
Feb 1, 2023
Merged

chore(deps): update dev (major) #647

merged 2 commits into from
Feb 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 18, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
coverage ==6.5.0 -> ==7.1.0 age adoption passing confidence
mkdocs-material ==8.5.11 -> ==9.0.9 age adoption passing confidence
mock (source) ==4.0.3 -> ==5.0.1 age adoption passing confidence
pre-commit ==2.21.0 -> ==3.0.2 age adoption passing confidence

Release Notes

nedbat/coveragepy

v7.1.0

Compare Source

  • Added: the debug output file can now be specified with [run] debug_file
    in the configuration file. Closes issue 1319_.

  • Performance: fixed a slowdown with dynamic contexts that's been around since
    6.4.3. The fix closes issue 1538. Thankfully this doesn't break the
    Cython change
    that fixed issue 972_. Thanks to Mathieu Kniewallner for
    the deep investigative work and comprehensive issue report.

  • Typing: all product and test code has type annotations.

.. _Cython change:https://github.com/nedbat/coveragepy/pull/13477
.. _issue 972https://github.com/nedbat/coveragepy/issues/97272
.. _issue 131https://github.com/nedbat/coveragepy/issues/1319319
.. _issue 15https://github.com/nedbat/coveragepy/issues/15381538

.. _changes_7-0-5:

v7.0.5

Compare Source

  • Fix: On Python 3.7, a file with type annotations but no from __future__ import annotations would be missing statements in the coverage report. This
    is now fixed, closing issue 1524_.

.. _issue 1524:https://github.com/nedbat/coveragepy/issues/15244

.. _changes_7-0-4:

v7.0.4

Compare Source

  • Performance: an internal cache of file names was accidentally disabled,
    resulting in sometimes drastic reductions in performance. This is now fixed,
    closing issue 1527_. Thanks to Ivan Ciuvalschii for the reproducible test
    case.

.. _issue 1527:https://github.com/nedbat/coveragepy/issues/15277

.. _changes_7-0-3:

v7.0.3

Compare Source

  • Fix: when using pytest-cov or pytest-xdist, or perhaps both, the combining
    step could fail with assert row is not None using 7.0.2. This was due to
    a race condition that has always been possible and is still possible. In
    7.0.1 and before, the error was silently swallowed by the combining code.
    Now it will produce a message "Couldn't combine data file" and ignore the
    data file as it used to do before 7.0.2. Closes issue 1522_.

.. _issue 1522:https://github.com/nedbat/coveragepy/issues/15222

.. _changes_7-0-2:

v7.0.2

Compare Source

  • Fix: when using the [run] relative_files = True setting, a relative
    [paths] pattern was still being made absolute. This is now fixed,
    closing issue 1519_.

  • Fix: if Python doesn't provide tomllib, then TOML configuration files can
    only be read if coverage.py is installed with the [toml] extra.
    Coverage.py will raise an error if TOML support is not installed when it sees
    your settings are in a .toml file. But it didn't understand that
    [tools.coverage] was a valid section header, so the error wasn't reported
    if you used that header, and settings were silently ignored. This is now
    fixed, closing issue 1516_.

  • Fix: adjusted how decorators are traced on PyPy 7.3.10, fixing issue 1515_.

  • Fix: the coverage lcov report did not properly implement the
    --fail-under=MIN option. This has been fixed.

  • Refactor: added many type annotations, including a number of refactorings.
    This should not affect outward behavior, but they were a bit invasive in some
    places, so keep your eyes peeled for oddities.

  • Refactor: removed the vestigial and long untested support for Jython and
    IronPython.

.. _issue 1515:https://github.com/nedbat/coveragepy/issues/15155
.. _issue 1516https://github.com/nedbat/coveragepy/issues/151616
.. _issue 151https://github.com/nedbat/coveragepy/issues/1519519

.. _changes_7-0-1:

v7.0.1

Compare Source

  • When checking if a file mapping resolved to a file that exists, we weren't
    considering files in .whl files. This is now fixed, closing issue 1511_.

  • File pattern rules were too strict, forbidding plus signs and curly braces in
    directory and file names. This is now fixed, closing issue 1513_.

  • Unusual Unicode or control characters in source files could prevent
    reporting. This is now fixed, closing issue 1512_.

  • The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing issue 1510_.

.. _issue 1510:https://github.com/nedbat/coveragepy/issues/15100
.. _issue 1511https://github.com/nedbat/coveragepy/issues/151111
.. _issue 151https://github.com/nedbat/coveragepy/issues/1512512
.. _issue 15https://github.com/nedbat/coveragepy/issues/15131513

.. _changes_7-0-0:

v7.0.0

Compare Source

Nothing new beyond 7.0.0b1.

.. _changes_7-0-0b1:

squidfunk/mkdocs-material

v9.0.9: mkdocs-material-9.0.9

Compare Source

  • Updated Bulgarian translations
  • Updated Chinese (Simplified) translations
  • Updated Dutch translations
  • Updated Hindi translations
  • Updated Japanese translations
  • Updated Polish translations

v9.0.8: mkdocs-material-9.0.8

Compare Source

  • Updated Croatian translations
  • Updated French translations
  • Updated Hungarian translations
  • Updated Portuguese (Brasilian) translations
  • Updated Spanish translations
  • Updated Ukrainian translations
  • Updated Urdu translations
  • Updated Vietnamese translations

v9.0.7: mkdocs-material-9.0.7

Compare Source

  • Improved accessibility of sidebar navigation
  • Moved all translations into community edition
  • Updated Polish and Portuguese (Brasilian) translations
  • Fixed info plugin terminating on subsequent reload when serving
  • Fixed #​4910: Sidebar navigation labels have invalid ARIA roles
  • Fixed #​4884: Search query terms can't be separated by colons

v9.0.6: mkdocs-material-9.0.6

Compare Source

  • Fixed #​4883: Automatically disable info plugin when serving
  • Fixed #​4885: Search plugin crashes in some exotic cases (9.0.3 regression)

v9.0.5: mkdocs-material-9.0.5

Compare Source

  • Fixed #​4842: Improved accessibility of search result list

v9.0.4: mkdocs-material-9.0.4

Compare Source

  • Fixed #​4823: Improved contrast ratio in footer (9.0.2 regression)
  • Fixed #​4832: Set navigation items back to black (9.0.3 regression)
  • Fixed #​4843: Emojis broken due to maxcdn.com shutting down
  • Upgraded Python Markdown Extensions to 9.9.1

v9.0.3: mkdocs-material-9.0.3

Compare Source

  • Improved discernability of section index pages in navigation
  • Improved collapsing of adjacent whitespace in search plugin
  • Updated Indonesian translations
  • Fixed view source of this page button when edit URL points to blob
  • Fixed #​4829: Search overlay does not close for active anchor result
  • Fixed #​4824: Search plugin crashes for h[1-6] contained in other elements
  • Fixed #​4804: Nested navigation items not expandable with keyboard
  • Fixed #​4689: anchor tracking not working for anchors in tables
  • Upgraded to Mermaid 9.3.0

v9.0.2: mkdocs-material-9.0.2

Compare Source

  • Fixed #​4823: Improved contrast ratio in footer to meet WCAG guidelines
  • Fixed #​4819: Social plugin crashes when card generation is disabled
  • Fixed #​4817: Search plugin crashes on numeric page titles in nav

v9.0.1: mkdocs-material-9.0.1

Compare Source

  • Removed pipdeptree dependency for built-in info plugin
  • Fixed appearance of linked tags when hovered (9.0.0 regression)
  • Fixed #​4810: Abbreviations run out of screen on touch devices
  • Fixed #​4813: View source and edit button links are the same

v9.0.0: mkdocs-material-9.0.0

Compare Source

Additions and improvements

  • Added support for rich search previews
  • Added support for tokenizer lookahead
  • Added support for better search highlighting
  • Added support for excluding content from search
  • Added support for configurable search pipeline
  • Added support for offline search via offline plugin
  • Added support for multiple instances of built-in tags plugin
  • Added support for removing copy-to-clipboard button
  • Added support for removing footer navigation
  • Added support for button to view the source of a page
  • Improved readability of query string for search sharing
  • Improved stability of search plugin when using --dirtyreload
  • Improved search result group button, now sticky and stable
  • Updated Norwegian translations
  • Updated MkDocs to 1.4.2

Removals

  • Removed deprecated alternative admonition qualifiers
  • Removed :is() selectors (in output) for easier overriding
  • Removed .title suffix on translations
  • Removed legacy method for providing page title in feedback URL
  • Removed support for indexing only titles in search
  • Removed support for custom search transforms
  • Removed support for custom search workers
  • Removed temporary snow feature (easter egg)

Fixes

  • Fixed Norwegian and Korean language code
  • Fixed detection of composition events in search interface
  • Fixed search plugin not using title set via front matter
  • Fixed search highlighting of tags
  • Fixed search sharing URL using post transformed string
  • Fixed theme-color meta tag getting out-of-sync with palette toggle
  • Fixed prev/next page keyboard navigation when footer is not present
  • Fixed overflowing navigation tabs not being scrollable
  • Fixed inclusion of code block line numbers from search
testing-cabal/mock

v5.0.1

Compare Source

  • gh-100740: Fix unittest.mock.Mock not respecting the spec for
    attribute names prefixed with assert.

  • gh-100690: Mock objects which are not unsafe will now raise an
    AttributeError when accessing an attribute that matches the name of an
    assertion but without the prefix assert_, e.g. accessing
    called_once instead of assert_called_once. This is in addition to
    this already happening for accessing attributes with prefixes assert,
    assret, asert, aseert, and assrt.

  • gh-96127: inspect.signature was raising TypeError on call with
    mock objects. Now it correctly returns (*args, **kwargs) as infered
    signature.

v5.0.0

Compare Source

  • gh-98624: Add a mutex to unittest.mock.NonCallableMock to protect
    concurrent access to mock attributes.

  • bpo-43478: Mocks can no longer be used as the specs for other Mocks. As a
    result, an already-mocked object cannot have an attribute mocked using
    autospec=True or be the subject of a create_autospec(...) call. This
    can uncover bugs in tests since these Mock-derived Mocks will always pass
    certain tests (e.g. isinstance) and builtin assert functions (e.g.
    assert_called_once_with) will unconditionally pass.

  • bpo-45156: Fixes infinite loop on :func:unittest.mock.seal of mocks
    created by :func:~unittest.create_autospec.

  • bpo-41403: Make :meth:mock.patch raise a :exc:TypeError with a
    relevant error message on invalid arg. Previously it allowed a cryptic
    :exc:AttributeError to escape.

  • gh-91803: Fix an error when using a method of objects mocked with
    :func:unittest.mock.create_autospec after it was sealed with
    :func:unittest.mock.seal function.

  • bpo-41877: AttributeError for suspected misspellings of assertions on
    mocks are now pointing out that the cause are misspelled assertions and
    also what to do if the misspelling is actually an intended attribute name.
    The unittest.mock document is also updated to reflect the current set of
    recognised misspellings.

  • bpo-43478: Mocks can no longer be provided as the specs for other Mocks.
    As a result, an already-mocked object cannot be passed to mock.Mock().
    This can uncover bugs in tests since these Mock-derived Mocks will always
    pass certain tests (e.g. isinstance) and builtin assert functions (e.g.
    assert_called_once_with) will unconditionally pass.

  • bpo-45010: Remove support of special method __div__ in
    :mod:unittest.mock. It is not used in Python 3.

  • gh-84753: :func:inspect.iscoroutinefunction now properly returns
    True when an instance of :class:unittest.mock.AsyncMock is passed to
    it. This makes it consistent with behavior of
    :func:asyncio.iscoroutinefunction. Patch by Mehdi ABAAKOUK.

  • bpo-46852: Remove the undocumented private float.__set_format__()
    method, previously known as float.__setformat__() in Python 3.7. Its
    docstring said: "You probably don't want to use this function. It exists
    mainly to be used in Python's test suite." Patch by Victor Stinner.

  • gh-98086: Make sure patch.dict() can be applied on async functions.

  • gh-100287: Fix the interaction of :func:unittest.mock.seal with
    :class:unittest.mock.AsyncMock.

  • gh-83076: Instantiation of Mock() and AsyncMock() is now 3.8x
    faster.

  • bpo-41877: A check is added against misspellings of autospect, auto_spec
    and set_spec being passed as arguments to patch, patch.object and
    create_autospec.

pre-commit/pre-commit

v3.0.2

Compare Source

==================

Fixes

v3.0.1

Compare Source

==================

Fixes

v3.0.0

Compare Source

==================

Features
Fixes
Updating
  • Drop support for python<3.8
  • Drop support for top-level list, use pre-commit migrate-config to update.
  • Drop support for sha to specify revision, use pre-commit migrate-config
    to update.
  • Remove pre-commit-validate-config and pre-commit-validate-manifest, use
    pre-commit validate-config and pre-commit validate-manifest instead.
  • language: golang hooks must use go.mod to specify dependencies

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-dev branch 2 times, most recently from 0d199ee to 7a4bd95 Compare December 28, 2022 15:59
@renovate renovate bot changed the title chore(deps): update dependency coverage to v7 chore(deps): update dev (major) Dec 28, 2022
@renovate renovate bot force-pushed the renovate/major-dev branch 6 times, most recently from 3380c99 to 5a1b46f Compare January 4, 2023 11:13
@renovate renovate bot force-pushed the renovate/major-dev branch 6 times, most recently from 4271713 to 0da819c Compare January 14, 2023 21:43
@renovate renovate bot force-pushed the renovate/major-dev branch from 0da819c to f450bf1 Compare February 1, 2023 21:11
@renovate
Copy link
Contributor Author

renovate bot commented Feb 1, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@RobertCraigie RobertCraigie merged commit c670e3a into main Feb 1, 2023
@RobertCraigie RobertCraigie deleted the renovate/major-dev branch February 1, 2023 22:27
github-actions bot added a commit that referenced this pull request Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant