Skip to content

OPT: Update all non-major dependencies ⬆️ #160

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mkdocs-autorefs (changelog) 1.2.0 -> 1.4.1 age adoption passing confidence
mkdocs-git-committers-plugin-2 2.4.1 -> 2.5.0 age adoption passing confidence
mkdocs-git-revision-date-localized-plugin 1.3.0 -> 1.4.5 age adoption passing confidence
mkdocs-material (changelog) 9.5.48 -> 9.6.12 age adoption passing confidence
mkdocstrings (changelog) 0.27.0 -> 0.29.1 age adoption passing confidence
mypy (changelog) 1.13.0 -> 1.15.0 age adoption passing confidence
pillow (changelog) 11.0.0 -> 11.2.1 age adoption passing confidence
pytest (changelog) 8.3.4 -> 8.3.5 age adoption passing confidence
pytest-asyncio (changelog) 0.24.0 -> 0.26.0 age adoption passing confidence
pytest-recording (changelog) 0.13.2 -> 0.13.4 age adoption passing confidence
ruff (source, changelog) 0.8.2 -> 0.11.8 age adoption passing confidence

Release Notes

mkdocstrings/autorefs (mkdocs-autorefs)

v1.4.1

Compare Source

Compare with 1.4.0

Code Refactoring
  • Store parent pages and parent sections in backlink breadcrumbs (67955ce by Timothée Mazzucotelli).
  • Ignore Markdown anchors when setting backlink metadata on autorefs (3ac4797 by Timothée Mazzucotelli).
  • Handle absence of # when computing relative URLs (ca6461e by Timothée Mazzucotelli).

v1.4.0

Compare Source

Compare with 1.3.1

Features
Code Refactoring
  • Move code to internal folder, expose public API in top-level module, document all public objects (9615d13 by Timothée Mazzucotelli).
  • Store actual page instance instead of URL in plugin's current_page attribute (8023588 and 2009f85 by Timothée Mazzucotelli).
  • Use the on_env hook to fix cross-references (70fec3e by Timothée Mazzucotelli). Discussion-mkdocs-3917
  • Record heading titles alongside URLs (791782e by Timothée Mazzucotelli). Issue-33

v1.3.1

Compare Source

Compare with 1.3.0

Bug Fixes
  • Always resolve secondary URLs to closest (don't log warnings) (243ad35 by Timothée Mazzucotelli). Issue-52

v1.3.0

Compare Source

Compare with 1.2.0

Build
  • Drop support for Python 3.8 (ee3eaad by Timothée Mazzucotelli).
Features
Bug Fixes
  • Fallback to slugified title as id for non-exact, non-code references ([Hello World][] -> [hello-world][]) (13428f1 by Timothée Mazzucotelli). Issue-58
Code Refactoring
  • Deprecate fallback mechanism (5e89cd8 by Timothée Mazzucotelli). Issue-61
  • Log a debug message for unresolved optional references (9e990d7 by Timothée Mazzucotelli).
ojacques/mkdocs-git-committers-plugin-2 (mkdocs-git-committers-plugin-2)

v2.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: ojacques/mkdocs-git-committers-plugin-2@2.4.1...2.5.0

timvink/mkdocs-git-revision-date-localized-plugin (mkdocs-git-revision-date-localized-plugin)

v1.4.5: revision-date-localized v1.4.5

Compare Source

What's Changed

New Contributors

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.4.4...v1.4.5

v1.4.4

Compare Source

What's Changed

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.4.3...v1.4.4

v1.4.2

Compare Source

v1.4.1: revision-date-localized v1.4.1

Compare Source

What's Changed

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.4.0...v1.4.1

v1.4.0: revision-date-localized v1.4.0

Compare Source

What's Changed

New features
Enhancements
Documentation

New Contributors

Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.3.0...v1.4.0

squidfunk/mkdocs-material (mkdocs-material)

v9.6.12: mkdocs-material-9.6.12

Compare Source

  • Fixed #​8158: Flip footnote back reference icon for right-to-left languages

v9.6.11: mkdocs-material-9.6.11

Compare Source

  • Updated Docker image to latest Alpine Linux
  • Bump required Jinja version to 3.1
  • Fixed #​8133: Jinja filter items not available (9.6.10 regression)
  • Fixed #​8128: Search plugin not entirely disabled via enabled setting

v9.6.10: mkdocs-material-9.6.10

Compare Source

This version is a pure refactoring release, and does not contain new features or bug fixes. It strives to improve the compatibility of our templates with alternative Jinja-like template engines that we're currently exploring, including minijinja.

Additionally, it replaces several instances of Python function invocations with idiomatic use of template filters. All instances where variables have been mutated inside templates have been replaced. Most changes have been made in partials, and only a few in blocks, and all of them are fully backward compatible, so no changes to overrides are necessary.

Note that this release does not replace the Jinja template engine with minijinja. However, our templates are now 99% compatible with minijinja, which means we can explore alternative Jinja-compatible implementations. Additionally, immutability and removal of almost all Python function invocations means much more idiomatic templating.

v9.6.9: mkdocs-material-9.6.9

Compare Source

  • Updated Serbo-Croatian translations
  • Fixed #​8086: Custom SVG icons containing hashes break rendering
  • Fixed #​8067: Drawer has gap on right side in Firefox on some OSs

v9.6.8: mkdocs-material-9.6.8

Compare Source

  • Added Welsh translations
  • Fixed #​8076: Privacy plugin crashes if HTTP download fails

v9.6.7: mkdocs-material-9.6.7

Compare Source

  • Fixed #​8056: Error in backrefs implementation (9.6.6 regression)
  • Fixed #​8054: Unescaped quotes in ARIA labels of table of contents

v9.6.6: mkdocs-material-9.6.6

Compare Source

  • Fixed #​8040: Privacy plugin not replacing exteral assets (9.6.5 regression)
  • Fixed #​8031: Replace unmaintained regex package in search plugin

v9.6.5: mkdocs-material-9.6.5

Compare Source

  • Fixed #​8016: Tags listing not showing when when file name has spaces
  • Fixed #​8012: Privacy plugin crashes if HTTP download fails

v9.6.4: mkdocs-material-9.6.4

Compare Source

  • Fixed #​7985: Blog content sometimes not stretching to full width
  • Fixed #​7978: Navigation rendering bug in Safari 18.3

v9.6.3: mkdocs-material-9.6.3

Compare Source

  • Fixed rendering of arrow heads in Mermaid.js class diagrams
  • Fixed #​7960: Tags plugin crashes on numeric metadata titles

v9.6.2: mkdocs-material-9.6.2

Compare Source

  • Fixed #​7955: Excessively long words don't break on narrow screens
  • Fixed #​7947: Scope setting interferes with outdated version banner

v9.6.1: mkdocs-material-9.6.1

Compare Source

  • Fixed #​7943: Tags plugin crashing due to merge error

v9.6.0: mkdocs-material-9.6.0

Compare Source

  • Added meta plugin
  • Rewrite of the tags plugin
  • Added support for allow lists in tags plugin
  • Added support for and custom sorting in tags plugin
  • Added support for related links in blog plugin
  • Added support for custom index pages in blog plugin
  • Added support for navigation subtitles
  • Fixed #​7924: Anchors might require two clicks when using instant navigation

v9.5.50: mkdocs-material-9.5.50

Compare Source

  • Fixed #​7913: Social plugin renders attribute lists in page title

v9.5.49: mkdocs-material-9.5.49

Compare Source

  • Adjusted title color in dark mode for all supported Mermaid.js diagrams
  • Fixed #​7803: Privacy plugin crashes on generated files
  • Fixed #​7781: Mermaid.js flow chart title not visible in dark mode
mkdocstrings/mkdocstrings (mkdocstrings)

v0.29.1

Compare Source

Compare with 0.29.0

Dependencies
  • Remove unused typing-extensions dependency (ba98661 by Timothée Mazzucotelli).
Bug Fixes
  • Ignore invalid inventory lines (81caff5 by Josh Mitchell). PR-748
Code Refactoring
  • Rename loggers to "mkdocstrings" (1a98040 by Timothée Mazzucotelli).

v0.29.0

Compare Source

Compare with 0.28.3

This is the last version before v1!

Build
  • Depend on MkDocs 1.6 (11bc400 by Timothée Mazzucotelli).
Features
Code Refactoring
  • Save and forward titles to autorefs (f49fb29 by Timothée Mazzucotelli).
  • Use a combined event (each split with a different priority) for on_env (8d1dd75 by Timothée Mazzucotelli).

v0.28.3

Compare Source

Compare with 0.28.2

Deprecations

All public objects must now be imported from the top-level mkdocstrings module. Importing from submodules is deprecated, and will raise errors starting with v1. This should be the last deprecation before v1.

Build
  • Make python extra depend on latest mkdocstrings-python (1.16.2) (ba9003e by Timothée Mazzucotelli).
Code Refactoring
  • Finish exposing/hiding public/internal objects (0723fc2 by Timothée Mazzucotelli).
  • Re-expose public API in the top-level mkdocstrings module (e66e080 by Timothée Mazzucotelli).
  • Move modules to internal folder (23fe23f by Timothée Mazzucotelli).

v0.28.2

Compare Source

Compare with 0.28.1

Build
  • Depend on mkdocs-autorefs >= 1.4 (2c22bdc by Timothée Mazzucotelli).

v0.28.1

Compare Source

Compare with 0.28.0

Bug Fixes

v0.28.0

Compare Source

Compare with 0.27.0

Breaking Changes

Although the following changes are "breaking" in terms of public API, we didn't find any public use of these classes and methods on GitHub.

  • mkdocstrings.extension.AutoDocProcessor.__init__(parser): Parameter was removed
  • mkdocstrings.extension.AutoDocProcessor.__init__(md): Positional parameter was moved
  • mkdocstrings.extension.AutoDocProcessor.__init__(config): Parameter was removed
  • mkdocstrings.extension.AutoDocProcessor.__init__(handlers): Parameter kind was changed: positional or keyword -> keyword-only
  • mkdocstrings.extension.AutoDocProcessor.__init__(autorefs): Parameter kind was changed: positional or keyword -> keyword-only
  • mkdocstrings.extension.MkdocstringsExtension.__init__(config): Parameter was removed
  • mkdocstrings.extension.MkdocstringsExtension.__init__(handlers): Positional parameter was moved
  • mkdocstrings.extension.MkdocstringsExtension.__init__(autorefs): Positional parameter was moved
  • mkdocstrings.handlers.base.Handlers.__init__(config): Parameter was removed
  • mkdocstrings.handlers.base.Handlers.__init__(theme): Parameter was added as required
  • mkdocstrings.handlers.base.Handlers.__init__(default): Parameter was added as required
  • mkdocstrings.handlers.base.Handlers.__init__(inventory_project): Parameter was added as required
  • mkdocstrings.handlers.base.Handlers.__init__(tool_config): Parameter was added as required

Similarly, the following parameters were renamed, but the methods are only called from our own code, using positional arguments.

  • mkdocstrings.handlers.base.BaseHandler.collect(config): Parameter was renamed options
  • mkdocstrings.handlers.base.BaseHandler.render(config): Parameter was renamed options

Finally, the following method was removed, but this is again taken into account in our own code:

  • mkdocstrings.handlers.base.BaseHandler.get_anchors: Public object was removed

For these reasons, and because we're still in v0, we do not bump to v1 yet. See following deprecations.

Deprecations

mkdocstrings 0.28 will start emitting these deprecations warnings:

The handler argument is deprecated. The handler name must be specified as a class attribute.

Previously, the get_handler function would pass a handler (name) argument to the handler constructor. This name must now be set on the handler's class directly.

class MyHandler:
    name = "myhandler"

The domain attribute must be specified as a class attribute.

The domain class attribute on handlers is now mandatory and cannot be an empty string.

class MyHandler:
    domain = "mh"

The theme argument must be passed as a keyword argument.

This argument could previously be passed as a positional argument (from the get_handler function), and must now be passed as a keyword argument.

The custom_templates argument must be passed as a keyword argument.

Same as for theme, but with custom_templates.

The mdx argument must be provided (as a keyword argument).

The get_handler function now receives a mdx argument, which it must forward to the handler constructor and then to the base handler, either explicitly or through **kwargs:

=== "Explicitly"

```python
def get_handler(..., mdx, ...):
    return MyHandler(..., mdx=mdx, ...)

class MyHandler:
    def __init__(self, ..., mdx, ...):
        super().__init__(..., mdx=mdx, ...)
```

=== "Through **kwargs"

```python
def get_handler(..., **kwargs):
    return MyHandler(..., **kwargs)

class MyHandler:
    def __init__(self, ..., **kwargs):
        super().__init__(**kwargs)
```

In the meantime we still retrieve this mdx value at a different moment, by reading it from the MkDocs configuration.

The mdx_config argument must be provided (as a keyword argument).

Same as for mdx, but with mdx_config.

mkdocstrings v1 will stop handling 'import' in handlers configuration. Instead your handler must define a get_inventory_urls method that returns a list of URLs to download.

Previously, mkdocstrings would pop the import key from a handler's configuration to download each item (URLs). Items could be strings, or dictionaries with a url key. Now mkdocstrings gives back control to handlers, which must store this inventory configuration within them, and expose it again through a get_inventory_urls method. This method returns a list of tuples: an URL, and a dictionary of options that will be passed again to their load_inventory method. Handlers have now full control over the "inventory" setting.

from copy import deepcopy

def get_handler(..., handler_config, ...):
    return MyHandler(..., config=handler_config, ...)

class MyHandler:
    def __init__(self, ..., config, ...):
        self.config = config

    def get_inventory_urls(self):
        config = deepcopy(self.config["import"])
        return [(inv, {}) if isinstance(inv, str) else (inv.pop("url"), inv) for inv in config]

Changing the name of the key (for example from import to inventories) involves a change in user configuration, and both keys will have to be supported by your handler for some time.

def get_handler(..., handler_config, ...):
    if "inventories" not in handler_config and "import" in handler_config:
        warn("The 'import' key is renamed 'inventories'", FutureWarning)
        handler_config["inventories"] = handler_config.pop("import")
    return MyHandler(..., config=handler_config, ...)

Setting a fallback anchor function is deprecated and will be removed in a future release.

This comes from mkdocstrings and mkdocs-autorefs, and will disappear with mkdocstrings v0.28.

mkdocstrings v1 will start using your handler's get_options method to build options instead of merging the global and local options (dictionaries).

Handlers must now store their own global options (in an instance attribute), and implement a get_options method that receives local_options (a dict) and returns combined options (dict or custom object). These combined options are then passed to collect and render, so that these methods can use them right away.

def get_handler(..., handler_config, ...):
    return MyHandler(..., config=handler_config, ...)

class MyHandler:
    def __init__(self, ..., config, ...):
        self.config = config

    def get_options(local_options):
        return {**self.default_options, **self.config["options"], **local_options}

The update_env(md) parameter is deprecated. Use self.md instead.

Handlers can remove the md parameter from their update_env method implementation, and use self.md instead, if they need it.

No need to call super().update_env() anymore.

Handlers don't have to call the parent update_env method from their own implementation anymore, and can just drop the call.

The get_anchors method is deprecated. Declare a get_aliases method instead, accepting a string (identifier) instead of a collected object.

Previously, handlers would implement a get_anchors method that received a data object (typed CollectorItem) to return aliases for this object. This forced mkdocstrings to collect this object through the handler's collect method, which then required some logic with "fallback config" as to prevent unwanted collection. mkdocstrings gives back control to handlers and now calls get_aliases instead, which accepts an identifier (string) and lets the handler decide how to return aliases for this identifier. For example, it can replicate previous behavior by calling its own collect method with its own "fallback config", or do something different (cache lookup, etc.).

class MyHandler:
    def get_aliases(identifier):
        try:
            obj = self.collect(identifier, self.fallback_config)

### or obj = self._objects_cache[identifier]
        except CollectionError:  # or KeyError
            return ()
        return ...  # previous logic in `get_anchors`

The config_file_path argument in get_handler functions is deprecated. Use tool_config.get('config_file_path') instead.

The config_file_path argument is now deprecated and only passed to get_handler functions if they accept it. If you used it to compute a "base directory", you can now use the tool_config argument instead, which is the configuration of the SSG tool in use (here MkDocs):

base_dir = Path(tool_config.config_file_path or "./mkdocs.yml").parent

Most of these warnings will disappear with the next version of mkdocstrings-python.

Bug Fixes
  • Update handlers in JSON schema to be an object instead of an array (3cf7d51 by Matthew Messinger). Issue-733, PR-734
  • Fix broken table of contents when nesting autodoc instructions (12c8f82 by Timothée Mazzucotelli). Issue-348
Code Refactoring
  • Pass config_file_path to get_handler if it expects it (8c476ee by Timothée Mazzucotelli).
  • Give back inventory control to handlers (b84653f by Timothée Mazzucotelli). Related-to-issue-719
  • Give back control to handlers on how they want to handle global/local options (c00de7a by Timothée Mazzucotelli). Issue-719
  • Deprecate base handler's get_anchors method in favor of get_aliases method (7a668f0 by Timothée Mazzucotelli).
  • Register all identifiers of rendered objects into autorefs (434d8c7 by Timothée Mazzucotelli).
  • Use mkdocs-get-deps' download utility to remove duplicated code (bb87cd8 by Timothée Mazzucotelli).
  • Clean up data passed down from plugin to extension and handlers (b8e8703 by Timothée Mazzucotelli). PR-726
python/mypy (mypy)

v1.15.0

Compare Source

v1.14.1

Compare Source

v1.14.0

Compare Source

python-pillow/Pillow (pillow)

v11.2.1

Compare Source

https://pillow.readthedocs.io/en/stable/releasenotes/11.2.1.html

Deprecations

Documentation

Dependencies

Testing


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from eigenein as a code owner January 1, 2025 00:56
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 1, 2025
Copy link

codecov bot commented Jan 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.89%. Comparing base (621f313) to head (90fe394).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #160   +/-   ##
=======================================
  Coverage   92.89%   92.89%           
=======================================
  Files          33       33           
  Lines         887      887           
  Branches       47       47           
=======================================
  Hits          824      824           
  Misses         46       46           
  Partials       17       17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 3d9085f to 46b01ee Compare January 8, 2025 14:31
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from c126b4a to bead5cd Compare January 16, 2025 13:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 5440c8a to 06ecb7f Compare January 23, 2025 23:09
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 2ce107f to 9599b95 Compare February 3, 2025 17:04
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 84817f0 to 61c0ec3 Compare February 11, 2025 17:16
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 803557f to d260fb4 Compare February 14, 2025 18:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from bb21da9 to dedfb4c Compare February 24, 2025 20:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from dedfb4c to 1ef0c8a Compare February 27, 2025 16:39
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from d361044 to 46ca934 Compare March 14, 2025 14:28
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 19a7f7d to 4141bd7 Compare March 21, 2025 15:41
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 33d6e3e to e5f9799 Compare March 31, 2025 10:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 12c0f0e to 605d6af Compare April 4, 2025 22:03
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 4c4f583 to f27c634 Compare April 17, 2025 16:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from df3a1fb to ae0ec6d Compare May 1, 2025 15:23
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ae0ec6d to 90fe394 Compare May 8, 2025 12:36
@eigenein eigenein merged commit ec461b2 into main May 8, 2025
9 checks passed
@eigenein eigenein deleted the renovate/all-minor-patch branch May 8, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant