Skip to content

Commit 933d1ae

Browse files
authored
Build(deps-dev): Bump the repo-config group with 2 updates (#60)
Bumps the repo-config group with 2 updates: [frequenz-repo-config[lib]](https://github.com/frequenz-floss/frequenz-repo-config-python) and [frequenz-repo-config[extra-lint-examples]](https://github.com/frequenz-floss/frequenz-repo-config-python). Updates `frequenz-repo-config[lib]` from 0.13.7 to 0.16.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[lib]'s releases</a>.</em></p> <blockquote> <h2>v0.16.0</h2> <h1>Frequenz Repository Configuration Release Notes</h1> <h2>Summary</h2> <p>This is a maintenance, template-only, bugfix release.</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.16.0/cookiecutter/migrate.py | python3 </code></pre> <h2>Bug Fixes</h2> <h3>Cookiecutter template</h3> <ul> <li>Added a migration step for api repositories to fix <code>mkdocs.yml</code> when the previous <code>mkdocstrings-python</code> v2 migration moved only <code>paths: [&quot;src&quot;]</code> under <code>handlers.python.options</code> but not <code>paths: [&quot;py&quot;]</code>.</li> <li>Fixed runners for jobs that require Docker and where wrongly converted to <code>ubuntu-slim</code> in v0.15.0, changing them back to <code>ubuntu-24.04</code> to avoid Docker-related failures. The template and the migration script were both updated to reflect this change.</li> <li>Updated the repo-config migration workflow template and migration script so existing repositories also add the <code>merge_group</code> trigger and skip the job unless the event is <code>pull_request_target</code>, allowing the workflow to be used as a required merge-queue check.</li> <li>Added a migration step to remove the copilot review request from the Protect version branch protection rules. This was also done by v0.15.0 in theory, but the migration step was wrong and didn't update it properly.</li> </ul> <h2>What's Changed</h2> <ul> <li>Fix mkdocs python path for API repos 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/534">frequenz-floss/frequenz-repo-config-python#534</a></li> <li>migrate: Update runners for Docker jobs 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/536">frequenz-floss/frequenz-repo-config-python#536</a></li> <li>ci: Trigger repo-config migration in merge queue 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/537">frequenz-floss/frequenz-repo-config-python#537</a></li> <li>migrate: Fix version ruleset copilot removal 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/535">frequenz-floss/frequenz-repo-config-python#535</a></li> <li>Prepare for the v0.16.0 release 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/538">frequenz-floss/frequenz-repo-config-python#538</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.15.1...v0.16.0">https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.15.1...v0.16.0</a></p> <h2>v0.15.1</h2> <h1>Frequenz Repository Configuration Release Notes</h1> <blockquote> <p>[!NOTE] This is a bugfix release for v0.15.0. This release was never published to PyPI, so we keep the entire release notes for v0.15.0 here (updated to the new changes) to make it easier for users to upgrade from v0.14.0 to v0.15.x.</p> <p>The only change with respect to v0.15.0 is using the appropriate job runner for the <code>publish-to-pypi</code> job in <code>ci.yaml</code>. v0.15.0 updated it to <code>ubuntu-slim</code> but that didn't work because it requires Docker, and it is not installed on the <code>ubuntu-slim</code> runner.</p> </blockquote> <h2>Summary</h2> <p>This release reduces CI cost by moving lightweight GitHub Actions jobs to the new <code>ubuntu-slim</code> runner, fixes Dependabot auto-merge/merge-queue issues by switching to a GitHub App installation token, and introduces an automated repo-config migration workflow (including updating existing repos' version-branch protection defaults).</p> <h2>Upgrading</h2> <!-- 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.16.0/RELEASE_NOTES.md">frequenz-repo-config[lib]'s changelog</a>.</em></p> <blockquote> <h1>Frequenz Repository Configuration Release Notes</h1> <h2>Summary</h2> <p>This is a maintenance, template-only, bugfix release.</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.16.0/cookiecutter/migrate.py | python3 </code></pre> <h2>Bug Fixes</h2> <h3>Cookiecutter template</h3> <ul> <li>Added a migration step for api repositories to fix <code>mkdocs.yml</code> when the previous <code>mkdocstrings-python</code> v2 migration moved only <code>paths: [&quot;src&quot;]</code> under <code>handlers.python.options</code> but not <code>paths: [&quot;py&quot;]</code>.</li> <li>Fixed runners for jobs that require Docker and where wrongly converted to <code>ubuntu-slim</code> in v0.15.0, changing them back to <code>ubuntu-24.04</code> to avoid Docker-related failures. The template and the migration script were both updated to reflect this change.</li> <li>Updated the repo-config migration workflow template and migration script so existing repositories also add the <code>merge_group</code> trigger and skip the job unless the event is <code>pull_request_target</code>, allowing the workflow to be used as a required merge-queue check.</li> <li>Added a migration step to remove the copilot review request from the Protect version branch protection rules. This was also done by v0.15.0 in theory, but the migration step was wrong and didn't update it properly.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/fa0fc91875b45e3e947249d9e7b936ef0a804387"><code>fa0fc91</code></a> Prepare for the v0.16.0 release (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/538">#538</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/028d1b588630839b9afa0ef12fcd4d7c8df7d5b0"><code>028d1b5</code></a> Prepare release notes for v0.16.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/395f7e2f1f571a5a8bf434cc152998ca7dc0aaa1"><code>395f7e2</code></a> Update version to v0.16.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/30bba6864cda88c2c92b268b3721b7ce3c4a1fb6"><code>30bba68</code></a> migrate: Fix version ruleset copilot removal (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/535">#535</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/8c21ad0f24421320934032f9bbcd725863fe5a3c"><code>8c21ad0</code></a> migrate: Fix version ruleset copilot removal</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/75090ee7d69246d548273d966e8880be206d2bb5"><code>75090ee</code></a> ci: Trigger repo-config migration in merge queue (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/537">#537</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/47db92e3b5357230eb731ec076befb103ab4c7e7"><code>47db92e</code></a> ci: Trigger repo-config migration in merge queue</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/f97e24afe626b8b71e5b56ec57f994dc9220e11e"><code>f97e24a</code></a> migrate: Update runners for Docker jobs (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/536">#536</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/675b22ff6f1dbca3a4bb5973faa4f72d8a9d59ea"><code>675b22f</code></a> migrate: Update runners for Docker jobs</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/ec164048192edec03b7a34658e070c63e8ff7a35"><code>ec16404</code></a> migrate: Disable too-many-locals and branches lints</li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.13.7...v0.16.0">compare view</a></li> </ul> </details> <br /> Updates `frequenz-repo-config[extra-lint-examples]` from 0.13.7 to 0.16.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.16.0</h2> <h1>Frequenz Repository Configuration Release Notes</h1> <h2>Summary</h2> <p>This is a maintenance, template-only, bugfix release.</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.16.0/cookiecutter/migrate.py | python3 </code></pre> <h2>Bug Fixes</h2> <h3>Cookiecutter template</h3> <ul> <li>Added a migration step for api repositories to fix <code>mkdocs.yml</code> when the previous <code>mkdocstrings-python</code> v2 migration moved only <code>paths: [&quot;src&quot;]</code> under <code>handlers.python.options</code> but not <code>paths: [&quot;py&quot;]</code>.</li> <li>Fixed runners for jobs that require Docker and where wrongly converted to <code>ubuntu-slim</code> in v0.15.0, changing them back to <code>ubuntu-24.04</code> to avoid Docker-related failures. The template and the migration script were both updated to reflect this change.</li> <li>Updated the repo-config migration workflow template and migration script so existing repositories also add the <code>merge_group</code> trigger and skip the job unless the event is <code>pull_request_target</code>, allowing the workflow to be used as a required merge-queue check.</li> <li>Added a migration step to remove the copilot review request from the Protect version branch protection rules. This was also done by v0.15.0 in theory, but the migration step was wrong and didn't update it properly.</li> </ul> <h2>What's Changed</h2> <ul> <li>Fix mkdocs python path for API repos 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/534">frequenz-floss/frequenz-repo-config-python#534</a></li> <li>migrate: Update runners for Docker jobs 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/536">frequenz-floss/frequenz-repo-config-python#536</a></li> <li>ci: Trigger repo-config migration in merge queue 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/537">frequenz-floss/frequenz-repo-config-python#537</a></li> <li>migrate: Fix version ruleset copilot removal 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/535">frequenz-floss/frequenz-repo-config-python#535</a></li> <li>Prepare for the v0.16.0 release 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/538">frequenz-floss/frequenz-repo-config-python#538</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.15.1...v0.16.0">https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.15.1...v0.16.0</a></p> <h2>v0.15.1</h2> <h1>Frequenz Repository Configuration Release Notes</h1> <blockquote> <p>[!NOTE] This is a bugfix release for v0.15.0. This release was never published to PyPI, so we keep the entire release notes for v0.15.0 here (updated to the new changes) to make it easier for users to upgrade from v0.14.0 to v0.15.x.</p> <p>The only change with respect to v0.15.0 is using the appropriate job runner for the <code>publish-to-pypi</code> job in <code>ci.yaml</code>. v0.15.0 updated it to <code>ubuntu-slim</code> but that didn't work because it requires Docker, and it is not installed on the <code>ubuntu-slim</code> runner.</p> </blockquote> <h2>Summary</h2> <p>This release reduces CI cost by moving lightweight GitHub Actions jobs to the new <code>ubuntu-slim</code> runner, fixes Dependabot auto-merge/merge-queue issues by switching to a GitHub App installation token, and introduces an automated repo-config migration workflow (including updating existing repos' version-branch protection defaults).</p> <h2>Upgrading</h2> <!-- 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.16.0/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 is a maintenance, template-only, bugfix release.</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.16.0/cookiecutter/migrate.py | python3 </code></pre> <h2>Bug Fixes</h2> <h3>Cookiecutter template</h3> <ul> <li>Added a migration step for api repositories to fix <code>mkdocs.yml</code> when the previous <code>mkdocstrings-python</code> v2 migration moved only <code>paths: [&quot;src&quot;]</code> under <code>handlers.python.options</code> but not <code>paths: [&quot;py&quot;]</code>.</li> <li>Fixed runners for jobs that require Docker and where wrongly converted to <code>ubuntu-slim</code> in v0.15.0, changing them back to <code>ubuntu-24.04</code> to avoid Docker-related failures. The template and the migration script were both updated to reflect this change.</li> <li>Updated the repo-config migration workflow template and migration script so existing repositories also add the <code>merge_group</code> trigger and skip the job unless the event is <code>pull_request_target</code>, allowing the workflow to be used as a required merge-queue check.</li> <li>Added a migration step to remove the copilot review request from the Protect version branch protection rules. This was also done by v0.15.0 in theory, but the migration step was wrong and didn't update it properly.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/fa0fc91875b45e3e947249d9e7b936ef0a804387"><code>fa0fc91</code></a> Prepare for the v0.16.0 release (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/538">#538</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/028d1b588630839b9afa0ef12fcd4d7c8df7d5b0"><code>028d1b5</code></a> Prepare release notes for v0.16.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/395f7e2f1f571a5a8bf434cc152998ca7dc0aaa1"><code>395f7e2</code></a> Update version to v0.16.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/30bba6864cda88c2c92b268b3721b7ce3c4a1fb6"><code>30bba68</code></a> migrate: Fix version ruleset copilot removal (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/535">#535</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/8c21ad0f24421320934032f9bbcd725863fe5a3c"><code>8c21ad0</code></a> migrate: Fix version ruleset copilot removal</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/75090ee7d69246d548273d966e8880be206d2bb5"><code>75090ee</code></a> ci: Trigger repo-config migration in merge queue (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/537">#537</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/47db92e3b5357230eb731ec076befb103ab4c7e7"><code>47db92e</code></a> ci: Trigger repo-config migration in merge queue</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/f97e24afe626b8b71e5b56ec57f994dc9220e11e"><code>f97e24a</code></a> migrate: Update runners for Docker jobs (<a href="https://redirect.github.com/frequenz-floss/frequenz-repo-config-python/issues/536">#536</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/675b22ff6f1dbca3a4bb5973faa4f72d8a9d59ea"><code>675b22f</code></a> migrate: Update runners for Docker jobs</li> <li><a href="https://github.com/frequenz-floss/frequenz-repo-config-python/commit/ec164048192edec03b7a34658e070c63e8ff7a35"><code>ec16404</code></a> migrate: Disable too-many-locals and branches lints</li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.13.7...v0.16.0">compare view</a></li> </ul> </details> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
2 parents d8302e3 + 205805c commit 933d1ae

7 files changed

Lines changed: 61 additions & 24 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Auto-merge Dependabot PR
2+
3+
on:
4+
# XXX: !!! SECURITY WARNING !!!
5+
# pull_request_target has write access to the repo, and can read secrets. We
6+
# need to audit any external actions executed in this workflow and make sure no
7+
# checked out code is run (not even installing dependencies, as installing
8+
# dependencies usually can execute pre/post-install scripts). We should also
9+
# only use hashes to pick the action to execute (instead of tags or branches).
10+
# For more details read:
11+
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
12+
pull_request_target:
13+
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
18+
jobs:
19+
auto-merge:
20+
name: Auto-merge Dependabot PR
21+
if: >
22+
github.actor == 'dependabot[bot]' &&
23+
!contains(github.event.pull_request.title, 'the repo-config group')
24+
runs-on: ubuntu-slim
25+
steps:
26+
- name: Generate GitHub App token
27+
id: app-token
28+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
29+
with:
30+
app-id: ${{ secrets.FREQUENZ_AUTO_DEPENDABOT_APP_ID }}
31+
private-key: ${{ secrets.FREQUENZ_AUTO_DEPENDABOT_APP_PRIVATE_KEY }}
32+
33+
- name: Auto-merge Dependabot PR
34+
uses: frequenz-floss/dependabot-auto-approve@e943399cc9d76fbb6d7faae446cd57301d110165 # v1.5.0
35+
with:
36+
github-token: ${{ steps.app-token.outputs.token }}
37+
dependency-type: 'all'
38+
auto-merge: 'true'
39+
merge-method: 'merge'
40+
add-label: 'tool:auto-merged'

.github/workflows/ci.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
arch:
32-
- amd64
33-
- arm
34-
os:
31+
platform:
3532
- ubuntu-24.04
33+
- ubuntu-24.04-arm
3634
python:
3735
- "3.11"
3836
- "3.12"
@@ -41,7 +39,7 @@ jobs:
4139
# that uses the same venv to run multiple linting sessions
4240
- "ci_checks_max"
4341
- "pytest_min"
44-
runs-on: ${{ matrix.os }}${{ matrix.arch != 'amd64' && format('-{0}', matrix.arch) || '' }}
42+
runs-on: ${{ matrix.platform }}
4543

4644
steps:
4745
- name: Run nox
@@ -63,7 +61,7 @@ jobs:
6361
needs: ["nox"]
6462
# We skip this job only if nox was also skipped
6563
if: always() && needs.nox.result != 'skipped'
66-
runs-on: ubuntu-24.04
64+
runs-on: ubuntu-slim
6765
env:
6866
DEPS_RESULT: ${{ needs.nox.result }}
6967
steps:
@@ -112,15 +110,13 @@ jobs:
112110
strategy:
113111
fail-fast: false
114112
matrix:
115-
arch:
116-
- amd64
117-
- arm
118-
os:
113+
platform:
119114
- ubuntu-24.04
115+
- ubuntu-24.04-arm
120116
python:
121117
- "3.11"
122118
- "3.12"
123-
runs-on: ${{ matrix.os }}${{ matrix.arch != 'amd64' && format('-{0}', matrix.arch) || '' }}
119+
runs-on: ${{ matrix.platform }}
124120

125121
steps:
126122
- name: Setup Git
@@ -172,7 +168,7 @@ jobs:
172168
needs: ["test-installation"]
173169
# We skip this job only if test-installation was also skipped
174170
if: always() && needs.test-installation.result != 'skipped'
175-
runs-on: ubuntu-24.04
171+
runs-on: ubuntu-slim
176172
env:
177173
DEPS_RESULT: ${{ needs.test-installation.result }}
178174
steps:
@@ -295,7 +291,7 @@ jobs:
295291
# discussions to create the release announcement in the discussion forums
296292
contents: write
297293
discussions: write
298-
runs-on: ubuntu-24.04
294+
runs-on: ubuntu-slim
299295
steps:
300296
- name: Download distribution files
301297
uses: actions/download-artifact@v8

.github/workflows/dco-merge-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
DCO:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-slim
99
if: ${{ github.actor != 'dependabot[bot]' }}
1010
steps:
1111
- run: echo "This DCO job runs on merge_queue event and doesn't check PR contents"

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
permissions:
88
contents: read
99
pull-requests: write
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-slim
1111
steps:
1212
- name: Labeler
1313
# XXX: !!! SECURITY WARNING !!!

.github/workflows/release-notes-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
check-release-notes:
1818
name: Check release notes are updated
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-slim
2020
permissions:
2121
pull-requests: read
2222
steps:

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ plugins:
103103
default_handler: python
104104
handlers:
105105
python:
106+
paths: ["src"]
106107
options:
107-
paths: ["src"]
108108
docstring_section_style: spacy
109109
inherited_members: true
110110
merge_init_into_class: false
@@ -116,7 +116,7 @@ plugins:
116116
show_source: true
117117
show_symbol_type_toc: true
118118
signature_crossrefs: true
119-
import:
119+
inventories:
120120
# TODO(cookiecutter): You might want to add other external references here
121121
# See https://mkdocstrings.github.io/python/usage/#import for details
122122
- https://docs.python.org/3/objects.inv

pyproject.toml

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

1212
[project]
1313
name = "frequenz-gridpool"
1414
description = "High-level interface to grid pools for the Frequenz platform."
1515
readme = "README.md"
16-
license = { text = "MIT" }
16+
license = "MIT"
17+
license-files = ["LICENSE"]
1718
keywords = ["frequenz", "python", "lib", "library", "gridpool"]
1819
classifiers = [
1920
"Development Status :: 3 - Alpha",
2021
"Intended Audience :: Developers",
21-
"License :: OSI Approved :: MIT License",
2222
"Programming Language :: Python :: 3",
2323
"Programming Language :: Python :: 3 :: Only",
2424
"Topic :: Software Development :: Libraries",
@@ -49,6 +49,7 @@ render-graph = [
4949

5050
dev-flake8 = [
5151
"flake8 == 7.3.0",
52+
"flake8-datetimez == 20.10.0",
5253
"flake8-docstrings == 1.7.0",
5354
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
5455
"pydoclint == 0.8.3",
@@ -65,7 +66,7 @@ dev-mkdocs = [
6566
"mkdocs-material == 9.7.3",
6667
"mkdocstrings[python] == 1.0.3",
6768
"mkdocstrings-python == 1.19.0",
68-
"frequenz-repo-config[lib] == 0.13.7",
69+
"frequenz-repo-config[lib] == 0.16.0",
6970
]
7071
dev-mypy = [
7172
"mypy == 1.19.1",
@@ -76,7 +77,7 @@ dev-mypy = [
7677
]
7778
dev-noxfile = [
7879
"nox == 2025.11.12",
79-
"frequenz-repo-config[lib] == 0.13.7",
80+
"frequenz-repo-config[lib] == 0.16.0",
8081
]
8182
dev-pylint = [
8283
# dev-pytest already defines a dependency to pylint because of the examples
@@ -86,7 +87,7 @@ dev-pylint = [
8687
dev-pytest = [
8788
"pytest == 9.0.2",
8889
"pylint == 4.0.5", # We need this to check for the examples
89-
"frequenz-repo-config[extra-lint-examples] == 0.13.7",
90+
"frequenz-repo-config[extra-lint-examples] == 0.16.0",
9091
"pytest-mock == 3.15.1",
9192
"pytest-asyncio == 1.3.0",
9293
"async-solipsism == 0.9",

0 commit comments

Comments
 (0)