Skip to content

Commit 792a80b

Browse files
authored
chore(deps): update frequenz-api-common requirement from <0.8.0,>=0.6.5 to >=0.6.5,<0.9.0 (#175)
Updates the requirements on [frequenz-api-common](https://github.com/frequenz-floss/frequenz-api-common) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-api-common/releases">frequenz-api-common's releases</a>.</em></p> <blockquote> <h2>v0.8.0</h2> <h1>Frequenz Common API Release Notes</h1> <h2>Summary</h2> <p>This release introduces the new <code>v1alpha8</code> version of the API, which includes several breaking changes compared to <code>v1alpha7</code>. The changes focus on improving consistency and clarity by renaming several symbols and removing unused components.</p> <h2>Upgrading</h2> <ul> <li> <p>A new package <code>frequenz.api.common.v1alpha8</code> has been introduced, containing the following breaking changes from <code>v1alpha7</code>.</p> </li> <li> <p>Removed:</p> <ul> <li><code>electrical_components.Fuse</code></li> <li><code>InverterType.INVERTER_TYPE_WIND_TURBINE</code></li> </ul> </li> <li> <p>Renamed several symbols to increase consistency and clarity:</p> <ul> <li> <p><code>microgrid</code>:</p> <ul> <li><code>MicrogridComponentIds</code> to <code>MicrogridElectricalComponentIds</code></li> <li><code>MicrogridComponentIDs.component_ids</code> to <code>MicrogridElectricalComponentIds.electrical_component_ids</code></li> </ul> </li> <li> <p><code>electrical_components</code>:</p> <ul> <li><code>ElectricalComponentConnections.source_component_id</code> to <code>ElectricalComponentConnections.source_electrical_component_id</code></li> <li><code>ElectricalComponentConnections.destination_component_id</code> to <code>ElectricalComponentConnections.destination_electrical_component_id</code></li> <li><code>ElectricalComponentStateSnapshot.component_id</code> to <code>ElectricalComponentStateSnapshot.electrical_component_id</code></li> <li>Transformer-related terms are renamed to align them with power transformers, which are more commonly used in electrical engineering: <ul> <li><code>electrical_components.VoltageTransformer</code> to <code>electrical_components.PowerTransformer</code></li> <li><code>ElectricalComponentCategorySpecificInfo.kind.voltage_transformer</code> to <code>ElectricalComponentCategorySpecificInfo.kind.power_transformer</code></li> <li><code>ElectricalComponentCategory.ELECTRICAL_COMPONENT_CATEGORY_VOLTAGE_TRANSFORMER</code> to <code>ElectricalComponentCategory.ELECTRICAL_COMPONENT_CATEGORY_POWER_TRANSFORMER</code></li> </ul> </li> </ul> </li> <li> <p><code>type</code>:</p> <ul> <li>The whole package has been renamed to <code>types</code> to avoid using reserved keywords in programming languages.</li> </ul> </li> </ul> </li> </ul> <h2>What's Changed</h2> <ul> <li>Bump the patch group with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/383">frequenz-floss/frequenz-api-common#383</a></li> <li>dependabot: Group grpc/protobuf updates together by <a href="https://github.com/llucax"><code>@​llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/385">frequenz-floss/frequenz-api-common#385</a></li> <li>Bump the minor group across 1 directory with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/386">frequenz-floss/frequenz-api-common#386</a></li> <li>Bump frequenz-floss/gh-action-setup-python-with-deps from 1.0.0 to 1.0.1 in the compatible group by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/388">frequenz-floss/frequenz-api-common#388</a></li> <li>Bump frequenz-floss/gh-action-nox from 1.0.0 to 1.0.1 in the compatible group by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/389">frequenz-floss/frequenz-api-common#389</a></li> <li>Clear release notes and add <code>v1alpha8</code> package by <a href="https://github.com/tiyash-basu-frequenz"><code>@​tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/396">frequenz-floss/frequenz-api-common#396</a></li> <li>Remove <code>electrical_components.Fuse</code> from <code>frequenz.api.common.v1alpha8</code> by <a href="https://github.com/tiyash-basu-frequenz"><code>@​tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/394">frequenz-floss/frequenz-api-common#394</a></li> <li>Remove <code>InverterType.INVERTER_TYPE_WIND_TURBINE</code> by <a href="https://github.com/tiyash-basu-frequenz"><code>@​tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/397">frequenz-floss/frequenz-api-common#397</a></li> <li>Rename leftover uses of <code>component_id</code> to <code>electrical_component_id</code> by <a href="https://github.com/tiyash-basu-frequenz"><code>@​tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/398">frequenz-floss/frequenz-api-common#398</a></li> <li>Rename voltage-transformer to power-transformer by <a href="https://github.com/tiyash-basu-frequenz"><code>@​tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/399">frequenz-floss/frequenz-api-common#399</a></li> <li>Rename <code>type</code> package to <code>types</code> in v1alpha8 proto files by <a href="https://github.com/tiyash-basu-frequenz"><code>@​tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/400">frequenz-floss/frequenz-api-common#400</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/2678ceef8a1cc0a30cd0f7847d4b84e1462c403b"><code>2678cee</code></a> Clean up and reformat the release notes for v1alpha8 (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/401">#401</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/551a4840e65efc4d8d67e3532480f3f0a1244be5"><code>551a484</code></a> Clean up and reformat the release notes for v1alpha8</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/055acd904bc31e0bb369675396428284b46f5bd2"><code>055acd9</code></a> Rename <code>type</code> package to <code>types</code> in v1alpha8 proto files (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/400">#400</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/56f463d5bafd2d6c5d5728b25a22f9a0063beff6"><code>56f463d</code></a> Rename <code>type</code> package to <code>types</code> in v1alpha8 proto files</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/f6f83910a0639faee3950301582f14e08764861e"><code>f6f8391</code></a> Rename voltage-transformer to power-transformer (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/399">#399</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/cd954c325b5fa6f7eba0ef829298c329e9e746f3"><code>cd954c3</code></a> Rename voltage-transformer to power-transformer</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/1b848bee0d8171c9d8bcfbc83a741bb29896d0e7"><code>1b848be</code></a> Rename leftover uses of <code>component_id</code> to <code>electrical_component_id</code> (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/398">#398</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/7a0242684d2daaa826182d0463a9bcb73347ee7b"><code>7a02426</code></a> Fix example comments in proto files</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/29d24a91e17e561ca6a83339e3fd2fad3ab9144c"><code>29d24a9</code></a> Rename <code>MicrogridComponentIDs</code> to <code>MicrogridElectricalComponentIDs</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/415c4ac91694d4260cb2aebcc31686f0abe0ea91"><code>415c4ac</code></a> Rename leftover uses of <code>component_id</code> to <code>electrical_component_id</code></li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-api-common/compare/v0.6.5...v0.8.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 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 d86a406 + 1da3432 commit 792a80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ requires-python = ">= 3.11, < 4"
4040
dependencies = [
4141
"click >= 8.1.8, < 9",
4242
"entsoe-py >= 0.6.16, < 1",
43-
"frequenz-api-common >= 0.6.5, < 0.8.0",
43+
"frequenz-api-common >= 0.6.5, < 0.9.0",
4444
"grpcio >= 1.72.1, < 2",
4545
"frequenz-channels >= 1.6.1, < 2",
4646
"frequenz-client-base >= 0.11.0, < 0.12.0",

0 commit comments

Comments
 (0)