Bump frequenz-repo-config from 0.18.0 to 0.19.0 in the repo-config group across 1 directory - #328
Bump frequenz-repo-config from 0.18.0 to 0.19.0 in the repo-config group across 1 directory#328dependabot[bot] wants to merge 5 commits into
Conversation
Repo Config MigrationUpdate: 0.18.0 → 0.19.0 ✅ Migration completed successfully. Migration outputNext stepMigration changes were committed and Note If this PR needs rebasing later, comment |
|
@dependabot recreate |
Bumps the repo-config group with 1 update in the / directory: [frequenz-repo-config](https://github.com/frequenz-floss/frequenz-repo-config-python). Updates `frequenz-repo-config` from 0.18.0 to 0.19.0 - [Release notes](https://github.com/frequenz-floss/frequenz-repo-config-python/releases) - [Changelog](https://github.com/frequenz-floss/frequenz-repo-config-python/blob/v0.x.x/RELEASE_NOTES.md) - [Commits](frequenz-floss/frequenz-repo-config-python@v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: frequenz-repo-config dependency-version: 0.19.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: repo-config ... Signed-off-by: dependabot[bot] <support@github.com>
2a123c7 to
f6c1dfd
Compare
=== v0.19.0 ========================================================= Script URL: https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.19.0/cookiecutter/migrate.py ======================================================================== Enabling exhaustive match checks for mypy... Updated pyproject.toml: enabled exhaustive-match ======================================================================== ======================================================================== Removing default `-vv` from pytest addopts... Updated pyproject.toml: removed default `-vv` from [tool.pytest.ini_options] ======================================================================== Removing the dummy DCO merge-queue workflow... Removed .github/workflows/dco-merge-queue.yml ======================================================================== Pinning the DCO check in the 'Protect version branches' ruleset... Ruleset 'Protect version branches' is already up to date ======================================================================== ======================================================================== Updating pinned build dependencies... Skipped pyproject.toml: build dependencies already up to date ======================================================================== ======================================================================== Enabling asyncio debug mode for pytest... Updated pyproject.toml: enabled asyncio debug mode under [tool.pytest.ini_options] ======================================================================== ======================================================================== Updating the release instructions in CONTRIBUTING.md... Updated CONTRIBUTING.md: refreshed the release instructions ======================================================================== ✅ Migration script finished successfully ✅ The migration completed successfully. Applied-by: frequenz-floss/gh-action-dependabot-migrate
Repo Config MigrationUpdate: 0.18.0 → 0.19.0 ✅ Migration completed successfully. Migration outputNext stepMigration changes were committed and Note If this PR needs rebasing later, comment |
The frequenz-repo-config 0.19.0 migration enabled mypy's exhaustive-match check, which flagged this match statement: it only handled the "count" and "until_time" cases of the count_or_until oneof, not the case where neither is set. When neither is set, `instance` is correctly left with its `count` and `until` defaults (both `None`), so add an explicit `case None` that does nothing, documenting that this is intentional rather than an oversight. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
The frequenz-repo-config 0.19.0 migration enabled mypy's exhaustive-match check, which flagged this match statement: it only handled the three concrete subtypes of `category.type` (BatteryType, EvChargerType, InverterType), not the case where the category has no specific type at all. When `category.type` is `None`, the target is a plain `ComponentCategory` or `ElectricalComponentCategory` without a narrower type, and `pb_category.category`, set right above the match, is all that's needed. Add an explicit `case None` that does nothing, documenting that this is intentional rather than an oversight. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
The frequenz-repo-config 0.19.0 migration enabled mypy's
exhaustive-match check, which flagged both match statements in
UpdateMicrogridDispatch that switch on a path segment from the
update mask: since these segments are arbitrary strings coming from
`path.split(".")`, not a fixed set of literals, mypy can never treat
a fixed list of `case` patterns as exhaustive over them.
Both matches already left unrecognized paths silently unhandled, so
add a `case _: pass` to each, documenting that this is intentional:
an update mask may legitimately reference fields this fake service
doesn't special-case, and those are ignored rather than erroring.
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
|
Fixed exhaustion checks, needs approval from someone else now @Marenz |
Bumps the repo-config group with 1 update in the / directory: frequenz-repo-config.
Updates
frequenz-repo-configfrom 0.18.0 to 0.19.0Release notes
Sourced from frequenz-repo-config's releases.
... (truncated)
Commits
14d76daPrepare for release v0.19.0 (#627)4c26e2cPrepare release notes for v0.19.05e6651bDocument the extra release steps of this repositorybdc1d11template: Bump version to the upcoming v0.19.07374efbUpdate template dependencies (#626)450b1d8Update release notes194dad3template: Update protolint to 0.56.4a5c0b21migrate: Bump the pinned setuptools build dependency4201002template: Update GitHub Actionse90f2f7template: Bump dependencies