This release migrates lightweight GitHub Actions workflow jobs to use the new cost-effective ubuntu-slim runner.
It also updates cookiecutter pyproject license metadata to SPDX expressions to avoid setuptools deprecation warnings.
The auto-dependabot workflow now uses a GitHub App installation token instead of GITHUB_TOKEN to fix merge queue and auto-merge failures.
All upgrading should be done via the migration script or regenerating the templates.
curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.14.0/cookiecutter/migrate.py | python3But you might still need to adapt your code:
-
Migrated lightweight workflow jobs to use the new
ubuntu-slimrunner for cost savings. The following jobs now useubuntu-slim:ci.yaml:protolint,nox-all,test-installation-all,create-github-release,publish-to-pypici-pr.yaml:protolintauto-dependabot.yaml:auto-mergerelease-notes-check.yml:check-release-notesdco-merge-queue.yml:DCOlabeler.yml:Label
-
Added the
flake8-datetimezplugin to theflake8session. This plugin prevents accidental use of naivedatetimeobjects by flagging calls that create or return datetimes without timezone information.
-
Switched
project.licenseto SPDX expressions and addedproject.license-files. This removes deprecated setuptools license metadata and avoids build warnings. -
Fixed auto-dependabot workflow failing to trigger merge queue CI or complete auto-merge. The workflow now uses a GitHub App installation token (via
actions/create-github-app-token) instead ofGITHUB_TOKEN, which was suppressing subsequent workflow runs by design. Workflow permissions have been reduced to the minimum needed for the workflow (contents: readandpull-requests: write). -
Fix dependabot group patterns for repo-config and mkdocstrings.