Skip to content

Commit a35590f

Browse files
chore(deps-dev): bump frequenz-repo-config[extra-lint-examples] from 0.13.8 to 0.14.0 (#237)
Bumps [frequenz-repo-config[extra-lint-examples]](https://github.com/frequenz-floss/frequenz-repo-config-python) from 0.13.8 to 0.14.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-repo-config-python/releases">frequenz-repo-config[extra-lint-examples]'s releases</a>.</em></p> <blockquote> <h2>v0.14.0</h2> <h1>Frequenz Repository Configuration Release Notes</h1> <h2>Summary</h2> <p>This release adds a new workflow for Dependabot auto-merge and updates mkdocstrings to v2.</p> <h2>Upgrading</h2> <h3>Cookiecutter template</h3> <p>All upgrading should be done via the migration script or regenerating the templates.</p> <pre lang="bash"><code>curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.14.0/cookiecutter/migrate.py | python3 </code></pre> <p>But you might still need to adapt your code, just have a look at the script output for further instructions.</p> <h2>New Features</h2> <ul> <li><code>mkdocsstrings-python</code> v2 is now supported.</li> </ul> <h3>Cookiecutter template</h3> <ul> <li>Dependencies have been updated.</li> <li>New warning ignores for protobuf gencode versions in pytest.</li> <li>Added Dependabot auto-merge workflow using <code>frequenz-floss/dependabot-auto-approve</code> action.</li> </ul> <h2>Bug Fixes</h2> <h3>Cookiecutter template</h3> <ul> <li>mkdocstrings: Move <code>paths</code> key to the right section in <code>mkdocs.yml</code>.</li> <li>Fix invalid YAML syntax in Dependabot workflow template.</li> </ul> <h2>What's Changed</h2> <ul> <li>Bump types-pyyaml from 6.0.12.20250402 to 6.0.12.20250516 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/410">frequenz-floss/frequenz-repo-config-python#410</a></li> <li>Bump the patch group with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/408">frequenz-floss/frequenz-repo-config-python#408</a></li> <li>Bump the minor group with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/409">frequenz-floss/frequenz-repo-config-python#409</a></li> <li>Improve filtering of warnings in pytest by <a href="https://github.com/llucax"><code>@​llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/411">frequenz-floss/frequenz-repo-config-python#411</a></li> <li>Fix mkdocsstrings config by <a href="https://github.com/llucax"><code>@​llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/412">frequenz-floss/frequenz-repo-config-python#412</a></li> <li>Merge v0.13.x into v0.x.x by <a href="https://github.com/llucax"><code>@​llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/420">frequenz-floss/frequenz-repo-config-python#420</a></li> <li>Bump the patch group with 3 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/424">frequenz-floss/frequenz-repo-config-python#424</a></li> <li>Bump the minor group with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/423">frequenz-floss/frequenz-repo-config-python#423</a></li> <li>Update templates dependencies by <a href="https://github.com/llucax"><code>@​llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/431">frequenz-floss/frequenz-repo-config-python#431</a></li> <li>Bump types-markdown from 3.8.0.20250415 to 3.8.0.20250708 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/430">frequenz-floss/frequenz-repo-config-python#430</a></li> <li>Bump mypy from 1.16.1 to 1.17.1 in the minor group by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/428">frequenz-floss/frequenz-repo-config-python#428</a></li> <li>Bump the mkdocstrings group across 1 directory with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/pull/432">frequenz-floss/frequenz-repo-config-python#432</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-repo-config-python/blob/v0.x.x/RELEASE_NOTES.md">frequenz-repo-config[extra-lint-examples]'s changelog</a>.</em></p> <blockquote> <h1>Frequenz Repository Configuration Release Notes</h1> <h2>Summary</h2> <p>This release migrates lightweight GitHub Actions workflow jobs to use the new cost-effective <code>ubuntu-slim</code> runner.</p> <h2>Upgrading</h2> <!-- raw HTML omitted --> <h3>Cookiecutter template</h3> <p>All upgrading should be done via the migration script or regenerating the templates.</p> <pre lang="bash"><code>curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.14.0/cookiecutter/migrate.py | python3 </code></pre> <p>But you might still need to adapt your code:</p> <!-- raw HTML omitted --> <h2>New Features</h2> <!-- raw HTML omitted --> <h3>Cookiecutter template</h3> <ul> <li>Migrated lightweight workflow jobs to use the new <code>ubuntu-slim</code> runner for cost savings. The following jobs now use <code>ubuntu-slim</code>: <ul> <li><code>ci.yaml</code>: <code>protolint</code>, <code>nox-all</code>, <code>test-installation-all</code>, <code>create-github-release</code>, <code>publish-to-pypi</code></li> <li><code>ci-pr.yaml</code>: <code>protolint</code></li> <li><code>auto-dependabot.yaml</code>: <code>auto-merge</code></li> <li><code>release-notes-check.yml</code>: <code>check-release-notes</code></li> <li><code>dco-merge-queue.yml</code>: <code>DCO</code></li> <li><code>labeler.yml</code>: <code>Label</code></li> </ul> </li> </ul> <h2>Bug Fixes</h2> <!-- raw HTML omitted --> <h3>Cookiecutter template</h3> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/a72bd53788be72e52e392ba037d1846e9af9bdb0"><code>a72bd53</code></a> Update mypy-protobuf requirement from &lt;4,&gt;=3.0.0 to &gt;=3.0.0,&lt;5 (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/489">#489</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/10341d61167efc0469c829a7e5159f4fb98db43b"><code>10341d6</code></a> template: Bump protobuf and grpcio to latest versions</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/af4476785f83336c08114d344820f3c5e47819fa"><code>af44767</code></a> Update mypy-protobuf requirement from &lt;4,&gt;=3.0.0 to &gt;=3.0.0,&lt;5</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/8a4e067b5d713b7667fa0e2fb00328de43bf2355"><code>8a4e067</code></a> Prepare for release v0.14.0 (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/490">#490</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/73dc4ef502a49f798a6ad672edd6b6b5478851ec"><code>73dc4ef</code></a> Prepare for release v0.14.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/3d86e084ef981c8f5c8b7256918866bd22bbc069"><code>3d86e08</code></a> Bump actions/download-artifact from 5 to 6 (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/460">#460</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/5894e50f24b3fcd742d8d44d2c370ad9a43d734f"><code>5894e50</code></a> Bump pydoclint from 0.7.3 to 0.8.3 (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/477">#477</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/4a81cbbb8281d46e23c58112bdd202ace0861c85"><code>4a81cbb</code></a> Bump frequenz-floss/gh-action-nox from 1.0.1 to 1.1.0 in the compatible group...</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/41b3a2cb1a54c14ca1a4bc1bb983b17bee5580b1"><code>41b3a2c</code></a> Bump pytest from 9.0.1 to 9.0.2 in the patch group (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/487">#487</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/c2bbc77892b57010335680effe03cb368dc54b75"><code>c2bbc77</code></a> Bump the minor group with 7 updates (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/488">#488</a>)</li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.13.8...v0.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=frequenz-repo-config[extra-lint-examples]&package-manager=pip&previous-version=0.13.8&new-version=0.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents 2659e90 + ee9a687 commit a35590f

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Auto-merge Dependabot PR
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
jobs:
11+
auto-merge:
12+
if: github.actor == 'dependabot[bot]'
13+
runs-on: ubuntu-slim
14+
steps:
15+
- name: Auto-merge Dependabot PR
16+
uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2
17+
with:
18+
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
dependency-type: 'all'
20+
auto-merge: 'true'
21+
merge-method: 'merge'
22+
add-label: 'tool:auto-merged'

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ plugins:
9999
default_handler: python
100100
handlers:
101101
python:
102+
paths: ["src"]
102103
options:
103-
paths: ["src"]
104104
docstring_section_style: spacy
105105
inherited_members: true
106106
merge_init_into_class: false
@@ -112,7 +112,7 @@ plugins:
112112
show_source: true
113113
show_symbol_type_toc: true
114114
signature_crossrefs: true
115-
import:
115+
inventories:
116116
- https://docs.python.org/3/objects.inv
117117
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
118118
- https://frequenz-floss.github.io/frequenz-api-common/v0.3/objects.inv

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 80.10.2",
77
"setuptools_scm[toml] == 9.2.2",
8-
"frequenz-repo-config[lib] == 0.13.8",
8+
"frequenz-repo-config[lib] == 0.14.0",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -78,7 +78,7 @@ dev-mkdocs = [
7878
"mkdocs-material == 9.7.1",
7979
"mkdocstrings[python] == 1.0.2",
8080
"mkdocstrings-python == 1.18.2",
81-
"frequenz-repo-config[lib] == 0.13.8",
81+
"frequenz-repo-config[lib] == 0.14.0",
8282
]
8383
dev-mypy = [
8484
"mypy == 1.19.1",
@@ -89,15 +89,15 @@ dev-mypy = [
8989
# For checking the noxfile, docs/ script, and tests
9090
"frequenz-client-electricity-trading[dev-mkdocs,dev-noxfile,dev-pytest]",
9191
]
92-
dev-noxfile = ["nox == 2025.11.12", "frequenz-repo-config[lib] == 0.13.8"]
92+
dev-noxfile = ["nox == 2025.11.12", "frequenz-repo-config[lib] == 0.14.0"]
9393
dev-pylint = [
9494
"pylint == 4.0.4",
9595
# For checking the noxfile, docs/ script, and tests
9696
"frequenz-client-electricity-trading[dev-mkdocs,dev-noxfile,dev-pytest]",
9797
]
9898
dev-pytest = [
9999
"pytest == 9.0.2",
100-
"frequenz-repo-config[extra-lint-examples] == 0.13.8",
100+
"frequenz-repo-config[extra-lint-examples] == 0.14.0",
101101
"pytest-mock == 3.15.1",
102102
"pytest-asyncio == 1.3.0",
103103
"async-solipsism == 0.9",

0 commit comments

Comments
 (0)