Skip to content

Commit b1f4ef5

Browse files
build(deps): bump the controller group in /controller with 5 updates (#661)
Bumps the controller group in /controller with 5 updates: | Package | From | To | | --- | --- | --- | | [paho-mqtt](https://github.com/eclipse/paho.mqtt.python) | `1.6.1` | `2.1.0` | | [loguru](https://github.com/Delgan/loguru) | `0.5.3` | `0.7.2` | | [smbus2](https://github.com/kplindegaard/smbus2) | `0.4.3` | `0.5.0` | | [poethepoet](https://github.com/nat-n/poethepoet) | `0.25.1` | `0.35.0` | | [mypy](https://github.com/python/mypy) | `1.16.0` | `1.16.1` | Updates `paho-mqtt` from 1.6.1 to 2.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eclipse/paho.mqtt.python/releases">paho-mqtt's releases</a>.</em></p> <blockquote> <h2>v2.1.0</h2> <ul> <li>Make transition from 1.x to 2.x version smoother (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/831">#831</a>)</li> <li>Fix &quot;protocol&quot; property (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/820">#820</a>)</li> <li>Fix publish() a bytearray payload (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/833">#833</a>)</li> <li>Fix some type annotations (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/828">#828</a>)</li> <li>Fix loop_stop() not stopping thread when called from callback (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/809">#809</a>)</li> <li>Fix some documentation errors (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/817">#817</a>, <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/823">#823</a>, <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/832">#832</a>, <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/838">#838</a>)</li> <li>Add support for Unix socket (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/829">#829</a>)</li> <li>Fix flaky test (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/789">#789</a>)</li> </ul> <h2>v2.0.0</h2> <p>This release include breaking change. See <a href="https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html">https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html</a> for more details on how to upgrade.</p> <p>This release also introduce new documentation available online at <a href="https://eclipse.dev/paho/files/paho.mqtt.python/html/index.html">https://eclipse.dev/paho/files/paho.mqtt.python/html/index.html</a></p> <ul> <li><strong>BREAKING</strong> Added callback_api_version. This break <em>ALL</em> users of paho-mqtt Client class. See <a href="https://github.com/eclipse/paho.mqtt.python/blob/HEAD/docs/migrations.rst">migrations.rst</a> for details on how to upgrade. tl; dr; add <code>CallbackAPIVersion.VERSION1</code> to first argument of <code>Client()</code></li> <li><strong>BREAKING</strong> Drop support for Python 2.7, Python 3.5 and Python 3.6 Minimum tested version is Python 3.7 Python version up to Python 3.12 are tested.</li> <li><strong>BREAKING</strong> connect_srv changed it signature to take an additional bind_port parameter. This is a breaking change, but in previous version connect_srv was broken anyway. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/493">#493</a>.</li> <li><strong>BREAKING</strong> Remove some deprecated argument and method: <ul> <li><code>max_packets</code> argument in loop(), loop_write() and loop_forever() is removed</li> <li><code>force</code> argument in loop_stop() is removed</li> <li>method <code>message_retry_set()</code> is removed</li> </ul> </li> <li><strong>BREAKING</strong> Remove the base62, WebsocketWrapper and ConnectionState, as user shouldn't directly use them.</li> <li>Possible breaking change: Add properties to access most Client attribute. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/764">#764</a>. Since this add new properties like <code>logger</code>, if a sub-class defined <code>logger</code>, the two <code>logger</code> will conflict.</li> <li>Add version 2 of user-callback which allow to access MQTTv5 reason code &amp; properties that were missing from on_publish callback. Also it's more consistent in parameter order or between MQTTv3 and MQTTv5.</li> <li>Add types to Client class, which caused few change which should be compatible. Known risk of breaking changes: <ul> <li>Use enum for returned error code (like MQTT_ERR_SUCCESS). It use an IntEnum which should be a drop-in replacement. Excepted if someone is doing &quot;rc is 0&quot; instead of &quot;rc == 0&quot;.</li> <li>reason in on_connect callback when using MQTTv5 is now always a ReasonCode object. It used to possibly be an integer with the value 132.</li> <li>MQTTMessage field &quot;dup&quot; and &quot;retain&quot; used to be integer with value 0 and 1. They are now boolean.</li> </ul> </li> <li>Add support for ALPN protocols on TLS connection. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/790">#790</a> &amp; <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/648">#648</a>.</li> <li>Add on_pre_connect() callback, which is called immediately before a connection attempt is made.</li> <li>Fix subscribe.simple with MQTTv5. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/707">#707</a>.</li> <li>Use better name for thread started by loop_start. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/617">#617</a>.</li> <li>Fix possible bug during disconnection where self._sock is unexpectedly None. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/686">#686</a> &amp; <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/505">#505</a>.</li> <li>Fix loading too weak TLS CA file but setting allowed ciphers before loading CA. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/676">#676</a>.</li> <li>Allow to manually ack QoS &gt; 0 messages. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/753">#753</a> &amp; <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/348">#348</a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/eclipse-paho/paho.mqtt.python/blob/master/ChangeLog.txt">paho-mqtt's changelog</a>.</em></p> <blockquote> <h1>v2.1.0 - 2024-04-29</h1> <ul> <li>Make transition from 1.x to 2.x version smoother (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/831">#831</a>)</li> <li>Fix &quot;protocol&quot; property (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/820">#820</a>)</li> <li>Fix publish() a bytearray payload (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/833">#833</a>)</li> <li>Fix some type annotations (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/828">#828</a>)</li> <li>Fix loop_stop() not stopping thread when called from callback (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/809">#809</a>)</li> <li>Fix some documentation errors (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/817">#817</a>, <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/823">#823</a>, <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/832">#832</a>, <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/838">#838</a>)</li> <li>Add support for Unix socket (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/829">#829</a>)</li> <li>Fix flaky test (Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/789">#789</a>)</li> </ul> <h1>v2.0.0 - 2024-02-10</h1> <p>This release include breaking change. See <code>migrations &lt;https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html&gt;</code>_ for more details on how to upgrade.</p> <ul> <li> <p><strong>BREAKING</strong> Added callback_api_version. This break <em>ALL</em> users of paho-mqtt Client class. See docs/migrations.rst or <code>online version &lt;https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html&gt;</code>_ for details on how to upgrade. tl; dr; add CallbackAPIVersion.VERSION1 to first argument of Client()</p> </li> <li> <p><strong>BREAKING</strong> Drop support for Python 2.7, Python 3.5 and Python 3.6 Minimum tested version is Python 3.7 Python version up to Python 3.12 are tested.</p> </li> <li> <p><strong>BREAKING</strong> connect_srv changed it signature to take an additional bind_port parameter. This is a breaking change, but in previous version connect_srv was broken anyway. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/493">#493</a>.</p> </li> <li> <p><strong>BREAKING</strong> Remove some deprecated argument and method:</p> <ul> <li><code>max_packets</code> argument in loop(), loop_write() and loop_forever() is removed</li> <li><code>force</code> argument in loop_stop() is removed</li> <li>method <code>message_retry_set()</code> is removed</li> </ul> </li> <li> <p><strong>BREAKING</strong> Remove the base62, WebsocketWrapper and ConnectionState, as user shouldn't directly use them.</p> </li> <li> <p>Possible breaking change: Add properties to access most Client attribute. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/764">#764</a>. Since this add new properties like <code>logger</code>, if a sub-class defined <code>logger</code>, the two <code>logger</code> will conflict.</p> </li> <li> <p>Add version 2 of user-callback which allow to access MQTTv5 reason code &amp; properties that were missing from on_publish callback. Also it's more consistent in parameter order or between MQTTv3 and MQTTv5.</p> </li> <li> <p>Add types to Client class, which caused few change which should be compatible. Known risk of breaking changes:</p> <ul> <li>Use enum for returned error code (like MQTT_ERR_SUCCESS). It use an IntEnum which should be a drop-in replacement. Excepted if someone is doing &quot;rc is 0&quot; instead of &quot;rc == 0&quot;.</li> <li>reason in on_connect callback when using MQTTv5 is now always a ReasonCode object. It used to possibly be an integer with the value 132.</li> <li>MQTTMessage field &quot;dup&quot; and &quot;retain&quot; used to be integer with value 0 and 1. They are now boolean.</li> </ul> </li> <li> <p>Add support for ALPN protocols on TLS connection. Closes <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/790">#790</a> &amp; <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/648">#648</a>.</p> </li> <li> <p>Add on_pre_connect() callback, which is called immediately before a connection attempt is made.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/af64a4365c6ac5a7a4d339e7b00f44df91353b35"><code>af64a43</code></a> Bump version to 2.1.0</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/54e2e699bfcbf80d9bf32eeb437163b8d6e64b54"><code>54e2e69</code></a> Update changelog</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/0776a0015be4fcc369992af7eef4347724390f75"><code>0776a00</code></a> Merge pull request <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/839">#839</a> from eclipse/fix-bytearray-payload</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/7795dcdb0ab0258aab3e5ed9fe971cdfcb65b34e"><code>7795dcd</code></a> Fix publish() a bytearray payload</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/29c1d431ee80b39b1e3615104a749c45e735f009"><code>29c1d43</code></a> Merge pull request <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/838">#838</a> from REX2626/master</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/27bbdc3217b07c043b29ccb32b8a8ed253c0c41b"><code>27bbdc3</code></a> Merge pull request <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/829">#829</a> from akrpic77/ak_add_unix_transport</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/a0554dd9cae15429f2cbb9eca3453040035df912"><code>a0554dd</code></a> Fix linter report</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/8503635f0dd0bbf45bd11154621e37fa4baf8138"><code>8503635</code></a> Merge pull request <a href="https://redirect.github.com/eclipse/paho.mqtt.python/issues/832">#832</a> from eclipse/fix-link-to-migrations</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/e96ff7578f7f56a7f3068fbc3e7d0b48e1c64a97"><code>e96ff75</code></a> Try to fix tests</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/d4d0715d4224831ff5221ccebaca60b3e3aaab15"><code>d4d0715</code></a> Fix tests with msg.retain value check</li> <li>Additional commits viewable in <a href="https://github.com/eclipse/paho.mqtt.python/compare/v1.6.1...v2.1.0">compare view</a></li> </ul> </details> <br /> Updates `loguru` from 0.5.3 to 0.7.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Delgan/loguru/releases">loguru's releases</a>.</em></p> <blockquote> <h2>0.7.2</h2> <ul> <li>Add support for formatting of <code>ExceptionGroup</code> errors (<a href="https://redirect.github.com/Delgan/loguru/issues/805">#805</a>).</li> <li>Fix possible <code>RuntimeError</code> when using <code>multiprocessing.set_start_method()</code> after importing the <code>logger</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/974">#974</a>).</li> <li>Fix formatting of possible <code>__notes__</code> attached to an <code>Exception</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/980">#980</a>).</li> </ul> <h2>0.7.1</h2> <ul> <li>Add a new <code>context</code> optional argument to <code>logger.add()</code> specifying <code>multiprocessing</code> context (like <code>&quot;spawn&quot;</code> or <code>&quot;fork&quot;</code>) to be used internally instead of the default one (<a href="https://redirect.github.com/Delgan/loguru/issues/851">#851</a>).</li> <li>Add support for true colors on Windows using ANSI/VT console when available (<a href="https://redirect.github.com/Delgan/loguru/issues/934">#934</a>, thanks <a href="https://github.com/tunaflsh"><code>@​tunaflsh</code></a>).</li> <li>Fix possible deadlock when calling <code>logger.complete()</code> with concurrent logging of an asynchronous sink (<a href="https://redirect.github.com/Delgan/loguru/issues/906">#906</a>).</li> <li>Fix file possibly rotating too early or too late when re-starting an application around midnight (<a href="https://redirect.github.com/Delgan/loguru/issues/894">#894</a>).</li> <li>Fix inverted <code>&quot;&lt;hide&gt;&quot;</code> and <code>&quot;&lt;strike&gt;&quot;</code> color tags (<a href="https://redirect.github.com/Delgan/loguru/issues/943">#943</a>, thanks <a href="https://github.com/tunaflsh"><code>@​tunaflsh</code></a>).</li> <li>Fix possible untraceable errors raised when logging non-unpicklable <code>Exception</code> instances while using <code>enqueue=True</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/329">#329</a>).</li> <li>Fix possible errors raised when logging non-picklable <code>Exception</code> instances while using <code>enqueue=True</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/342">#342</a>, thanks <a href="https://github.com/ncoudene"><code>@​ncoudene</code></a>).</li> <li>Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy (<a href="https://redirect.github.com/Delgan/loguru/issues/961">#961</a>).</li> <li>Raise <code>ValueError</code> if an attempt to use nanosecond precision for time formatting is detected (<a href="https://redirect.github.com/Delgan/loguru/issues/855">#855</a>).</li> </ul> <h2>0.7.0</h2> <ul> <li>Update <code>InterceptHandler</code> recipe to make it compatible with Python 3.11 (<a href="https://redirect.github.com/Delgan/loguru/issues/654">#654</a>).</li> <li>Add a new <code>watch</code> optional argument to file sinks in order to automatically re-create possibly deleted or changed file (<a href="https://redirect.github.com/Delgan/loguru/issues/471">#471</a>).</li> <li>Make <code>patch()</code> calls cumulative instead of overriding the possibly existing patching function (<a href="https://redirect.github.com/Delgan/loguru/issues/462">#462</a>).</li> <li>Make sinks added with <code>enqueue=True</code> and <code>catch=False</code> still process logged messages in case of internal exception (<a href="https://redirect.github.com/Delgan/loguru/issues/833">#833</a>).</li> <li>Avoid possible deadlocks caused by re-using the logger inside a sink, a signal handler or a <code>__del__</code> method. Since the logger is not re-entrant, such misuse will be detected and will now generate a <code>RuntimeError</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/712">#712</a>, thanks <a href="https://github.com/jacksmith15"><code>@​jacksmith15</code></a>).</li> <li>Fix file sink rotation using an aware <code>datetime.time</code> for which the timezone was ignored (<a href="https://redirect.github.com/Delgan/loguru/issues/697">#697</a>).</li> <li>Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab (<a href="https://redirect.github.com/Delgan/loguru/issues/494">#494</a>).</li> <li>Fix logs colorization not automatically enabled for Github Actions and others CI platforms (<a href="https://redirect.github.com/Delgan/loguru/issues/604">#604</a>).</li> <li>Fix <code>logger.complete()</code> possibly hanging forever when <code>enqueue=True</code> and <code>catch=False</code> if internal thread killed due to <code>Exception</code> raised by sink (<a href="https://redirect.github.com/Delgan/loguru/issues/647">#647</a>).</li> <li>Fix incompatibility with <code>freezegun</code> library used to simulate time (<a href="https://redirect.github.com/Delgan/loguru/issues/600">#600</a>).</li> <li>Raise exception if <code>logger.catch()</code> is used to wrap a class instead of a function to avoid unexpected behavior (<a href="https://redirect.github.com/Delgan/loguru/issues/623">#623</a>).</li> </ul> <h2>0.6.0</h2> <ul> <li>Remove internal use of <code>pickle.loads()</code> considered as a security vulnerability referenced as <a href="https://nvd.nist.gov/vuln/detail/CVE-2022-0329">CVE-2022-0329</a> (<a href="https://redirect.github.com/Delgan/loguru/issues/563">#563</a>).</li> <li>Modify coroutine sink to make it discard log messages when <code>loop=None</code> and no event loop is running (due to internally using <code>asyncio.get_running_loop()</code> in place of <code>asyncio.get_event_loop()</code>).</li> <li>Remove the possibility to add a coroutine sink with <code>enqueue=True</code> if <code>loop=None</code> and no event loop is running.</li> <li>Change default encoding of file sink to be <code>utf8</code> instead of <code>locale.getpreferredencoding()</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/339">#339</a>).</li> <li>Prevent non-ascii characters to be escaped while logging JSON message with <code>serialize=True</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/575">#575</a>, thanks <a href="https://github.com/ponponon"><code>@​ponponon</code></a>).</li> <li>Fix <code>flake8</code> errors and improve code readability (<a href="https://redirect.github.com/Delgan/loguru/issues/353">#353</a>, thanks <a href="https://github.com/AndrewYakimets"><code>@​AndrewYakimets</code></a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Delgan/loguru/blob/master/CHANGELOG.rst">loguru's changelog</a>.</em></p> <blockquote> <h1><code>0.7.2</code>_ (2023-09-11)</h1> <ul> <li>Add support for formatting of <code>ExceptionGroup</code> errors (<code>[#805](Delgan/loguru#805) &lt;https://github.com/Delgan/loguru/issues/805&gt;</code>_).</li> <li>Fix possible <code>RuntimeError</code> when using <code>multiprocessing.set_start_method()</code> after importing the <code>logger</code> (<code>[#974](Delgan/loguru#974) &lt;https://github.com/Delgan/loguru/issues/974&gt;</code>_).</li> <li>Fix formatting of possible <code>__notes__</code> attached to an <code>Exception</code> (<code>[#980](Delgan/loguru#980) &lt;https://github.com/Delgan/loguru/issues/980&gt;</code>_).</li> </ul> <h1><code>0.7.1</code>_ (2023-09-04)</h1> <ul> <li>Add a new <code>context</code> optional argument to <code>logger.add()</code> specifying <code>multiprocessing</code> context (like <code>&quot;spawn&quot;</code> or <code>&quot;fork&quot;</code>) to be used internally instead of the default one (<code>[#851](Delgan/loguru#851) &lt;https://github.com/Delgan/loguru/issues/851&gt;</code>_).</li> <li>Add support for true colors on Windows using ANSI/VT console when available (<code>[#934](Delgan/loguru#934) &lt;https://github.com/Delgan/loguru/issues/934&gt;</code><em>, thanks <code>@tunaflsh &lt;https://github.com/tunaflsh&gt;</code></em>).</li> <li>Fix possible deadlock when calling <code>logger.complete()</code> with concurrent logging of an asynchronous sink (<code>[#906](Delgan/loguru#906) &lt;https://github.com/Delgan/loguru/issues/906&gt;</code>_).</li> <li>Fix file possibly rotating too early or too late when re-starting an application around midnight (<code>[#894](Delgan/loguru#894) &lt;https://github.com/Delgan/loguru/issues/894&gt;</code>_).</li> <li>Fix inverted <code>&quot;&lt;hide&gt;&quot;</code> and <code>&quot;&lt;strike&gt;&quot;</code> color tags (<code>[#943](Delgan/loguru#943) &lt;https://github.com/Delgan/loguru/pull/943&gt;</code><em>, thanks <code>@tunaflsh &lt;https://github.com/tunaflsh&gt;</code></em>).</li> <li>Fix possible untraceable errors raised when logging non-unpicklable <code>Exception</code> instances while using <code>enqueue=True</code> (<code>[#329](Delgan/loguru#329) &lt;https://github.com/Delgan/loguru/issues/329&gt;</code>_).</li> <li>Fix possible errors raised when logging non-picklable <code>Exception</code> instances while using <code>enqueue=True</code> (<code>[#342](Delgan/loguru#342) &lt;https://github.com/Delgan/loguru/issues/342&gt;</code><em>, thanks <code>@ncoudene &lt;https://github.com/ncoudene&gt;</code></em>).</li> <li>Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy (<code>[#961](Delgan/loguru#961) &lt;https://github.com/Delgan/loguru/issues/961&gt;</code>_).</li> <li>Raise <code>ValueError</code> if an attempt to use nanosecond precision for time formatting is detected (<code>[#855](Delgan/loguru#855) &lt;https://github.com/Delgan/loguru/issues/855&gt;</code>_).</li> </ul> <h1><code>0.7.0</code>_ (2023-04-10)</h1> <ul> <li>Update <code>InterceptHandler</code> recipe to make it compatible with Python 3.11 (<code>[#654](Delgan/loguru#654) &lt;https://github.com/Delgan/loguru/issues/654&gt;</code>_).</li> <li>Add a new <code>watch</code> optional argument to file sinks in order to automatically re-create possibly deleted or changed file (<code>[#471](Delgan/loguru#471) &lt;https://github.com/Delgan/loguru/issues/471&gt;</code>_).</li> <li>Make <code>patch()</code> calls cumulative instead of overriding the possibly existing patching function (<code>[#462](Delgan/loguru#462) &lt;https://github.com/Delgan/loguru/issues/462&gt;</code>_).</li> <li>Make sinks added with <code>enqueue=True</code> and <code>catch=False</code> still process logged messages in case of internal exception (<code>[#833](Delgan/loguru#833) &lt;https://github.com/Delgan/loguru/issues/833&gt;</code>_).</li> <li>Avoid possible deadlocks caused by re-using the logger inside a sink, a signal handler or a <code>__del__</code> method. Since the logger is not re-entrant, such misuse will be detected and will now generate a <code>RuntimeError</code> (<code>[#712](Delgan/loguru#712) &lt;https://github.com/Delgan/loguru/issues/712&gt;</code><em>, thanks <code>@jacksmith15 &lt;https://github.com/jacksmith15&gt;</code></em>).</li> <li>Fix file sink rotation using an aware <code>datetime.time</code> for which the timezone was ignored (<code>[#697](Delgan/loguru#697) &lt;https://github.com/Delgan/loguru/issues/697&gt;</code>_).</li> <li>Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab (<code>[#494](Delgan/loguru#494) &lt;https://github.com/Delgan/loguru/issues/494&gt;</code>_).</li> <li>Fix logs colorization not automatically enabled for Github Actions and others CI platforms (<code>[#604](Delgan/loguru#604) &lt;https://github.com/Delgan/loguru/issues/604&gt;</code>_).</li> <li>Fix <code>logger.complete()</code> possibly hanging forever when <code>enqueue=True</code> and <code>catch=False</code> if internal thread killed due to <code>Exception</code> raised by sink (<code>[#647](Delgan/loguru#647) &lt;https://github.com/Delgan/loguru/issues/647&gt;</code>_).</li> <li>Fix incompatibility with <code>freezegun</code> library used to simulate time (<code>[#600](Delgan/loguru#600) &lt;https://github.com/Delgan/loguru/issues/600&gt;</code>_).</li> <li>Raise exception if <code>logger.catch()</code> is used to wrap a class instead of a function to avoid unexpected behavior (<code>[#623](Delgan/loguru#623) &lt;https://github.com/Delgan/loguru/issues/623&gt;</code>_).</li> </ul> <h1><code>0.6.0</code>_ (2022-01-29)</h1> <ul> <li>Remove internal use of <code>pickle.loads()</code> to fix the (finally rejected) security vulnerability referenced as <code>CVE-2022-0329 &lt;https://nvd.nist.gov/vuln/detail/CVE-2022-0329&gt;</code>_ (<code>[#563](Delgan/loguru#563) &lt;https://github.com/Delgan/loguru/issues/563&gt;</code>_).</li> <li>Modify coroutine sink to make it discard log messages when <code>loop=None</code> and no event loop is running (due to internally using <code>asyncio.get_running_loop()</code> in place of <code>asyncio.get_event_loop()</code>).</li> <li>Remove the possibility to add a coroutine sink with <code>enqueue=True</code> if <code>loop=None</code> and no event loop is running.</li> <li>Change default encoding of file sink to be <code>utf8</code> instead of <code>locale.getpreferredencoding()</code> (<code>[#339](Delgan/loguru#339) &lt;https://github.com/Delgan/loguru/issues/339&gt;</code>_).</li> <li>Prevent non-ascii characters to be escaped while logging JSON message with <code>serialize=True</code> (<code>[#575](Delgan/loguru#575) &lt;https://github.com/Delgan/loguru/pull/575&gt;</code><em>, thanks <code>@ponponon &lt;https://github.com/ponponon&gt;</code></em>).</li> <li>Fix <code>flake8</code> errors and improve code readability (<code>[#353](Delgan/loguru#353) &lt;https://github.com/Delgan/loguru/issues/353&gt;</code><em>, thanks <code>@AndrewYakimets &lt;https://github.com/AndrewYakimets&gt;</code></em>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Delgan/loguru/commit/e1f48c91cf2646b6429020f784881cd200663114"><code>e1f48c9</code></a> Bump version to 0.7.2</li> <li><a href="https://github.com/Delgan/loguru/commit/086126fd8d0065336e40f7ea05546c5e62313e1b"><code>086126f</code></a> Fix error using &quot;set_start_method()&quot; after &quot;logger&quot; import (<a href="https://redirect.github.com/Delgan/loguru/issues/974">#974</a>)</li> <li><a href="https://github.com/Delgan/loguru/commit/14fa062bdb4388d77250b1f7224024fea3c84bbf"><code>14fa062</code></a> Add tested support for Python 3.12</li> <li><a href="https://github.com/Delgan/loguru/commit/30861599cbad57163bd8c218962c04c32e1e5250"><code>3086159</code></a> Fix some deprecation warnings in tests by upgrading Mypy</li> <li><a href="https://github.com/Delgan/loguru/commit/b28978eb4fa1683073bbd54635429a60058fcec3"><code>b28978e</code></a> Fix deprecation caused by pickled &quot;itertools.count()&quot;</li> <li><a href="https://github.com/Delgan/loguru/commit/37a2db2d416141480abd68eb800a61c9c96b8a10"><code>37a2db2</code></a> Fix deprecation of &quot;datetime.utcfromoffset()&quot;</li> <li><a href="https://github.com/Delgan/loguru/commit/f1e94ab838df3f6cf84ccc72fad6bfbc4ae0d99c"><code>f1e94ab</code></a> Fix f-string formatting in traceback of Python 3.12</li> <li><a href="https://github.com/Delgan/loguru/commit/22bccb728a83655594a9aba8b2c7e5145d28efe3"><code>22bccb7</code></a> Fix possible truncated source while colorizing traceback in Python 3.12</li> <li><a href="https://github.com/Delgan/loguru/commit/db6c40bac14fa090ac0a85a9b9707b649ece6a03"><code>db6c40b</code></a> Remove some noqa and adjust test reference files (<a href="https://redirect.github.com/Delgan/loguru/issues/982">#982</a>)</li> <li><a href="https://github.com/Delgan/loguru/commit/0f9cdebfe84250e8fd73993a1ca0023ddc933de8"><code>0f9cdeb</code></a> Fix formatting of possible notes added to an Exception (<a href="https://redirect.github.com/Delgan/loguru/issues/980">#980</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Delgan/loguru/compare/0.5.3...0.7.2">compare view</a></li> </ul> </details> <br /> Updates `smbus2` from 0.4.3 to 0.5.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kplindegaard/smbus2/releases">smbus2's releases</a>.</em></p> <blockquote> <h2>Quality of Life Update</h2> <ul> <li>Minor version of the lib was bumped because of the &quot;QoL&quot; improvement in <a href="https://redirect.github.com/kplindegaard/smbus2/pull/107">107</a> , which about object life-cycle to better handle &quot;open -&gt; close -&gt; open&quot; scenarios. Subtle as it is, it should not cause issues upgrading from v0.4.x to 0.5.0 except under some rare and obscure cases containing manual workarounds for similar &quot;open -&gt; close -&gt; re-open&quot; sequences.</li> <li>Maintenance updates: <ul> <li>Documentation builds again! <a href="https://redirect.github.com/kplindegaard/smbus2/pull/106">106</a>.</li> <li>Typing corrections. <a href="https://redirect.github.com/kplindegaard/smbus2/pull/109">109</a>.</li> <li>Python 3.12, 3.13 added.</li> </ul> </li> </ul> <h2>What's Changed</h2> <ul> <li>add .readthedocs.yaml by <a href="https://github.com/thijstriemstra"><code>@​thijstriemstra</code></a> in <a href="https://redirect.github.com/kplindegaard/smbus2/pull/106">kplindegaard/smbus2#106</a></li> <li>Handle re-opening a closed bus by <a href="https://github.com/henrik-nil-acc"><code>@​henrik-nil-acc</code></a> in <a href="https://redirect.github.com/kplindegaard/smbus2/pull/107">kplindegaard/smbus2#107</a></li> <li>Typing corrections by <a href="https://github.com/yodaldevoid"><code>@​yodaldevoid</code></a> in <a href="https://redirect.github.com/kplindegaard/smbus2/pull/109">kplindegaard/smbus2#109</a></li> <li>fix markup by <a href="https://github.com/thijstriemstra"><code>@​thijstriemstra</code></a> in <a href="https://redirect.github.com/kplindegaard/smbus2/pull/114">kplindegaard/smbus2#114</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/kplindegaard/smbus2/compare/0.4.3...0.5.0">https://github.com/kplindegaard/smbus2/compare/0.4.3...0.5.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kplindegaard/smbus2/blob/master/CHANGELOG.md">smbus2's changelog</a>.</em></p> <blockquote> <h2>[0.5.0] - 2024-10-19</h2> <ul> <li>Slight change of <code>SMBus</code> object life-cycle to better handle &quot;open -&gt; close -&gt; open&quot; scenarios. <a href="https://redirect.github.com/kplindegaard/smbus2/pull/107">107</a>.</li> <li>Maintenance updates: <ul> <li>Documentation builds again! <a href="https://redirect.github.com/kplindegaard/smbus2/pull/106">106</a>.</li> <li>Typing corrections. <a href="https://redirect.github.com/kplindegaard/smbus2/pull/109">109</a>.</li> <li>Python 3.12, 3.13 added.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kplindegaard/smbus2/commit/51608b06ffc1f5c37289d1939759ed870887b199"><code>51608b0</code></a> Prep release 0.5.0 (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/116">#116</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/f88fe84f507970963c3e010fb545480e5ef43298"><code>f88fe84</code></a> fix markup (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/114">#114</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/865af1ea083a016c9065694c85d6f2eae262df3d"><code>865af1e</code></a> Typing corrections (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/109">#109</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/6724759ef18b860076b5f98bbb2c58905390ef6e"><code>6724759</code></a> Python 3.12 build and test (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/105">#105</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/a7bede76efd42f3896be70417b0d585462772c8d"><code>a7bede7</code></a> Handle re-opening a closed bus (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/107">#107</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/9df07b718d62291d1c023ec2cd53416f77aa8b55"><code>9df07b7</code></a> add .readthedocs.yaml (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/106">#106</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/00e890986e3a8f8b51bc921247ec278629d1b3ae"><code>00e8909</code></a> Bump github/codeql-action from 2 to 3 (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/103">#103</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/356dc5c0a8b47ca3256a6147c2eae563f7349018"><code>356dc5c</code></a> Bump actions/setup-python from 4 to 5 (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/102">#102</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/2666153b41253bd703312b815eb90831891496b8"><code>2666153</code></a> Bump actions/checkout from 3 to 4 (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/98">#98</a>)</li> <li><a href="https://github.com/kplindegaard/smbus2/commit/7e1badce7e634abe6fc521f2138f0ae9bcfc113a"><code>7e1badc</code></a> Bump github/codeql-action from 1 to 2 (<a href="https://redirect.github.com/kplindegaard/smbus2/issues/97">#97</a>)</li> <li>Additional commits viewable in <a href="https://github.com/kplindegaard/smbus2/compare/0.4.3...0.5.0">compare view</a></li> </ul> </details> <br /> Updates `poethepoet` from 0.25.1 to 0.35.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nat-n/poethepoet/releases">poethepoet's releases</a>.</em></p> <blockquote> <h2>0.35.0</h2> <h2>Enhancements</h2> <ul> <li>Support script tasks that run packages with a <code>__main__</code> module by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/300">nat-n/poethepoet#300</a></li> <li>Allow virtualenv location to reference special git related env vars by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/302">nat-n/poethepoet#302</a></li> <li>Simplify CLI help page header by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/291">nat-n/poethepoet#291</a></li> </ul> <h2>Fixes</h2> <ul> <li>Don't register hidden tasks with poetry plugin by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/292">nat-n/poethepoet#292</a></li> <li>Don't resolve symlinks to poetry in PoetryExecutor by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/293">nat-n/poethepoet#293</a></li> <li>Crash with invalid help option on task by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/294">nat-n/poethepoet#294</a></li> <li>Always validate task args when loading config by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/295">nat-n/poethepoet#295</a></li> <li>Coerce switch case values to string to avoid errors by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/296">nat-n/poethepoet#296</a></li> <li>Always print help when no arguments provided by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/299">nat-n/poethepoet#299</a></li> <li>Suppress useless global options in the poetry plugin cli by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/301">nat-n/poethepoet#301</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nat-n/poethepoet/compare/v0.34.0...v0.35.0">https://github.com/nat-n/poethepoet/compare/v0.34.0...v0.35.0</a></p> <h2>0.34.0</h2> <h2>Enhancements</h2> <ul> <li>Add task packages feature by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/286">nat-n/poethepoet#286</a> <blockquote> <p>This adds a major new capability in Poe the Poet by allowing tasks to be defined and distributed for reuse in python modules. <a href="https://poethepoet.natn.io/guides/packaged_tasks.html">📖 Read the docs</a> for more details</p> </blockquote> </li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nat-n/poethepoet/compare/v0.33.1...v0.34.0">https://github.com/nat-n/poethepoet/compare/v0.33.1...v0.34.0</a></p> <h2>0.33.1</h2> <h2>Fixes</h2> <ul> <li>Don't resolve symlinks to uv in UvExecutor by <a href="https://github.com/sewi-cpan"><code>@​sewi-cpan</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/283">nat-n/poethepoet#283</a></li> <li>Make UvExecutor set directory and project options on uv run by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/285">nat-n/poethepoet#285</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/sewi-cpan"><code>@​sewi-cpan</code></a> made their first contribution in <a href="https://redirect.github.com/nat-n/poethepoet/pull/284">nat-n/poethepoet#284</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nat-n/poethepoet/compare/v0.33.0...v0.33.1">https://github.com/nat-n/poethepoet/compare/v0.33.0...v0.33.1</a></p> <h2>0.33.0</h2> <h2>Enhancements</h2> <ul> <li>Implemented first version of UvExecutor by <a href="https://github.com/AKuederle"><code>@​AKuederle</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/271">nat-n/poethepoet#271</a></li> <li>Support displaying help for a single task by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/280">nat-n/poethepoet#280</a></li> </ul> <h2>Fixes</h2> <ul> <li>Fix argument parsing issues in poetry 2.0 plugin by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/277">nat-n/poethepoet#277</a></li> <li>Use <code>python3</code> or <code>sys.executable</code> if <code>python</code> is not on the path by <a href="https://github.com/nat-n"><code>@​nat-n</code></a> in <a href="https://redirect.github.com/nat-n/poethepoet/pull/278">nat-n/poethepoet#278</a></li> <li>Tighten poetry-core dependency for non-wheel based installation methods</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/nat-n/poethepoet/compare/v0.25.1...v0.35.0">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.16.0 to 1.16.1 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/68b8fa097d080c92d30a429bc74de8acd56caf85"><code>68b8fa0</code></a> Bump version to 1.16.1</li> <li><a href="https://github.com/python/mypy/commit/e253eded9c887630f3f5404c4b9f73f13570476a"><code>e253ede</code></a> Single underscore is not a sunder (<a href="https://redirect.github.com/python/mypy/issues/19273">#19273</a>)</li> <li><a href="https://github.com/python/mypy/commit/9fb5ff66c51bd971d7a6b1260cc0ec9f1b82cc06"><code>9fb5ff6</code></a> Fix properties with setters after deleters (<a href="https://redirect.github.com/python/mypy/issues/19248">#19248</a>)</li> <li><a href="https://github.com/python/mypy/commit/c20fd7838338cd65d6c7c6e252eda85996cfc98e"><code>c20fd78</code></a> Handle assignment of bound methods in class bodies (<a href="https://redirect.github.com/python/mypy/issues/19233">#19233</a>)</li> <li><a href="https://github.com/python/mypy/commit/c86480ce51e4bb6db21f4b3f0b3ec8833aafc8ce"><code>c86480c</code></a> Tighten metaclass <strong>call</strong> handling in protocols (<a href="https://redirect.github.com/python/mypy/issues/19191">#19191</a>)</li> <li><a href="https://github.com/python/mypy/commit/cb3c6ec6a7aaa96a0e26768a946ac63ea14115f2"><code>cb3c6ec</code></a> Fix crash on partial type used as context (<a href="https://redirect.github.com/python/mypy/issues/19216">#19216</a>)</li> <li><a href="https://github.com/python/mypy/commit/c39f5e73c47182e51c5d8d488f7cc7301257c974"><code>c39f5e7</code></a> [mypyc] Fixing condition for handling user-defined <strong>del</strong> (<a href="https://redirect.github.com/python/mypy/issues/19188">#19188</a>)</li> <li><a href="https://github.com/python/mypy/commit/0a4f28431faa18e59d35bc269cb0ea6c00810653"><code>0a4f284</code></a> Fix crash on invalid property inside its own body (<a href="https://redirect.github.com/python/mypy/issues/19208">#19208</a>)</li> <li><a href="https://github.com/python/mypy/commit/9b079f6592740a51c0e629728eeb0324ad85126f"><code>9b079f6</code></a> Bump version to 1.16.1+dev</li> <li>See full diff in <a href="https://github.com/python/mypy/compare/v1.16.0...v1.16.1">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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sonny Piers <sonny@fairscope.com>
1 parent 3aa9fde commit b1f4ef5

2 files changed

Lines changed: 122 additions & 101 deletions

File tree

0 commit comments

Comments
 (0)