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

fix(deps): update all non-major dependencies #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 6, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
JamesIves/github-pages-deploy-action action minor v4.6.4 -> v4.7.3 age adoption passing confidence
mkdocs-material (changelog) minor ==9.5.38 -> ==9.6.5 age adoption passing confidence
mkdocstrings (changelog) minor ==0.26.1 -> ==0.28.2 age adoption passing confidence
pytest (changelog) patch ==8.3.3 -> ==8.3.4 age adoption passing confidence

Release Notes

JamesIves/github-pages-deploy-action (JamesIves/github-pages-deploy-action)

v4.7.3

Compare Source

What's Changed

Build 🔧
Other Changes

Full Changelog: JamesIves/github-pages-deploy-action@v4...v4.7.3

v4.7.2

Compare Source

What's Changed
Bug Fixes 🐝
Build 🔧

Full Changelog: JamesIves/github-pages-deploy-action@v4.7.1...v4.7.2

v4.7.1

Compare Source

What's Changed
Features ✨
New Contributors

Full Changelog: JamesIves/github-pages-deploy-action@v4.6.6...v4.7.1

v4.7.0

Compare Source

What's Changed
Features ✨
Build 🔧
New Contributors

Full Changelog: JamesIves/github-pages-deploy-action@v4.6.6...v4.7.0

v4.6.9

Compare Source

What's Changed

Dependencies 🤖
  • chore(deps): mass bump dependencies
  • chore(deps): switch to using .node-version instead of .nvmrc for Node dependency management.
  • chore(deps): updated node version to 22.11.0 for development

Full Changelog: JamesIves/github-pages-deploy-action@v4...v4.6.9

v4.6.8

Compare Source

What's Changed

Bug Fixes 🐝
  • fix: 🐛 Added the temp deployment directory created by the action to the git safe directory list. This resolves an issue in certain circumstances where the deployment would fail depending on the types of files moved around by the workflow - #​1694.
  • fix: Resolved a rare deployment error where the action would complain that origin/${branch_name} is not a commit and a branch cannot be created from it. The action will continue to attempt to track the origin branch, but if this step fails, it will create a new untracked branch to continue the deployment from. - #​1689.
Testing 🧪
  • test: 🧪 Improved the integration test suite so it now runs immediately post-release to ensure that any issues do no longer in the major version tag (ie @​v4). This was done to combat problems raised by #​1697.

Full Changelog: JamesIves/github-pages-deploy-action@v4...v4.6.8

v4.6.7

Compare Source

What's Changed

Bug Fixes 🐝
  • fix: resolved an issue where main.js was not found in the v4 major tag.

v4.6.6

Compare Source

What's Changed

Bug Fixes 🐝
  • revert: reverts a prior change that unsets safe directories to prevent dubious ownership, this change will be re-visited later.

v4.6.5

Compare Source

What's Changed

What's Changed

Bug Fixes 🐝
  • fix: resolved an issue where the full working directory was not properly getting added to the safe directory list, preventing deployments in certain circumstances.

Full Changelog: JamesIves/github-pages-deploy-action@v4...v4.6.5

squidfunk/mkdocs-material (mkdocs-material)

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

v9.5.48: mkdocs-material-9.5.48

Compare Source

  • Fixed #​7774: Disabling social cards doesn't work

v9.5.47: mkdocs-material-9.5.47

Compare Source

  • Fixed #​7750: Numeric tags break search
  • Fixed #​7748: Blog plugin breaks when using future drafts (9.5.45 regression)

Thanks go to @​perpil for their contributions

v9.5.46: mkdocs-material-9.5.46

Compare Source

  • Added support for removing preload hints in privacy plugin
  • Fixed #​7734: Code blocks in h5 headlines are uppercased
  • Fixed #​7725: Blog plugin crashing on missing timezone (9.5.45 regression)

Thanks go to @​nejch and @​perpil for their contributions

v9.5.45: mkdocs-material-9.5.45

Compare Source

  • Reduced size of Docker image through multi-stage build
  • Fixed #​7708: Blog plugin crashing on YAML dates with timezones

Thanks go to @​FrancoisCapon and @​perpil for their contributions

v9.5.44: mkdocs-material-9.5.44

Compare Source

  • Fixed #​7672: Font CSS 404's when using privacy plugin (9.5.43 regression)

Thanks go to @​nejch for their contributions.

v9.5.43: mkdocs-material-9.5.43

Compare Source

  • Added support for external images in SVGs in privacy plugin
  • Fixed #​7651: Privacy plugin doesn't handle quoted URLs in CSS

Thanks go to @​nejch for their contributions

v9.5.42: mkdocs-material-9.5.42

Compare Source

  • Fixed #​7625: Invalid encoding of boolean attributes in privacy plugin
  • Fixed #​7624: Crash when disabling privacy plugin (9.5.41 regression)

v9.5.41: mkdocs-material-9.5.41

Compare Source

  • Fixed #​7619: Improved tooltip on logo disappears after instant navigation
  • Fixed #​7616: Race condition in built-in privacy plugin when inlining assets
  • Fixed #​7615: Comments and "Was this page helpful?" visible when printing

v9.5.40: mkdocs-material-9.5.40

Compare Source

  • Updated Latvian translations
  • Fixed #​7597: Social cards not using site name on home page

Thanks go to @​pekkaklarck and @​klejejs for their contributions

v9.5.39: mkdocs-material-9.5.39

Compare Source

  • Fixed #​7226: not staying on page when using mike's canonical versioning

Thanks go to @​ilyagr for their contributions

mkdocstrings/mkdocstrings (mkdocstrings)

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

v0.27.0

Compare Source

Compare with 0.26.2

Features
Performance Improvements
  • Reduce footprint of template debug messages (5648e5a by Timothée Mazzucotelli).
Code Refactoring
  • Use %-formatting for logging messages (0bbb8ca by Timothée Mazzucotelli).

v0.26.2

Compare Source

Compare with 0.26.1

Build
  • Drop support for Python 3.8 (f26edeb by Timothée Mazzucotelli).
pytest-dev/pytest (pytest)

v8.3.4

Compare Source

pytest 8.3.4 (2024-12-01)

Bug fixes

  • #​12592: Fixed KeyError{.interpreted-text role="class"} crash when using --import-mode=importlib in a directory layout where a directory contains a child directory with the same name.

  • #​12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the AST, like executing.

  • #​12849: ANSI escape codes for colored output now handled correctly in pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.

  • #​9353: pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.

Improved documentation

  • #​10558: Fix ambiguous docstring of pytest.Config.getoption{.interpreted-text role="func"}.

  • #​10829: Improve documentation on the current handling of the --basetemp option and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}).

  • #​12866: Improved cross-references concerning the recwarn{.interpreted-text role="fixture"} fixture.

  • #​12966: Clarify filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple @pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.

Contributor-facing changes

  • #​12497: Fixed two failing pdb-related tests on Python 3.13.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from rwxd October 6, 2024 19:11
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 3 times, most recently from 6933d8d to d82ae4d Compare October 15, 2024 15:52
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch from d82ae4d to 8f43d9d Compare October 20, 2024 09:42
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 2 times, most recently from 2bfbc42 to 8e13d30 Compare November 5, 2024 19:03
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 2 times, most recently from ab0dc8b to 4938564 Compare November 9, 2024 21:11
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 2 times, most recently from 0285cbd to 1a23d01 Compare November 25, 2024 11:45
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 5 times, most recently from 20a9da3 to abc6a15 Compare December 3, 2024 18:00
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch from abc6a15 to 043c454 Compare December 8, 2024 18:17
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch from 043c454 to 8af5e21 Compare December 16, 2024 13:17
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch from 8af5e21 to 447ed5f Compare January 18, 2025 04:22
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 3 times, most recently from 1025bad to a8831b2 Compare February 3, 2025 18:25
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 3 times, most recently from 51a44f0 to fb62048 Compare February 14, 2025 16:22
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch 2 times, most recently from 3f08102 to 049043b Compare February 20, 2025 02:38
@renovate renovate bot force-pushed the renovate/all-non-major-updates branch from 049043b to c71d3a1 Compare February 24, 2025 16:27
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.

0 participants