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

Bump the optional group with 16 updates #8

Merged
merged 4 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions docs/_scripts/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ def _slugify(text: str) -> str:
Returns:
The slugified text.
"""
# The type of the return value is not defined for the markdown library.
# Also for some reason `mypy` thinks the `toc` module doesn't have a
# `slugify_unicode` function, but it definitely does.
return toc.slugify_unicode(text, "-") # type: ignore[attr-defined,no-any-return]
return toc.slugify_unicode(text, "-")


def _hook_macros_plugin(env: macros.MacrosPlugin) -> None:
Expand Down
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ plugins:
alias_type: redirect
canonical_version: latest
- mkdocstrings:
custom_templates: templates
default_handler: python
handlers:
python:
Expand Down
36 changes: 18 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
requires = [
"setuptools == 68.1.0",
"setuptools_scm[toml] == 7.1.0",
"frequenz-repo-config[lib] == 0.7.5",
"frequenz-repo-config[lib] == 0.8.0",
]
build-backend = "setuptools.build_meta"

Expand Down Expand Up @@ -45,42 +45,42 @@ dev-flake8 = [
"flake8 == 6.1.0",
"flake8-docstrings == 1.7.0",
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
"pydoclint == 0.3.2",
"pydoclint == 0.3.8",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 23.9.1", "isort == 5.12.0"]
dev-formatting = ["black == 23.12.1", "isort == 5.13.2"]
dev-mkdocs = [
"black == 23.9.1",
"Markdown==3.4.4",
"black == 23.12.1",
"Markdown==3.5.1",
"mike == 2.0.0",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.4",
"mkdocs-material == 9.3.1",
"mkdocstrings[python] == 0.23.0",
"frequenz-repo-config[lib] == 0.7.5",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.3",
"mkdocstrings[python] == 0.24.0",
"frequenz-repo-config[lib] == 0.8.0",
]
dev-mypy = [
"mypy == 1.5.1",
"types-Markdown == 3.4.2.10",
"grpc-stubs == 1.24.12", # This dependency introduces breaking changes in patch releases
"mypy == 1.8.0",
"types-Markdown == 3.5.0.3",
"grpc-stubs == 1.53.0.5", # This dependency introduces breaking changes in patch releases
# For checking the noxfile, docs/ script, and tests
"frequenz-client-base[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2023.4.22",
"frequenz-repo-config[lib] == 0.7.5",
"frequenz-repo-config[lib] == 0.8.0",
]
dev-pylint = [
"pylint == 3.0.2",
"pylint == 3.0.3",
# For checking the noxfile, docs/ script, and tests
"frequenz-client-base[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 7.4.2",
"frequenz-repo-config[extra-lint-examples] == 0.7.5",
"pytest-mock == 3.11.1",
"pytest-asyncio == 0.21.1",
"pytest == 7.4.4",
"frequenz-repo-config[extra-lint-examples] == 0.8.0",
"pytest-mock == 3.12.0",
"pytest-asyncio == 0.23.2",
"async-solipsism == 0.5",
]
dev = [
Expand Down
2 changes: 1 addition & 1 deletion src/frequenz/client/base/grpc_streaming_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import typing

import grpc
from grpc.aio import UnaryStreamCall # type: ignore[import]
from grpc.aio import UnaryStreamCall

from frequenz import channels

Expand Down