Skip to content
Open
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
22 changes: 22 additions & 0 deletions .github/workflows/auto-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Auto-merge Dependabot PR

on:
pull_request:

permissions:
contents: write
pull-requests: write

jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Auto-merge Dependabot PR
uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
dependency-type: 'all'
auto-merge: 'true'
merge-method: 'merge'
add-label: 'tool:auto-merged'
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ plugins:
default_handler: python
handlers:
python:
paths: ["py"]
options:
paths: ["py"]
docstring_section_style: spacy
merge_init_into_class: false
show_category_heading: true
show_root_heading: true
show_root_members_full_path: true
show_source: true
import:
inventories:
# See https://mkdocstrings.github.io/python/usage/#import for details
- https://docs.python.org/3/objects.inv
- https://grpc.github.io/grpc/python/objects.inv
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
requires = [
"setuptools == 80.9.0",
"setuptools_scm[toml] == 9.2.2",
"frequenz-repo-config[api] == 0.13.5",
"frequenz-repo-config[api] == 0.14.0",
# We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
# sure the code is generated using the minimum supported versions, as older
# versions can't work with code that was generated with newer versions.
# https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards
"protobuf == 6.31.1",
"protobuf == 6.32.1",
"grpcio-tools == 1.72.1",
"grpcio == 1.72.1",
]
Expand All @@ -36,7 +36,7 @@ dependencies = [
# We can't widen beyond the current value unless we bump the minimum
# requirements too because of protobuf cross-version runtime guarantees:
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
"protobuf >= 6.31.1, < 8", # Do not widen beyond 8!
"protobuf >= 6.32.1, < 8", # Do not widen beyond 8!
# We couldn't find any document with a spec about the cross-version runtime
# guarantee for grpcio, so unless we find one in the future, we'll assume
# major version jumps are not compatible
Expand All @@ -63,23 +63,23 @@ dev-mkdocs = [
"mkdocs-literate-nav == 0.6.2",
"mkdocs-material == 9.6.21",
"mkdocstrings[python] == 0.30.1",
"frequenz-repo-config[api] == 0.13.5",
"frequenz-repo-config[api] == 0.14.0",
]
dev-mypy = [
"mypy == 1.18.2",
"grpc-stubs == 1.53.0.6",
# For checking the noxfile, docs/ script, and tests
"frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = ["nox == 2025.10.16", "frequenz-repo-config[api] == 0.13.5"]
dev-noxfile = ["nox == 2025.10.16", "frequenz-repo-config[api] == 0.14.0"]
dev-pylint = [
"pylint == 3.3.8",
# For checking the noxfile, docs/ script, and tests
"frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.4.2",
"frequenz-repo-config[extra-lint-examples] == 0.13.5",
"frequenz-repo-config[extra-lint-examples] == 0.14.0",
]
dev = [
"frequenz-api-common[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
Expand Down