frequenz-floss / frequenz-api-weather

gRPC+protobuf specification and Python bindings for the Frequenz Weather API
MIT License
0 stars 8 forks source link

Bump the optional group with 9 updates #50

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps the optional group with 9 updates:

Package From To
pydoclint 0.3.1 0.3.8
black 23.7.0 23.11.0
mkdocs-literate-nav 0.6.0 0.6.1
mkdocs-material 9.4.4 9.4.12
mkdocstrings[python] 0.22.0 0.24.0
frequenz-repo-config[api] 0.6.2 0.7.5
mypy 1.5.1 1.7.1
pytest 7.4.0 7.4.3
frequenz-repo-config[extra-lint-examples] 0.6.2 0.7.5

Updates pydoclint from 0.3.1 to 0.3.8

Release notes

Sourced from pydoclint's releases.

0.3.8

What's Changed

Full Changelog: https://github.com/jsh9/pydoclint/compare/0.3.7...0.3.8

0.3.7

What's Changed

  • Improved documentation (04bd2316324e7d4765d646e8d23a3a99a0d0e947)
  • Disable parallel mode in pre-commit by @​jsh9 in jsh9/pydoclint#93

Full Changelog: https://github.com/jsh9/pydoclint/compare/0.3.6...0.3.7

0.3.6

What's Changed

Full Changelog: https://github.com/jsh9/pydoclint/compare/0.3.5...0.3.6

0.3.5

What's Changed

Full Changelog: https://github.com/jsh9/pydoclint/compare/0.3.4...0.3.5

0.3.4

What's Changed

Full Changelog: https://github.com/jsh9/pydoclint/compare/0.3.3...0.3.4

0.3.3

What's Changed

New Contributors

Full Changelog: https://github.com/jsh9/pydoclint/compare/0.3.2...0.3.3

0.3.2

What's Changed

... (truncated)

Changelog

Sourced from pydoclint's changelog.

[0.3.8] - 2023-10-20

[0.3.7] - 2023-10-19

[0.3.6] - 2023-10-18

[0.3.5] - 2023-10-17

[0.3.4] - 2023-10-12

  • Changed

    • Don't check type hints for DOC103

... (truncated)

Commits


Updates black from 23.7.0 to 23.11.0

Release notes

Sourced from black's releases.

23.11.0

Highlights

  • Support formatting ranges of lines with the new --line-ranges command-line option (#4020)

Stable style

  • Fix crash on formatting bytes strings that look like docstrings (#4003)
  • Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
  • Fix standalone comments inside complex blocks crashing Black (#4016)
  • Fix crash on formatting code like await (a ** b) (#3994)
  • No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019)

Preview style

  • Multiline dicts and lists that are the sole argument to a function are now indented less (#3964)
  • Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (#3992)
  • In f-string debug expressions, quote types that are visible in the final string are now preserved (#4005)
  • Fix a bug where long case blocks were not split into multiple lines. Also enable general trailing comma rules on case blocks (#4024)
  • Keep requiring two empty lines between module-level docstring and first function or class definition (#4028)
  • Add support for single-line format skip with other comments on the same line (#3959)

Configuration

  • Consistently apply force exclusion logic before resolving symlinks (#4015)
  • Fix a bug in the matching of absolute path names in --include (#3976)

Performance

  • Fix mypyc builds on arm64 on macOS (#4017)

Integrations

  • Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (#3940)

23.10.1

Highlights

  • Maintanence release to get a fix out for GitHub Action edge case (#3957)

Preview style

... (truncated)

Changelog

Sourced from black's changelog.

23.11.0

Highlights

  • Support formatting ranges of lines with the new --line-ranges command-line option (#4020)

Stable style

  • Fix crash on formatting bytes strings that look like docstrings (#4003)
  • Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
  • Fix standalone comments inside complex blocks crashing Black (#4016)
  • Fix crash on formatting code like await (a ** b) (#3994)
  • No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019)

Preview style

  • Multiline dicts and lists that are the sole argument to a function are now indented less (#3964)
  • Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (#3992)
  • In f-string debug expressions, quote types that are visible in the final string are now preserved (#4005)
  • Fix a bug where long case blocks were not split into multiple lines. Also enable general trailing comma rules on case blocks (#4024)
  • Keep requiring two empty lines between module-level docstring and first function or class definition (#4028)
  • Add support for single-line format skip with other comments on the same line (#3959)

Configuration

  • Consistently apply force exclusion logic before resolving symlinks (#4015)
  • Fix a bug in the matching of absolute path names in --include (#3976)

Performance

  • Fix mypyc builds on arm64 on macOS (#4017)

Integrations

  • Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (#3940)

23.10.1

Highlights

  • Maintenance release to get a fix out for GitHub Action edge case (#3957)

... (truncated)

Commits
  • 2a1c67e Prepare release 23.11.0 (#4032)
  • 72e7a2e Remove redundant condition from has_magic_trailing_comma (#4023)
  • 1a7d9c2 Preserve visible quote types for f-string debug expressions (#4005)
  • f4c7be5 docs: fix minor typo (#4030)
  • 2e4fac9 Apply force exclude logic before symlink resolution (#4015)
  • 66008fd [563] Fix standalone comments inside complex blocks crashing Black (#4016)
  • 50ed622 Fix long case blocks not split into multiple lines (#4024)
  • 46be1f8 Support formatting specified lines (#4020)
  • ecbd9e8 Fix crash with f-string docstrings (#4019)
  • e808e61 Preview: Keep requiring two empty lines between module-level docstring and fi...
  • Additional commits viewable in compare view


Updates mkdocs-literate-nav from 0.6.0 to 0.6.1

Release notes

Sourced from mkdocs-literate-nav's releases.

v0.6.1

Commits


Updates mkdocs-material from 9.4.4 to 9.4.12

Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.4.12

  • Improved blog plugin to generate Unicode-aware slugs by default
  • Fixed non-deterministic order of categories in blog plugin

mkdocs-material-9.4.11

  • Fixed #6364: Search plugin crashing when enabling theme while serving
  • Fixed blog plugin crashing when disabling pagination

mkdocs-material-9.4.10

  • Fixed #6356: Version selector can't be disabled via mike's configuration
  • Fixed #6281: Navigation not rendering due to Safari bug (9.4.2 regression)
  • Fixed #6261: Navigation expansion animates on first load (9.4.2 regression)

mkdocs-material-9.4.9

  • Fixed #6344: Long entries cutoff in table of contents
  • Fixed #6336: Custom template for glob archive not working with pagination
  • Fixed #6328: Blog plugin crashes for locales with dashes, e.g. pt-BR
  • Fixed #6327: Copy-to-clipboard button doesn't trim trailing line feed
  • Fixed #6302: Version strings not matched when using mike, only aliases
  • Fixed instant navigation progress indicator for gzipped content in Chrome
  • Fixed rendering bug on details marker rotation in Firefox

mkdocs-material-9.4.8

  • Fixed invalid local address replacement when using instant loading
  • Fixed #6275: Crash after navigation caused 404 when using instant loading

mkdocs-material-9.4.7

  • Added Azerbaijani translations

mkdocs-material-9.4.6

  • Updated Danish and Norwegian (Nynorsk) translations
  • Fixed #6169: Blog post metadata layout overflows on small screens

mkdocs-material-9.4.5

  • Fixed sidebar auto-positioning (9.4.2 regression)
  • Fixed #6166: Improve group plugin compatibility with Python < 3.10
  • Fixed #6157: Hiding tags does not work (9.4.3 regression)
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.4.12+insiders-4.45.0 (2023-11-24)

  • Added support for sorting blog categories by post count or custom function
  • Improved tags plugin to generate Unicode-aware slugs by default
  • Fixed non-deterministic order of multiple authors in blog plugin

mkdocs-material-9.4.12 (2023-11-24)

  • Improved blog plugin to generate Unicode-aware slugs by default
  • Fixed non-deterministic order of categories in blog plugin

mkdocs-material-9.4.11+insiders-4.44.0 (2023-11-23)

  • Added pagination settings for archive pages in blog plugin
  • Added pagination settings for category pages in blog plugin

mkdocs-material-9.4.11 (2023-11-23)

  • Fixed #6364: Search plugin crashing when enabling theme while serving
  • Fixed blog plugin crashing when disabling pagination

mkdocs-material-9.4.10+insiders-4.43.1 (2023-11-19)

  • Added third-party theme support in projects plugin, improving editing
  • Fixed #6360: Projects plugin crashes when theme is not Material for MkDocs
  • Fixed #6306: Projects plugin not reloading nested project configuration

mkdocs-material-9.4.10 (2023-11-19)

  • Fixed #6356: Version selector can't be disabled via mike's configuration
  • Fixed #6281: Navigation not rendering due to Safari bug (9.4.2 regression)
  • Fixed #6261: Navigation expansion animates on first load (9.4.2 regression)

mkdocs-material-9.4.9 (2023-11-17)

  • Fixed #6344: Long entries cutoff in table of contents
  • Fixed #6336: Custom template for glob archive not working with pagination
  • Fixed #6328: Blog plugin crashes for locales with dashes, e.g. pt-BR
  • Fixed #6327: Copy-to-clipboard button doesn't trim trailing line feed
  • Fixed #6302: Version strings not matched when using mike, only aliases
  • Fixed instant navigation progress indicator for gzipped content in Chrome
  • Fixed rendering bug on details marker rotation in Firefox

mkdocs-material-9.4.8+insiders-4.43.0 (2023-11-05)

  • Added support for GitLab committers (document contributors)
  • Fixed #6264: Fixed compatibility with Python < 3.10
  • Fixed #6254: Meta plugin not applying meta files to blog posts

mkdocs-material-9.4.8 (2023-11-05)

... (truncated)

Commits
  • bf6e66b Prepare 9.4.12 release
  • 772e159 Switched tags plugin to generate Unicode-aware slugs
  • 058b32f Fixed non-deterministic order of categories in blog plugin
  • d43626a Switched blog plugin to generate Unicode-aware slugs
  • ae364f8 Documentation
  • 3804998 Documentation
  • c97133e Updated Insiders changelog
  • 909f2d5 Enabled chatbot
  • 697116f Prepare 9.4.11 release
  • 8053524 Prepare 9.4.11 release
  • Additional commits viewable in compare view


Updates mkdocstrings[python] from 0.22.0 to 0.24.0

Release notes

Sourced from mkdocstrings[python]'s releases.

0.24.0

0.24.0 - 2023-11-14

Compare with 0.23.0

Features

Bug Fixes

Code Refactoring

0.23.0

0.23.0 - 2023-08-28

Compare with 0.22.0

Breaking Changes

  • Removed BaseCollector and BaseRenderer classes: they were merged into the BaseHandler class.
  • Removed the watch feature, as MkDocs now provides it natively.
  • Removed support for selection and rendering keys in YAML blocks: use options instead.
  • Removed support for loading handlers from the mkdocstrings.handler namespace. Handlers must now be packaged under the mkdocstrings_handlers namespace.

Features

  • Register all anchors for each object in the inventory (228fb73 by Timothée Mazzucotelli).

Bug Fixes

  • Don't add codehilite CSS class to inline code (7690d41 by Timothée Mazzucotelli).
  • Support cross-references for API docs rendered in top-level index page (b194452 by Timothée Mazzucotelli).

Code Refactoring

  • Sort inventories before writing them to disk (9371e9f by Timothée Mazzucotelli).
  • Stop accepting sets as return value of get_anchors (only tuples), to preserve order (2e10374 by Timothée Mazzucotelli).
  • Remove deprecated parts (0a90a47 by Timothée Mazzucotelli).
  • Use proper parameters in Inventory.register method (433c6e0 by Timothée Mazzucotelli).
Changelog

Sourced from mkdocstrings[python]'s changelog.

0.24.0 - 2023-11-14

Compare with 0.23.0

Features

Bug Fixes

Code Refactoring

0.23.0 - 2023-08-28

Compare with 0.22.0

Breaking Changes

  • Removed BaseCollector and BaseRenderer classes: they were merged into the BaseHandler class.
  • Removed the watch feature, as MkDocs now provides it natively.
  • Removed support for selection and rendering keys in YAML blocks: use options instead.
  • Removed support for loading handlers from the mkdocstrings.handler namespace. Handlers must now be packaged under the mkdocstrings_handlers namespace.

Features

  • Register all anchors for each object in the inventory (228fb73 by Timothée Mazzucotelli).

Bug Fixes

  • Don't add codehilite CSS class to inline code (7690d41 by Timothée Mazzucotelli).
  • Support cross-references for API docs rendered in top-level index page (b194452 by Timothée Mazzucotelli).

Code Refactoring

  • Sort inventories before writing them to disk (9371e9f by Timothée Mazzucotelli).
  • Stop accepting sets as return value of get_anchors (only tuples), to preserve order (2e10374 by Timothée Mazzucotelli).
  • Remove deprecated parts (0a90a47 by Timothée Mazzucotelli).
  • Use proper parameters in Inventory.register method (433c6e0 by Timothée Mazzucotelli).
Commits
  • 032e417 chore: Prepare release 0.24.0
  • ce84dd5 feat: Cache downloaded inventories as local file
  • 4a97755 docs: Make recipe work with MkDocs -f option
  • b3edf89 ci: Some typing fixes/ignore
  • d74fada tests: Stop passing config file path to MkDocsConfig
  • 4dbb6d6 ci: Ruff auto-fix
  • 39694ac chore: Template upgrade
  • afc4ea4 fix: custom_templates config was dropped in previous commit (#630)
  • b61d4d1 refactor: Drop support for MkDocs < 1.4, modernize usages
  • 370a61d fix: Make custom_templates relative to the config file
  • Additional commits viewable in compare view


Updates frequenz-repo-config[api] from 0.6.2 to 0.7.5

Release notes

Sourced from frequenz-repo-config[api]'s releases.

v0.7.5

Frequenz Repository Configuration Release Notes

Summary

This release upgrades mike to 2.0.0.

Upgrading

Cookiecutter template

There is no need to re-generate the cookiecutter template for this release. Instead you can upgrade the mike package in your pyproject.toml file and add the new alias_type: redirect option to the plugins.mike key in the mkdocs.yml file.

You should be able to do this by running the following commands:

sed -i '/canonical_version: latest/ i\      alias_type: redirect' mkdocs.yml
sed -i 's/  "mike == .*",/  "mike == 2.0.0",/' pyproject.toml

Please make sure to check the diff and test if everything works as expected. After doing a git diff you should get something like:

diff --git a/mkdocs.yml b/mkdocs.yml
index 3d0f82e..6adfbe8 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -93,6 +93,7 @@ plugins:
   - literate-nav:
       nav_file: SUMMARY.md
   - mike:
+      alias_type: redirect
       canonical_version: latest
   - mkdocstrings:
       custom_templates: templates
diff --git a/pyproject.toml b/pyproject.toml
index 9a1604b..b183524 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -47,7 +47,7 @@ dev-formatting = ["black == 23.10.1", "isort == 5.12.0"]
 dev-mkdocs = [
   "black == 23.10.1",
   "Markdown==3.5.1",
-  "mike == 1.1.2",
+  "mike == 2.0.0",
   "mkdocs-gen-files == 0.5.0",
   "mkdocs-literate-nav == 0.6.1",
   "mkdocs-material == 9.4.7",

... (truncated)

Commits
  • 7e74141 Add support and bump to mike 2.0.0 (#174)
  • b9e2d84 Don't fail if the mike version can't be determined
  • 50980d6 Upgrade mike to 2.0.0
  • 86012aa Clear release notes
  • 8bf6c38 Fix mike version sorting (#171)
  • 0ee52d5 Update release notes
  • be6df37 Add tests for compare_mike_version() and sort_mike_versions()
  • 6d8b449 Use a more explicit name for the _TestCase class
  • 60e05f6 Don't parse mike versions while sorting
  • 02de9fe mike: Remove unused function
  • Additional commits viewable in compare view


Updates mypy from 1.5.1 to 1.7.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Stubgen will now include __all__ in its output if it is in the input file (PR 16356).

Mypy 1.7

We’ve just uploaded mypy 1.7 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Using TypedDict for **kwargs Typing

Mypy now has support for using Unpack[...] with a TypedDict type to annotate **kwargs arguments enabled by default. Example:

# Or 'from typing_extensions import ...'
from typing import TypedDict, Unpack

class Person(TypedDict): name: str age: int

def foo(**kwargs: Unpack[Person]) -> None: ...

foo(name="x", age=1) # Ok foo(name=1) # Error

The definition of foo above is equivalent to the one below, with keyword-only arguments name and age:

def foo(*, name: str, age: int) -> None:
    ...

Refer to PEP 692 for more information. Note that unlike in the current version of the PEP, mypy always treats signatures with Unpack[SomeTypedDict] as equivalent to their expanded forms with explicit keyword arguments, and there aren't special type checking rules for TypedDict arguments.

This was contributed by Ivan Levkivskyi back in 2022 (PR 13471).

TypeVarTuple Support Enabled (Experimental)

Mypy now has support for variadic generics (TypeVarTuple) enabled by default, as an experimental feature. Refer to PEP 646 for the details.

TypeVarTuple was implemented by Jared Hance and Ivan Levkivskyi over several mypy releases, with help from Jukka Lehtosalo.

... (truncated)

Commits


Updates pytest from 7.4.0 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.stderr might already be closed when :ref:faulthandler is tearing down.

pytest 7.4.2 (2023-09-07)

Bug Fixes

  • #11237: Fix doctest collection of functools.cached_property objects.

  • #11306: Fixed bug using --importmode=importlib which would cause package __init__.py files to be imported more than once in some cases.

  • #11367: Fixed bug where user_properties where 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=importlib would not include the child modules as attributes of the parent modules.

  • #10702: Fixed error assertion handling in pytest.approx when None is an expected or received value when comparing dictionaries.

  • #10811: Fixed issue when using --import-mode=importlib together with --doctest-modules that caused modules to be imported more than once, causing problems with modules that have import side effects.

Commits
  • 2390610 Tweak changelog.rst
  • a0714aa Prepare release version 7.4.3
  • 44ad1c9 [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)
  • f8bb857 Force terminal width when running tests (#11425) (#11432)
  • 1944dc0 [7.4.x] Fix --import-mode=importlib when root contains __init__.py file (#1...
  • 946634c Merge pull request #11419 from nicoddemus/backport-11414-to-7.4.x
  • d849a3e [7.4.x] fix: closes #11343's [attr-defined] type errors (#11421)
  • Additional commits viewable in compare view


Updates frequenz-repo-config[extra-lint-examples] from 0.6.2 to 0.7.5

Release notes

Sourced from frequenz-repo-config[extra-lint-examples]'s releases.

v0.7.5

Frequenz Repository Configuration Release Notes

Summary

This release upgrades mike to 2.0.0.

Upgrading

Cookiecutter template

There is no need to re-generate the cookiecutter template for this release. Instead you can upgrade the mike package in your pyproject.toml file and add the new alias_type: redirect option to the plugins.mike key in the mkdocs.yml file.

You should be able to do this by running the following commands:

sed -i '/canonical_version: latest/ i\      alias_type: redirect' mkdocs.yml
sed -i 's/  "mike == .*",/  "mike == 2.0.0",/' pyproject.toml

Please make sure to check the diff and test if everything works as expected. After doing a git diff you should get something like:

diff --git a/mkdocs.yml b/mkdocs.yml
index 3d0f82e..6adfbe8 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -93,6 +93,7 @@ plugins:
   - literate-nav:
       nav_file: SUMMARY.md
   - mike:
+      alias_type: redirect
       canonical_version: latest
   - mkdocstrings:
       custom_templates: templates
diff --git a/pyproject.toml b/pyproject.toml
index 9a1604b..b183524 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -47,7 +47,7 @@ dev-formatting = ["black == 23.10.1", "isort == 5.12.0"]
 dev-mkdocs = [
   "black == 23.10.1",
   "Markdown==3.5.1",
-  "mike == 1.1.2",
+  "mike == 2.0.0",
   "mkdocs-gen-files == 0.5.0",
   "mkdocs-literate-nav == 0.6.1",
   "mkdocs-material == 9.4.7",

... (truncated)

Commits
  • 7e74141 Add support and bump to mike 2.0.0 (#174)
  • b9e2d84 Don't fail if the mike version can't be determined
  • 50980d6 Upgrade mike to 2.0.0
  • 86012aa Clear release notes
  • 8bf6c38 Fix mike version sorting (#171)
  • 0ee52d5 Update release notes
  • be6df37 Add tests for compare_mike_version() and sort_mike_versions()
  • 6d8b449 Use a more explicit name for the _TestCase class
  • 60e05f6 Don't parse mike versions while sorting
  • 02de9fe mike: Remove unused function
  • 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 10 months ago

Superseded by #51.