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
16 changes: 10 additions & 6 deletions .github/workflows/auto-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: Dependabot Auto Manage
on: pull_request
name: Auto-merge Dependabot PR

on:
pull_request:

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: ad/dependabot-auto-approve@d60f853230db2bb07168b39c180c5dd034b63f28
- name: Auto-merge Dependabot PR
uses: frequenz-floss/dependabot-auto-approve@b93b4ae # v1.3.2 + ignore-regex-pr-title
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
dependency-type: 'all'
auto-merge: 'true'
add-label: 'auto-merged'
merge-method: 'merge'
add-label: 'tool:auto-merged'
ignore-regex-pr-title: '.*grpc.*,.*protobuf.*'
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:
show_source: true
show_symbol_type_toc: true
signature_crossrefs: true
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.5/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.6",
"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.23",
"mkdocstrings[python] == 0.30.1",
"mkdocstrings-python == 1.18.2",
"frequenz-repo-config[api] == 0.13.6",
"frequenz-repo-config[api] == 0.14.0",
]
dev-mypy = [
"mypy == 1.18.2",
Expand All @@ -88,15 +88,15 @@ dev-mypy = [
# For checking the noxfile, docs/ script, and tests
"frequenz-api-dispatch[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = ["nox == 2025.10.16", "frequenz-repo-config[api] == 0.13.6"]
dev-noxfile = ["nox == 2025.10.16", "frequenz-repo-config[api] == 0.14.0"]
dev-pylint = [
"pylint == 4.0.2",
# For checking the noxfile, docs/ script, and tests
"frequenz-api-dispatch[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.4.2",
"frequenz-repo-config[extra-lint-examples] == 0.13.6",
"frequenz-repo-config[extra-lint-examples] == 0.14.0",
]
dev = [
"frequenz-api-dispatch[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
Expand Down