Skip to content
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
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'
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ plugins:
signature_crossrefs: true
docstring_options:
warn_missing_types: false
import:
inventories:
# See https://mkdocstrings.github.io/python/usage/#import for details
- https://docs.python.org/3/objects.inv
- https://frequenz-floss.github.io/frequenz-api-common/v0.6/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.8",
"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 Down Expand Up @@ -48,7 +48,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 Down Expand Up @@ -79,7 +79,7 @@ dev-mkdocs = [
"mkdocs-material == 9.6.21",
"mkdocstrings[python] == 0.30.1",
"mkdocstrings-python == 1.18.2",
"frequenz-repo-config[api] == 0.13.8",
"frequenz-repo-config[api] == 0.14.0",
]
dev-mypy = [
"mypy == 1.18.2",
Expand All @@ -88,7 +88,7 @@ dev-mypy = [
# For checking the noxfile, docs/ script, and tests
"frequenz-api-reporting[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = ["nox == 2025.10.16", "frequenz-repo-config[api] == 0.13.8"]
dev-noxfile = ["nox == 2025.10.16", "frequenz-repo-config[api] == 0.14.0"]
dev-pylint = [
# dev-pytest already defines a dependency to pylint because of the examples
# For checking the noxfile, docs/ script, and tests
Expand All @@ -97,7 +97,7 @@ dev-pylint = [
dev-pytest = [
"pytest == 8.4.2",
"pylint == 3.3.8", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.13.8",
"frequenz-repo-config[extra-lint-examples] == 0.14.0",
]
dev = [
"frequenz-api-reporting[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
Expand Down