Repository navigation
Improve UnknownPackageError message clarity - #5336
Conversation
|
would like to have someone with the authority to review and act on this pull request |
|
Thanks for the PR! This PR needs additional work, as UnknownPackageError is generic for both tool-type and library-type packages. While libraries are agnostic to the host machine architecture, “tool” packages are not. We will think further about this issue. |
|
Thank you for the feedback! I understand the concern about UnknownPackageError being too generic for both tool and library packages. Changes Made: |
|
This approach maintains backward compatibility (since IncompatiblePackageError inherits from UnknownPackageError) while providing clearer feedback to users when architecture incompatibility is the issue. Please let me know if this addresses your concerns or if you'd like me to take a different approach! |
|
@ivankravets |
|
Thanks for the PR! Please re-test with |
|
Thank you for merging the PR! |
Updates the requirements on [requests](https://github.com/psf/requests), [cryptography](https://github.com/pyca/cryptography), [paho-mqtt](https://github.com/eclipse-paho/paho.mqtt.python) and [platformio](https://github.com/platformio/platformio) to permit the latest version. Updates `requests` to 2.34.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/releases">requests's releases</a>.</em></p> <blockquote> <h2>v2.34.2</h2> <h2>2.34.2 (2026-05-14)</h2> <ul> <li>Moved <code>headers</code> input type back to <code>Mapping</code> to avoid invariance issues with <code>MutableMapping</code> and inferred dict types. Users calling <code>Request.headers.update()</code> may need to narrow typing in their code. (<a href="https://redirect.github.com/psf/requests/issues/7441">#7441</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14">https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's changelog</a>.</em></p> <blockquote> <h2>2.34.2 (2026-05-14)</h2> <ul> <li>Moved <code>headers</code> input type back to <code>Mapping</code> to avoid invariance issues with <code>MutableMapping</code> and inferred dict types. Users calling <code>Request.headers.update()</code> may need to narrow typing in their code. (<a href="https://redirect.github.com/psf/requests/issues/7441">#7441</a>)</li> </ul> <h2>2.34.1 (2026-05-13)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Widened <code>json</code> input type from <code>dict</code> and <code>list</code> to <code>Mapping</code> and <code>Sequence</code>. (<a href="https://redirect.github.com/psf/requests/issues/7436">#7436</a>)</li> <li>Changed <code>headers</code> input type to MutableMapping and removed <code>None</code> from <code>Request.headers</code> typing to improve handling for users. (<a href="https://redirect.github.com/psf/requests/issues/7431">#7431</a>)</li> <li><code>Response.reason</code> moved from <code>str | None</code> to <code>str</code> to improve handling for users. (<a href="https://redirect.github.com/psf/requests/issues/7437">#7437</a>)</li> <li>Fixed a bug where some bodies with custom <code>__getattr__</code> implementations weren't being properly detected as Iterables. (<a href="https://redirect.github.com/psf/requests/issues/7433">#7433</a>)</li> </ul> <h2>2.34.0 (2026-05-11)</h2> <p><strong>Announcements</strong></p> <ul> <li> <p>Requests 2.34.0 introduces inline types, replacing those provided by typeshed. Public API types should be fully compatible with mypy, pyright, and ty. We believe types are comprehensive but if you find issues, please report them to the pinned tracking issue.</p> <p>Special thanks to <a href="https://github.com/bastimeyer"><code>@bastimeyer</code></a>, <a href="https://github.com/cthoyt"><code>@cthoyt</code></a>, <a href="https://github.com/edgarrmondragon"><code>@edgarrmondragon</code></a>, and <a href="https://github.com/srittau"><code>@srittau</code></a> for helping review and test the types ahead of the release. (<a href="https://redirect.github.com/psf/requests/issues/7272">#7272</a>)</p> </li> </ul> <p><strong>Improvements</strong></p> <ul> <li>Digest Auth hashing algorithms have added <code>usedforsecurity=False</code> to clarify security considerations. (<a href="https://redirect.github.com/psf/requests/issues/7310">#7310</a>)</li> <li>Requests added support for Python 3.15 based on beta1. Downstream projects should be able to start testing prior to its release in October. (<a href="https://redirect.github.com/psf/requests/issues/7422">#7422</a>)</li> <li>Requests added support for Python 3.14t. (<a href="https://redirect.github.com/psf/requests/issues/7419">#7419</a>)</li> </ul> <p><strong>Bugfixes</strong></p> <ul> <li><code>Response.history</code> no longer contains a reference to itself, preventing accidental looping when traversing the history list. (<a href="https://redirect.github.com/psf/requests/issues/7328">#7328</a>)</li> <li>Requests no longer performs greedy matching on no_proxy domains. The proxy_bypass implementation has been updated with CPython's fix from bpo-39057. (<a href="https://redirect.github.com/psf/requests/issues/7427">#7427</a>)</li> <li>Requests no longer incorrectly strips duplicate leading slashes in URI paths. This should address user issues with specific presigned URLs. Note the full fix requires urllib3 2.7.0+. (<a href="https://redirect.github.com/psf/requests/issues/7315">#7315</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/requests/commit/6e83187b8feb273ed4c6cdab5efd8d54901dfab3"><code>6e83187</code></a> v2.34.2</li> <li><a href="https://github.com/psf/requests/commit/84d10f0be83e8f6aeca8a05230c52216431c4d0b"><code>84d10f0</code></a> Move Request.headers back to Mapping (<a href="https://redirect.github.com/psf/requests/issues/7441">#7441</a>)</li> <li><a href="https://github.com/psf/requests/commit/b7b549b54571d03950b16afd2d01bc6ff0348224"><code>b7b549b</code></a> v2.34.1</li> <li><a href="https://github.com/psf/requests/commit/e511bc72777a94c45d004e010c597925092e1efe"><code>e511bc7</code></a> Fix mutability issues with headers input types (<a href="https://redirect.github.com/psf/requests/issues/7431">#7431</a>)</li> <li><a href="https://github.com/psf/requests/commit/5691f596134c2feb121e595c77a0178921fcce61"><code>5691f59</code></a> Update JsonType containers to read-based collections (<a href="https://redirect.github.com/psf/requests/issues/7436">#7436</a>)</li> <li><a href="https://github.com/psf/requests/commit/2144213c307691710c9d665700860fc4993c3035"><code>2144213</code></a> Constrain Response.reason to str (<a href="https://redirect.github.com/psf/requests/issues/7437">#7437</a>)</li> <li><a href="https://github.com/psf/requests/commit/6404f345e562d962abe6700a1c357ec1e7e18232"><code>6404f34</code></a> Fix <code>prepare_body</code> stream detection for <code>__getattr__</code>-based file wrappers (<a href="https://redirect.github.com/psf/requests/issues/7">#7</a>...</li> <li><a href="https://github.com/psf/requests/commit/0b401c76b6e80a4eecf3c690085b2553f6e261ca"><code>0b401c7</code></a> v2.34.0</li> <li><a href="https://github.com/psf/requests/commit/86b378d3f60f828daa13ca50aa82e287ff7b66b4"><code>86b378d</code></a> Align Session.get parameters with requests.get (<a href="https://redirect.github.com/psf/requests/issues/7429">#7429</a>)</li> <li><a href="https://github.com/psf/requests/commit/a4f9a5999bdb9bf2d6e7c8aa973b28cacb17134f"><code>a4f9a59</code></a> Port bpo-39057 to Requests (<a href="https://redirect.github.com/psf/requests/issues/7427">#7427</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/requests/compare/v2.28.0...v2.34.2">compare view</a></li> </ul> </details> <br /> Updates `cryptography` to 50.0.2 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>50.0.2 - 2026-09-30</p> <pre><code> * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 4.0.3. * Added ``abi3.abi3t`` wheels for free-threaded CPython 3.15 and later. * Updated to PyO3 0.29.2, which fixes building ``cryptography`` on Cygwin and MSYS2. <p>.. _v50-0-1:</p> <p>50.0.1 - 2026-08-25 </code></pre></p> <ul> <li>Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 4.0.2.</li> </ul> <p>.. _v50-0-0:</p> <p>50.0.0 - 2026-07-31</p> <pre><code> * **SECURITY ISSUE**: :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_der` and its PEM and S/MIME variants no longer expose distinguishable errors or timing when unwrapping a ``RecipientInfo``'s ``encryptedKey``, which could act as a Bleichenbacher oracle for callers that decrypt untrusted messages. A random key is now substituted on failure, as described in :rfc:`3218`. Credit to **@X1AOxiang** for reporting the issue. **CVE-2026-69247** * Deprecated Diffie-Hellman key exchange over finite fields (FFDH). Everything FFDH is deprecated, including the types in ``cryptography.hazmat.primitives.asymmetric.dh`` and loading FFDH keys or parameters with the key loading APIs. Users should migrate to a more modern key exchange algorithm. * Added ``xof()`` class methods to :class:`~cryptography.hazmat.primitives.hashes.SHAKE128` and :class:`~cryptography.hazmat.primitives.hashes.SHAKE256` for constructing algorithm instances configured for use with :class:`~cryptography.hazmat.primitives.hashes.XOFHash`. * The :mod:`X.509 verification <cryptography.x509.verification>` APIs are now considered stable and are subject to our API stability policy. * Added the :doc:`/cobblestone` recipe, an implementation of the Cobblestone-128 and Cobblestone-256 instantiations of the `C2SP chunked-encryption specification <https://c2sp.org/chunked-encryption>`_ for streaming authenticated encryption of large messages. * Parsing a Signed Certificate Timestamp list now rejects encodings that carry trailing bytes after the list or after an individual SCT, instead of silently ignoring them. * Added support for using :class:`~cryptography.x509.Name` as a field type in the :doc:`/hazmat/asn1/index` module. * Loading a public key or an EC private key now rejects DER where the </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pyca/cryptography/commit/4dda5c7fe4ae71b8925f2551910a0ef959df9c7a"><code>4dda5c7</code></a> [50.0.x] Bump for 50.0.2 release + changelog (<a href="https://redirect.github.com/pyca/cryptography/issues/15733">#15733</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/70c881cd7ea97d38df09f57c1117470cd1a5a2f7"><code>70c881c</code></a> [50.0.x] Bump pyo3 to 0.29.2 (<a href="https://redirect.github.com/pyca/cryptography/issues/15731">#15731</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/a8c45c449b8d29908a14561afd45fee8bf27d044"><code>a8c45c4</code></a> [50.0.x] Build abi3.abi3t wheels for CPython 3.15+ (<a href="https://redirect.github.com/pyca/cryptography/issues/15496">#15496</a>) (<a href="https://redirect.github.com/pyca/cryptography/issues/15732">#15732</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/ffde75a2b594822c740a2e4748b56c00548302bf"><code>ffde75a</code></a> bump for 50.0.1 + changelog (<a href="https://redirect.github.com/pyca/cryptography/issues/15520">#15520</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/dcb7050b807b00392fa9fe2eac7cb362fcf355cc"><code>dcb7050</code></a> Prepare for 50.0.0 release (<a href="https://redirect.github.com/pyca/cryptography/issues/15372">#15372</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f"><code>53fccd9</code></a> Don't leak how PKCS#7 encryptedKey decryption failed (<a href="https://redirect.github.com/pyca/cryptography/issues/15369">#15369</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/d472f978470fbefa521b86d98b2ecccbbb4d1dd8"><code>d472f97</code></a> Add <code>from __future__ import annotations</code> to all src/ Python files (<a href="https://redirect.github.com/pyca/cryptography/issues/15371">#15371</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/908773d53829fb1466c6db364b31321c3cd8eb9a"><code>908773d</code></a> Bump downstream dependencies in CI (<a href="https://redirect.github.com/pyca/cryptography/issues/15368">#15368</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/2cc07cc948948211899bcb0cddd1fddf86e95812"><code>2cc07cc</code></a> Bump BoringSSL, OpenSSL, AWS-LC in CI (<a href="https://redirect.github.com/pyca/cryptography/issues/15367">#15367</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/c94ede9f040fa44942f7139772603419000acf66"><code>c94ede9</code></a> chore(deps): bump ruff from 0.16.0 to 0.16.1 (<a href="https://redirect.github.com/pyca/cryptography/issues/15366">#15366</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyca/cryptography/compare/41.0.0...50.0.2">compare view</a></li> </ul> </details> <br /> Updates `paho-mqtt` to 2.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eclipse-paho/paho.mqtt.python/releases">paho-mqtt's releases</a>.</em></p> <blockquote> <h2>v2.2.0</h2> <ul> <li>Update supported Python versions (PR <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/916">#916</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/956">#956</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/969">#969</a>) <strong>Drop</strong> support for Python 3.7 and 3.8. <strong>Deprecation notice</strong>: next release is expected to drop Python 3.9 and 3.10.</li> <li><strong>Possible breaking change</strong>: Change some exceptions from <code>ValueError</code> to <code>TypeError</code> (in <code>max_queued_messages_set</code> and Client <code>callback_api_version</code> parameter) (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/972">#972</a>) The breaking change is unlikely however, both exceptions are expected to only be raised with broken code (e.g. need to pass wrong type - not just wrong value).</li> <li>Type annotations fix: <code>bytearray</code> was missing as alternative of some payload (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/918">#918</a>)</li> <li>Add <code>drop_out_messages</code> to discard outgoing message queue. This could be needed if broker lost the session (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/935">#935</a>)</li> <li>Honor MQTTv5 Server Keep Alive from CONNACK Properties (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/905">#905</a>)</li> <li>Fix an keepalive disconnection when receiving large payload (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/914">#914</a>)</li> <li>Fix bug in inflight message tracking & QoS 2 message, which could result in negative counter (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/805">#805</a>)</li> <li>Various reinforcement against corrupted or malformed packets (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/900">#900</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/970">#970</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/955">#955</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/965">#965</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/964">#964</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/860">#860</a>)</li> <li>Expose ReasonCode names as documentation said (PR <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/913">#913</a>)</li> <li>Fix broken <code>reinitialise()</code> (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/824">#824</a>)</li> </ul> </blockquote> </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.2.0 - 2026-11-xx</h1> <ul> <li>Update supported Python versions (PR <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/916">#916</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/956">#956</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/969">#969</a>) <strong>Drop</strong> support for Python 3.7 and 3.8. <strong>Deprecation notice</strong>: next release is expected to drop Python 3.9 and 3.10.</li> <li><strong>Possible breaking change</strong>: Change some exceptions from <code>ValueError</code> to <code>TypeError</code> (in <code>max_queued_messages_set</code> and Client <code>callback_api_version</code> parameter) (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/972">#972</a>) The breaking change is unlikely however, both exceptions are expected to only be raised with broken code (e.g. need to pass wrong type - not just wrong value).</li> <li>Type annotations fix: <code>bytearray</code> was missing as alternative of some payload (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/918">#918</a>)</li> <li>Add <code>drop_out_messages</code> to discard outgoing message queue. This could be needed if broker lost the session (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/935">#935</a>)</li> <li>Honor MQTTv5 Server Keep Alive from CONNACK Properties (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/905">#905</a>)</li> <li>Fix an keepalive disconnection when receiving large payload (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/914">#914</a>)</li> <li>Fix bug in inflight message tracking & QoS 2 message, which could result in negative counter (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/805">#805</a>)</li> <li>Various reinforcement against corrupted or malformed packets (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/900">#900</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/970">#970</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/955">#955</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/965">#965</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/964">#964</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/860">#860</a>)</li> <li>Expose ReasonCode names as documentation said (PR <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/913">#913</a>)</li> <li>Fix broken <code>reinitialise()</code> (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/824">#824</a>)</li> </ul> <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/paho.mqtt.python/issues/831">#831</a>)</li> <li>Fix "protocol" property (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/820">#820</a>)</li> <li>Fix publish() a bytearray payload (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/833">#833</a>)</li> <li>Fix some type annotations (Closes <a href="https://redirect.github.com/eclipse-paho/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/paho.mqtt.python/issues/809">#809</a>)</li> <li>Fix some documentation errors (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/817">#817</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/823">#823</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/832">#832</a>, <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/838">#838</a>)</li> <li>Add support for Unix socket (Closes <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/829">#829</a>)</li> <li>Fix flaky test (Closes <a href="https://redirect.github.com/eclipse-paho/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 <https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html></code>_ for more details on how to upgrade.</p> <ul> <li><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 <https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html></code>_ for details on how to upgrade. tl; dr; add CallbackAPIVersion.VERSION1 to first argument of Client()</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/paho.mqtt.python/issues/493">#493</a>.</li> <li><strong>BREAKING</strong> Remove some deprecated argument and method:</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/7a8dfbd716a87eeb4bf38a3bad24e926369a11fa"><code>7a8dfbd</code></a> Bump version to 2.2.0</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/fdf7e65c9da0ab03cd601fa0f3ca8d4ce72c443f"><code>fdf7e65</code></a> Merge pull request <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/972">#972</a> from eclipse-paho/update-pre-commit</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/8c6b0e8f046e48c71babc0acb6f3cefeda8b08f3"><code>8c6b0e8</code></a> Merge branch 'master' into update-pre-commit</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/887c1c4deddc20ef2af9e3a5345a1f0edc7073ae"><code>887c1c4</code></a> Merge pull request <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/973">#973</a> from eclipse-paho/changelog-for-next-release</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/4ffe681c06c8faa15422ccf00f42e5cc3d4d5280"><code>4ffe681</code></a> Merge pull request <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/971">#971</a> from eclipse-paho/update-pyproject-metadata</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/b1f39736d1b1d1441a769a54990621a829ab3eca"><code>b1f3973</code></a> Merge pull request <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/970">#970</a> from eclipse-paho/reinforce-packet-decoding</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/3d7d0b7534c8ea73f38768d381c73949553c6e42"><code>3d7d0b7</code></a> Merge branch 'master' into update-pre-commit</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/3553f019fe4e20a4d0048d78bedc279539122cbf"><code>3553f01</code></a> feat: prepare changelog for release 2.2.0</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/00019d115f00fb4a693729f8e08ef4656ea757fb"><code>00019d1</code></a> feat: update pre-commit's tools version</li> <li><a href="https://github.com/eclipse-paho/paho.mqtt.python/commit/be95072a0453e4303745f456fe8bd8fffb78e014"><code>be95072</code></a> Merge pull request <a href="https://redirect.github.com/eclipse-paho/paho.mqtt.python/issues/958">#958</a> from pswsm/docs/ai-policy</li> <li>Additional commits viewable in <a href="https://github.com/eclipse-paho/paho.mqtt.python/compare/v2.0.0...v2.2.0">compare view</a></li> </ul> </details> <br /> Updates `platformio` to 6.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/platformio/platformio/releases">platformio's releases</a>.</em></p> <blockquote> <h2>6.2.0</h2> <ul> <li>Dropped support for Python 3.6, 3.7 and 3.8, requiring Python 3.9 or newer to run PlatformIO Core ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5414">#5414</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5414">platformio/platformio-core#5414</a>))</li> <li>Removed support for static code analysis via PVS-Studio following its deprecation by the vendor ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5360">#5360</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5360">platformio/platformio-core#5360</a>))</li> <li>Added a new <code>-p, --port</code> option to the <a href="https://docs.platformio.org/en/latest/core/userguide/cmd_run.html#cmdoption-pio-run-p">pio run</a> command, allowing users to set both <code>upload_port</code> and <code>monitor_port</code> simultaneously for a more streamlined workflow ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5429">#5429</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5429">platformio/platformio-core#5429</a>))</li> <li>Added an option to <a href="https://docs.platformio.org/en/latest/core/userguide/cmd_settings.html#disable_udev_rules_check">disable the 99-platformio-udev.rules</a> check, providing greater flexibility in environments where system-level udev configuration is not required ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5204">#5204</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5204">platformio/platformio-core#5204</a>))</li> <li>Introduced the <a href="https://docs.platformio.org/en/latest/envvars.html#envvar-PLATFORMIO_DISABLE_UPGRADE_CHECK">PLATFORMIO_DISABLE_UPGRADE_CHECK</a> environment variable, allowing users to disable upgrade availability checks when needed ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5428">#5428</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5428">platformio/platformio-core#5428</a>))</li> <li>Upgraded the build engine to the latest version of SCons (4.11.1) to improve build performance, reliability, and compatibility with other tools and systems (<a href="https://github.com/SCons/scons/releases/tag/4.11.1">release notes</a>)</li> <li>Increased the maximum length of dependency version specifications to support long package URLs in project manifests ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5459">#5459</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5459">platformio/platformio-core#5459</a>))</li> <li>Handled Windows path length limitations during package extraction by raising a descriptive error with instructions to <a href="https://docs.platformio.org/en/latest/faq/troubleshooting.html#package-manager">enable long paths</a> when a "FileNotFoundError" occurs ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5500">#5500</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5500">platformio/platformio-core#5500</a>))</li> <li>Omitted skipped environments and test suites from the <a href="https://docs.platformio.org/en/latest/advanced/unit-testing/index.html">Unit Testing</a> summary output when filtering with <code>-e</code> or <code>-f</code> options ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5402">#5402</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5402">platformio/platformio-core#5402</a>))</li> <li>Fixed an issue that could cause an infinite retry loop when a cached package mirror redirect repeatedly failed ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5435">#5435</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5435">platformio/platformio-core#5435</a>))</li> <li>Fixed an issue where the library integrity metadata was not invalidated after correcting invalid version requirements ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5232">#5232</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5232">platformio/platformio-core#5232</a>))</li> <li>Fixed an issue where <a href="https://docs.platformio.org/en/latest/advanced/unit-testing/index.html">Unit Testing</a> failed on Windows due to improper handling of <code>Serial.end()</code> ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5359">#5359</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5359">platformio/platformio-core#5359</a>))</li> <li>Fixed an issue with floating-point precision in duration formatting that caused incorrect millisecond reporting ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5424">#5424</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5424">platformio/platformio-core#5424</a>))</li> <li>Fixed an issue where the test suite status was incorrectly hardcoded as PASSED ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5183">#5183</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5183">platformio/platformio-core#5183</a>))</li> <li>Fixed an issue where using a relative path with the <code>-d, --project-dir</code> option caused <a href="https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html">pio device monitor</a> to fail with a "FileNotFoundError" ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5470">#5470</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5470">platformio/platformio-core#5470</a>))</li> <li>Fixed compatibility with <code>pipx</code>- and <code>uvx</code>-managed environments by ensuring the required <code>pip</code> dependency is available when installing Python-based tool packages ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5305">#5305</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5305">platformio/platformio-core#5305</a>))</li> <li>Fixed an issue where debug flags with level specifications (such as <code>-g2</code>) were passed to the standalone assembler, causing fatal compilation errors on <code>.s</code> files ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5005">#5005</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5005">platformio/platformio-core#5005</a>))</li> <li>Fixed a security vulnerability where ZIP archives containing relative path traversal entries (e.g., <code>../</code>) could alter permissions or timestamps of files outside the destination directory ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5499">#5499</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5499">platformio/platformio-core#5499</a>))</li> <li>Fixed an unhandled <code>termios</code> exception when running <a href="https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html">pio device monitor</a> with redirected or non-TTY <code>stdin</code>, replacing the traceback with a clear user error ([pull <a href="https://redirect.github.com/platformio/platformio/issues/5503">#5503</a>](<a href="https://redirect.github.com/platformio/platformio-core/pull/5503">platformio/platformio-core#5503</a>))</li> <li>Fixed an issue with improper static analysis report if project is analyzed in verbose mode ([issue <a href="https://redirect.github.com/platformio/platformio/issues/4943">#4943</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/4943">platformio/platformio-core#4943</a>))</li> <li>Fixed an issue where the test framework library was unintentionally removed from the project dependencies when building a project outside of testing mode ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5388">#5388</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5388">platformio/platformio-core#5388</a>))</li> <li>Fixed an issue where relative header paths provided via <code>-include</code> build flags were not resolved to absolute paths in <code>c_cpp_properties.json</code>, causing IntelliSense errors ([issue <a href="https://redirect.github.com/platformio/platformio/issues/5449">#5449</a>](<a href="https://redirect.github.com/platformio/platformio-core/issues/5449">platformio/platformio-core#5449</a>))</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/platformio/platformio-core/blob/develop/HISTORY.rst">platformio's changelog</a>.</em></p> <blockquote> <p>6.2.0 (2026-09-05)</p> <pre><code> * Dropped support for Python 3.6, 3.7 and 3.8, requiring Python 3.9 or newer to run PlatformIO Core (`issue [#5414](platformio/platformio-core#5414) <https://github.com/platformio/platformio-core/issues/5414>`_) * Removed support for static code analysis via PVS-Studio following its deprecation by the vendor (`pull [#5360](platformio/platformio-core#5360) <https://github.com/platformio/platformio-core/pull/5360>`_) * Added a new ``-p, --port`` option to the `pio run <https://docs.platformio.org/en/latest/core/userguide/cmd_run.html#cmdoption-pio-run-p>`__ command, allowing users to set both ``upload_port`` and ``monitor_port`` simultaneously for a more streamlined workflow (`pull [#5429](platformio/platformio-core#5429) <https://github.com/platformio/platformio-core/pull/5429>`_) * Added an option to `disable the 99-platformio-udev.rules <https://docs.platformio.org/en/latest/core/userguide/cmd_settings.html#disable_udev_rules_check>`__ check, providing greater flexibility in environments where system-level udev configuration is not required (`pull [#5204](platformio/platformio-core#5204) <https://github.com/platformio/platformio-core/pull/5204>`_) * Introduced the `PLATFORMIO_DISABLE_UPGRADE_CHECK <https://docs.platformio.org/en/latest/envvars.html#envvar-PLATFORMIO_DISABLE_UPGRADE_CHECK>`__ environment variable, allowing users to disable upgrade availability checks when needed (`pull [#5428](platformio/platformio-core#5428) <https://github.com/platformio/platformio-core/pull/5428>`_) * Upgraded the build engine to the latest version of SCons (4.11.1) to improve build performance, reliability, and compatibility with other tools and systems (`release notes <https://github.com/SCons/scons/releases/tag/4.11.1>`__) * Increased the maximum length of dependency version specifications to support long package URLs in project manifests (`issue [#5459](platformio/platformio-core#5459) <https://github.com/platformio/platformio-core/issues/5459>`_) * Handled Windows path length limitations during package extraction by raising a descriptive error with instructions to `enable long paths <https://docs.platformio.org/en/latest/faq/troubleshooting.html#package-manager>`__ when a "FileNotFoundError" occurs (`issue [#5500](platformio/platformio-core#5500) <https://github.com/platformio/platformio-core/issues/5500>`_) * Omitted skipped environments and test suites from the |UNITTESTING| summary output when filtering with ``-e`` or ``-f`` options (`issue [#5402](platformio/platformio-core#5402) <https://github.com/platformio/platformio-core/issues/5402>`_) * Fixed an issue that could cause an infinite retry loop when a cached package mirror redirect repeatedly failed (`pull [#5435](platformio/platformio-core#5435) <https://github.com/platformio/platformio-core/pull/5435>`_) * Fixed an issue where the library integrity metadata was not invalidated after correcting invalid version requirements (`issue [#5232](platformio/platformio-core#5232) <https://github.com/platformio/platformio-core/issues/5232>`_) * Fixed an issue where |UNITTESTING| failed on Windows due to improper handling of ``Serial.end()`` (`issue [#5359](platformio/platformio-core#5359) <https://github.com/platformio/platformio-core/issues/5359>`_) * Fixed an issue with floating-point precision in duration formatting that caused incorrect millisecond reporting (`issue [#5424](platformio/platformio-core#5424) <https://github.com/platformio/platformio-core/issues/5424>`_) * Fixed an issue where the test suite status was incorrectly hardcoded as PASSED (`issue [#5183](platformio/platformio-core#5183) <https://github.com/platformio/platformio-core/issues/5183>`_) * Fixed an issue where using a relative path with the ``-d, --project-dir`` option caused `pio device monitor <https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html>`__ to fail with a "FileNotFoundError" (`pull [#5470](platformio/platformio-core#5470) <https://github.com/platformio/platformio-core/pull/5470>`_) * Fixed compatibility with ``pipx``- and ``uvx``-managed environments by ensuring the required ``pip`` dependency is available when installing Python-based tool packages (`issue [#5305](platformio/platformio-core#5305) <https://github.com/platformio/platformio-core/issues/5305>`_) * Fixed an issue where debug flags with level specifications (such as ``-g2``) were passed to the standalone assembler, causing fatal compilation errors on ``.s`` files (`issue [#5005](platformio/platformio-core#5005) <https://github.com/platformio/platformio-core/issues/5005>`_) * Fixed a security vulnerability where ZIP archives containing relative path traversal entries (e.g., ``../``) could alter permissions or timestamps of files outside the destination directory (`pull [#5499](platformio/platformio-core#5499) <https://github.com/platformio/platformio-core/pull/5499>`_) * Fixed an unhandled ``termios`` exception when running `pio device monitor <https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html>`__ with redirected or non-TTY ``stdin``, replacing the traceback with a clear user error (`pull [#5503](platformio/platformio-core#5503) <https://github.com/platformio/platformio-core/pull/5503>`_) * Fixed an issue with improper static analysis report if project is analyzed in verbose mode (`issue [#4943](platformio/platformio-core#4943) <https://github.com/platformio/platformio-core/issues/4943>`_) * Fixed an issue where the test framework library was unintentionally removed from the project dependencies when building a project outside of testing mode (`issue [#5388](platformio/platformio-core#5388) <https://github.com/platformio/platformio-core/issues/5388>`_) * Fixed an issue where relative header paths provided via ``-include`` build flags were not resolved to absolute paths in ``c_cpp_properties.json``, causing IntelliSense errors (`issue [#5449](platformio/platformio-core#5449) <https://github.com/platformio/platformio-core/issues/5449>`_) <p>6.1.19 (2026-02-04) </code></pre></p> <ul> <li>Added support for Python 3.14</li> <li>Upgraded the <code>Doctest <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/doctest.html></code>__ testing framework to version 2.4.12, the <code>GoogleTest <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/doctest.html></code>__ to version 1.17.0, and the <code>Unity <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/unity.html></code>__ to version 2.6.1, incorporating the latest features and improvements for enhanced testing capabilities</li> <li>Enhanced compatibility with the CCLS language server, improving integration with editors like <code>Emacs <https://docs.platformio.org/en/latest/integration/ide/emacs.html></code><strong>, <code>Sublime Text <https://docs.platformio.org/en/latest/integration/ide/sublimetext.html></code></strong>, and <code>Vim <https://docs.platformio.org/en/latest/integration/ide/vim.html></code>__ (<code>issue [#5186](platformio/platformio-core#5186) <https://github.com/platformio/platformio-core/issues/5186></code>_)</li> <li>Improved error messages for package installation to make it easier to understand when a package is missing or incompatible (<code>pull [#5336](platformio/platformio-core#5336) <https://github.com/platformio/platformio-core/pull/5336></code>_).</li> <li>Fixed a regression issue where custom build flags were not properly reflected in the <code>compile_commands.json <https://docs.platformio.org/en/latest/integration/compile_commands.html></code>__ file, ensuring accurate compilation database generation</li> <li>Fixed an issue where fully-qualified serial port URLs (e.g., <code>rfc2217://host:port</code>) were incorrectly treated as wildcard patterns (<code>issue [#5225](platformio/platformio-core#5225) <https://github.com/platformio/platformio-core/issues/5225></code>_)</li> <li>Fixed an issue where the toolchain path in static analysis was not handled correctly if it contained spaces (<code>pull [#5351](platformio/platformio-core#5351) <https://github.com/platformio/platformio-core/issues/5351></code>_)</li> <li>Fixed installation failure when the executable path contains spaces for <code>postinstall</code> scripts and handling both list and string command formats (<code>pull [#5366](platformio/platformio-core#5366) <https://github.com/platformio/platformio-core/pull/5366></code>_)</li> <li>Fixed cleanup of the <code>.pio/libdeps</code> folder so that leftover libraries are properly removed when the <code>lib_deps <https://docs.platformio.org/en/latest/projectconf/sections/env/options/library/lib_deps.html></code>__ option is empty (<code>issue [#5110](platformio/platformio-core#5110) <https://github.com/platformio/platformio-core/issues/5110></code>_)</li> </ul> <p>6.1.18 (2025-03-11)</p> <pre><code> * Resolved a regression issue that prevented |PIOHOME| from opening external links (`issue [#5084](platformio/platformio-core#5084) <https://github.com/platformio/platformio-core/issues/5084>`_) <p>6.1.17 (2025-02-13) </code></pre></p> <ul> <li>Introduced the <code>PLATFORMIO_RUN_JOBS <https://docs.platformio.org/en/latest/envvars.html#envvar-PLATFORMIO_RUN_JOBS></code>__ environment variable, allowing manual override of the number of parallel build jobs (<code>issue [#5077](platformio/platformio-core#5077) <https://github.com/platformio/platformio-core/issues/5077></code>_)</li> <li>Added support for <code>tar.xz</code> tarball dependencies (<code>pull [#4974](platformio/platformio-core#4974) <https://github.com/platformio/platformio-core/pull/4974></code>_)</li> <li>Ensured that dependencies of private libraries are no longer unnecessarily re-installed, optimizing dependency management and reducing redundant operations (<code>issue [#4987](platformio/platformio-core#4987) <https://github.com/platformio/platformio-core/issues/4987></code>_)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/platformio/platformio-core/commit/9999a438566310060f78b4ee483e9b06182a208d"><code>9999a43</code></a> Merge branch 'release/v6.2.0'</li> <li><a href="https://github.com/platformio/platformio-core/commit/41be83e0d5e36748efc55dc2f433fb0d44056033"><code>41be83e</code></a> Bump version to 6.2.0</li> <li><a href="https://github.com/platformio/platformio-core/commit/0a0a187eaf6dcd2ac337f4cae7fb0ad5a152e032"><code>0a0a187</code></a> Omitted skipped environments and test suites // Resolve <a href="https://redirect.github.com/platformio/platformio/issues/5402">#5402</a></li> <li><a href="https://github.com/platformio/platformio-core/commit/bf68cff6cea9784edd8916412ed44c19cb5f453c"><code>bf68cff</code></a> Bump version to 6.2.0rc1</li> <li><a href="https://github.com/platformio/platformio-core/commit/6649f5cefe7c78bffdade76d192c0642ba34af39"><code>6649f5c</code></a> Dropped support for Python 3.6, 3.7 and 3.8 // Resolve <a href="https://redirect.github.com/platformio/platformio/issues/5414">#5414</a></li> <li><a href="https://github.com/platformio/platformio-core/commit/9bd69fa4529836b21dea906ed60770563e2841d5"><code>9bd69fa</code></a> Fixed an issue where relative header paths provided via <code>-include</code> build fl...</li> <li><a href="https://github.com/platformio/platformio-core/commit/babc32fc6e1bef6850b7f62dce51caaea19a948b"><code>babc32f</code></a> Mark pioarduino as conflicted extension due to the security issues</li> <li><a href="https://github.com/platformio/platformio-core/commit/c90517bde2fc6e4fef7dea36af3adcf6a9bbcd60"><code>c90517b</code></a> Fixed an issue where the test framework library was unintentionally removed f...</li> <li><a href="https://github.com/platformio/platformio-core/commit/698cf8b5204053bc206f26f1ad3007144c789170"><code>698cf8b</code></a> Apply formatting</li> <li><a href="https://github.com/platformio/platformio-core/commit/b71505b9b25bd85705500ba03dd292dadd3da177"><code>b71505b</code></a> Sync docs</li> <li>Additional commits viewable in <a href="https://github.com/platformio/platformio/compare/v6.1.0...v6.2.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 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes #4419
The error message for UnknownPackageError was confusing users by mentioning system architecture, making them think their system was incompatible when the actual issue was simply that the package wasn't found.
Changes:
Testing: