Commit 9df2d63
authored
chore(deps): update frequenz-client-common requirement from <0.4.0,>=0.3.8 to >=0.3.8,<0.5.0 (#119)
Updates the requirements on
[frequenz-client-common](https://github.com/frequenz-floss/frequenz-client-common-python)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/frequenz-floss/frequenz-client-common-python/releases">frequenz-client-common's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.0</h2>
<h1>Frequenz Client Common Library Release Notes</h1>
<h2>Summary</h2>
<p>This breaking release removes deprecated compatibility modules and
symbols, and implicit enum conversions.</p>
<h2>Upgrading</h2>
<blockquote>
<p>[!NOTE]
We recommend upgrading first to v0.3.8 and remove all deprecation
warnings (and implicit conversions of enum values to protobuf messages)
before upgrading to v0.4.0.</p>
<p>By doing so you'll be guided by the deprecation warnings and when you
are done, upgrading to v0.4.0 should imply not extra work.</p>
</blockquote>
<ul>
<li>Passing enum values directly to build protobuf messages is not
longer supported, you need to call the conversion functions
<code>xxx_(from|to)_proto_v1alpha8()</code> explicitly.</li>
<li>Replace <code>frequenz.client.common.metric.Metric</code> with
<code>frequenz.client.common.metrics.Metric</code>.</li>
<li>Replace <code>frequenz.client.common.microgrid.components</code>
imports with
<code>frequenz.client.common.microgrid.electrical_components</code>
imports.</li>
<li>Replace
<code>frequenz.client.common.enum_proto.enum_from_proto</code> with
<code>frequenz.client.common.proto.enum_from_proto</code>.</li>
<li>Replace <code>frequenz.client.common.metrics.proto</code> conversion
imports with <code>frequenz.client.common.metrics.proto.v1alpha8</code>
imports.</li>
<li>Replace <code>PaginationInfo.from_proto()</code>,
<code>PaginationInfo.to_proto()</code>, and
<code>PaginationInfo.to_proto_v1alpha8()</code> with
<code>frequenz.client.common.pagination.proto.v1alpha8</code> conversion
functions.</li>
<li>Replace <code>frequenz.client.common.pagination.Info</code> with
<code>frequenz.client.common.pagination.PaginationInfo</code>.</li>
<li>Use API-provided <code>v1alpha8</code> pagination protobuf messages
directly instead of
<code>frequenz.client.common.pagination.Params</code>.</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Merge tag 'v0.3.8' 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-client-common-python/pull/195">frequenz-floss/frequenz-client-common-python#195</a></li>
<li>Remove deprecated symbols by <a
href="https://github.com/llucax"><code>@llucax</code></a> in <a
href="https://redirect.github.com/frequenz-floss/frequenz-client-common-python/pull/196">frequenz-floss/frequenz-client-common-python#196</a></li>
<li>Prepare release notes for release v0.4.0 by <a
href="https://github.com/llucax"><code>@llucax</code></a> in <a
href="https://redirect.github.com/frequenz-floss/frequenz-client-common-python/pull/199">frequenz-floss/frequenz-client-common-python#199</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/frequenz-floss/frequenz-client-common-python/compare/v0.3.8...v0.4.0">https://github.com/frequenz-floss/frequenz-client-common-python/compare/v0.3.8...v0.4.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/frequenz-floss/frequenz-client-common-python/blob/v0.4.0/RELEASE_NOTES.md">frequenz-client-common's
changelog</a>.</em></p>
<blockquote>
<h1>Frequenz Client Common Library Release Notes</h1>
<h2>Summary</h2>
<p>This breaking release removes deprecated compatibility modules and
symbols, and implicit enum conversions.</p>
<h2>Upgrading</h2>
<blockquote>
<p>[!NOTE]
We recommend upgrading first to v0.3.8 and remove all deprecation
warnings (and implicit conversions of enum values to protobuf messages)
before upgrading to v0.4.0.</p>
<p>By doing so you'll be guided by the deprecation warnings and when you
are done, upgrading to v0.4.0 should imply not extra work.</p>
</blockquote>
<ul>
<li>Passing enum values directly to build protobuf messages is not
longer supported, you need to call the conversion functions
<code>xxx_(from|to)_proto_v1alpha8()</code> explicitly.</li>
<li>Replace <code>frequenz.client.common.metric.Metric</code> with
<code>frequenz.client.common.metrics.Metric</code>.</li>
<li>Replace <code>frequenz.client.common.microgrid.components</code>
imports with
<code>frequenz.client.common.microgrid.electrical_components</code>
imports.</li>
<li>Replace
<code>frequenz.client.common.enum_proto.enum_from_proto</code> with
<code>frequenz.client.common.proto.enum_from_proto</code>.</li>
<li>Replace <code>frequenz.client.common.metrics.proto</code> conversion
imports with <code>frequenz.client.common.metrics.proto.v1alpha8</code>
imports.</li>
<li>Replace <code>PaginationInfo.from_proto()</code>,
<code>PaginationInfo.to_proto()</code>, and
<code>PaginationInfo.to_proto_v1alpha8()</code> with
<code>frequenz.client.common.pagination.proto.v1alpha8</code> conversion
functions.</li>
<li>Replace <code>frequenz.client.common.pagination.Info</code> with
<code>frequenz.client.common.pagination.PaginationInfo</code>.</li>
<li>Use API-provided <code>v1alpha8</code> pagination protobuf messages
directly instead of
<code>frequenz.client.common.pagination.Params</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/cef0ee277062e652ad5880f48a19147aba792dcb"><code>cef0ee2</code></a>
Prepare release notes for release v0.4.0 (<a
href="https://redirect.github.com/frequenz-floss/frequenz-client-common-python/issues/199">#199</a>)</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/1553b17798f1ed76b5f71c92d6d8412c7c3c9be5"><code>1553b17</code></a>
Prepare release notes for release v0.4.0</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/82574d326a82a9fb12765ed856823feb075b168c"><code>82574d3</code></a>
Remove deprecated symbols (<a
href="https://redirect.github.com/frequenz-floss/frequenz-client-common-python/issues/196">#196</a>)</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/3b8b45af057d8f1ce6f50a62295fd7f211efbe70"><code>3b8b45a</code></a>
Update release notes</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/0772f7d0dd275c984efea482022f6a14d4632d33"><code>0772f7d</code></a>
Remove metrics proto shim exports</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/5e4cb7d11773ab0094ed6db72d8b83a6caaa1d6f"><code>5e4cb7d</code></a>
Remove deprecated enum proto module</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/788216c1469ffc31bb981ad00cca1bc1eadc38a2"><code>788216c</code></a>
Remove deprecated pagination shims</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/b58f272b29aec0567e1c62ab4cecda5a097f6f93"><code>b58f272</code></a>
Remove deprecated electrical component methods</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/0c8b1249576b3aa9e82022ced580dc90a0c35d49"><code>0c8b124</code></a>
Remove deprecated component module</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-client-common-python/commit/96a35850c596ddbaaccc9565fe14da8ed756d2da"><code>96a3585</code></a>
Remove deprecated metric module</li>
<li>Additional commits viewable in <a
href="https://github.com/frequenz-floss/frequenz-client-common-python/compare/v0.3.8...v0.4.0">compare
view</a></li>
</ul>
</details>
<br />1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments