-
Notifications
You must be signed in to change notification settings - Fork 11
Commit 3cc43e4
authored
Update frequenz-channels requirement from <0.17.0,>=0.16.0 to >=0.16.0,<1.1.0 (#9)
Updates the requirements on
[frequenz-channels](https://github.com/frequenz-floss/frequenz-channels-python)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/frequenz-floss/frequenz-channels-python/releases">frequenz-channels's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.0</h2>
<h1>Frequenz channels Release Notes</h1>
<h2>Summary</h2>
<p>This is the first stable release of the Frequenz channels
library.</p>
<p>If you are <strong>upgrading from the previous 1.0.0
pre-releases</strong>, please look into the release notes for those
versions to see the changes and upgrade instructions:</p>
<ul>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-rc.1">1.0.0-rc.1</a></li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-beta.2">1.0.0-beta.2</a></li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-beta.1">1.0.0-beta.1</a></li>
</ul>
<p>There were no changes between 1.0.0-rc.1 and this 1.0.0 final
release.</p>
<p>If you are <strong>upgrading from v0.16.x</strong>, please keep
reading these release notes.</p>
<h2>Upgrading</h2>
<ul>
<li>
<p>The following symbols were moved to the top-level
<code>frequenz.channels</code> package:</p>
<ul>
<li><code>Selected</code></li>
<li><code>SelectError</code></li>
<li><code>UnhandledSelectedError</code></li>
<li><code>select</code></li>
<li><code>selected_from</code></li>
</ul>
</li>
<li>
<p><code>util</code></p>
<p>The entire <code>util</code> package was removed and its symbols were
either moved to the top-level package or to their own public modules (as
noted above).</p>
</li>
<li>
<p>All exceptions that took <code>Any</code> as the <code>message</code>
argument now take <code>str</code> instead.</p>
<p>If you were passing a non-<code>str</code> value to an exception, you
should convert it using <code>str(value)</code> before passing it to the
exception.</p>
</li>
<li>
<p><code>Anycast</code></p>
<ul>
<li>
<p><code>__init__</code>: The <code>maxsize</code> argument was renamed
to <code>limit</code> and made keyword-only and a new keyword-only
<code>name</code> (required) argument was added.</p>
<p>You should instantiate using <code>Anycast(name=...,
limit=...)</code> (or <code>Anycast(name=...)</code> if the default
<code>limit</code> is enough) instead of <code>Anycast(...)</code> or
<code>Anycast(maxsize=...)</code>.</p>
</li>
<li>
<p>The following properties were changed:</p>
<ul>
<li><code>limit</code>: is now read-only.</li>
<li><code>closed</code>: is now named <code>is_closed</code> and
read-only.</li>
</ul>
</li>
<li>
<p><code>new_sender</code> and <code>new_receiver</code>: They now
return a base <code>Sender</code> and <code>Receiver</code> class
(respectively) instead of a channel-specific <code>Sender</code> or
<code>Receiver</code> subclass.</p>
<p>This means users now don't have access to the internals to the
channel-specific <code>Sender</code> and <code>Receiver</code>
subclasses.</p>
</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/frequenz-floss/frequenz-channels-python/blob/v1.0.0/RELEASE_NOTES.md">frequenz-channels's
changelog</a>.</em></p>
<blockquote>
<h1>Frequenz channels Release Notes</h1>
<h2>Summary</h2>
<p>This is the first stable release of the Frequenz channels
library.</p>
<p>If you are <strong>upgrading from the previous 1.0.0
pre-releases</strong>, please look into the release notes for those
versions to see the changes and upgrade instructions:</p>
<ul>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-rc.1">1.0.0-rc.1</a></li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-beta.2">1.0.0-beta.2</a></li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-beta.1">1.0.0-beta.1</a></li>
</ul>
<p>There were no changes between 1.0.0-rc.1 and this 1.0.0 final
release.</p>
<p>If you are <strong>upgrading from v0.16.x</strong>, please keep
reading these release notes.</p>
<h2>Upgrading</h2>
<ul>
<li>
<p>The following symbols were moved to the top-level
<code>frequenz.channels</code> package:</p>
<ul>
<li><code>Selected</code></li>
<li><code>SelectError</code></li>
<li><code>UnhandledSelectedError</code></li>
<li><code>select</code></li>
<li><code>selected_from</code></li>
</ul>
</li>
<li>
<p><code>util</code></p>
<p>The entire <code>util</code> package was removed and its symbols were
either moved to the top-level package or to their own public modules (as
noted above).</p>
</li>
<li>
<p>All exceptions that took <code>Any</code> as the <code>message</code>
argument now take <code>str</code> instead.</p>
<p>If you were passing a non-<code>str</code> value to an exception, you
should convert it using <code>str(value)</code> before passing it to the
exception.</p>
</li>
<li>
<p><code>Anycast</code></p>
<ul>
<li>
<p><code>__init__</code>: The <code>maxsize</code> argument was renamed
to <code>limit</code> and made keyword-only and a new keyword-only
<code>name</code> (required) argument was added.</p>
<p>You should instantiate using <code>Anycast(name=...,
limit=...)</code> (or <code>Anycast(name=...)</code> if the default
<code>limit</code> is enough) instead of <code>Anycast(...)</code> or
<code>Anycast(maxsize=...)</code>.</p>
</li>
<li>
<p>The following properties were changed:</p>
<ul>
<li><code>limit</code>: is now read-only.</li>
<li><code>closed</code>: is now named <code>is_closed</code> and
read-only.</li>
</ul>
</li>
<li>
<p><code>new_sender</code> and <code>new_receiver</code>: They now
return a base <code>Sender</code> and <code>Receiver</code> class
(respectively) instead of a channel-specific <code>Sender</code> or
<code>Receiver</code> subclass.</p>
<p>This means users now don't have access to the internals to the
channel-specific <code>Sender</code> and <code>Receiver</code>
subclasses.</p>
</li>
</ul>
</li>
<li>
<p><code>Broadcast</code></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/6be80c1794b48cdfca4f686a7bd6224a779931b1"><code>6be80c1</code></a>
Bump the optional group with 1 update (<a
href="https://redirect.github.com/frequenz-floss/frequenz-channels-python/issues/290">#290</a>)</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/4c9c133c86b0cb3ad1e9adfce82a88d9010e1dfd"><code>4c9c133</code></a>
Bump the optional group with 1 update</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/d9b7d224b7418cefcbe58d130928d7f0178b065a"><code>d9b7d22</code></a>
Update release notes for the 1.0.0 final release (<a
href="https://redirect.github.com/frequenz-floss/frequenz-channels-python/issues/288">#288</a>)</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/1afcf80f85580d37e27e044d7c8f848cdce4aa7c"><code>1afcf80</code></a>
Bump the optional group with 11 updates (<a
href="https://redirect.github.com/frequenz-floss/frequenz-channels-python/issues/286">#286</a>)</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/4fc2728ab29b7e2fe925df4b1fc4749d868e44c3"><code>4fc2728</code></a>
Bump nox from 2023.4.22 to 2024.3.2 (<a
href="https://redirect.github.com/frequenz-floss/frequenz-channels-python/issues/287">#287</a>)</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/7e67716a3894e7685516f31135102a9d8c53a5da"><code>7e67716</code></a>
Update release notes for the 1.0.0 final release</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/a21c1b64043e1981d716f759fff4add3d85d6bd6"><code>a21c1b6</code></a>
Bump nox from 2023.4.22 to 2024.3.2</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/0b7cea5427c24b31b2ffaa327ee23c66813e62e5"><code>0b7cea5</code></a>
Bump the optional group with 11 updates</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/5cf5b9bbace2524bbe4631921a95b516795b60c1"><code>5cf5b9b</code></a>
Clear release notes (<a
href="https://redirect.github.com/frequenz-floss/frequenz-channels-python/issues/285">#285</a>)</li>
<li><a
href="https://github.com/frequenz-floss/frequenz-channels-python/commit/927757c8a6000f6da0012c6b316ff86ba5f590f1"><code>927757c</code></a>
Clear release notes</li>
<li>Additional commits viewable in <a
href="https://github.com/frequenz-floss/frequenz-channels-python/compare/v0.16.0...v1.0.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>File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments