This is a bugfix release to restore functionality when used through Jupyter and in Python's optimized mode.
Bug fixes
* enum: Fix visibility of _repr_html_ on Python versions < 3.13.
* numbers: Don't export _code, which is only present with __debug__.
Version 0.4.8
Compatibility
Block-wise requests now send Size1
Error handling
* Errors raised through the udp6 interface now report name and description in
addition to their error number.
* Many errors now have an ``.extra_help()`` method, which is shown in
aiocoap-client to guide the user's debugging.
* Some non-aiocoap errors being raised as a result of network errors were
turned into error.NetworkError.
* All CoAP error response codes now have a corresponding
``ConstructionRenderableError`` and can thus be raised easily from handers.
Platform support
Support for Python versions below 3.10 was dropped.
Inconsistent platform implementations of AI_V4MAPPED and AI_ADDRCONFIG are
now worked around by custom implementations of the lookup process.
Android is now supported.
Python 3.13 is now supported.
Kivy examples were updated to current mainline Kivy.
gbulb support is being phased out in favor of pygobject's upcoming native async support.
Infrastructure
* Build system was modernized and migrated to pyproject.toml.
Tests are now run using tox or ``python3 -m unittest``
* Type annotations are now tested using mypy.
* The ``ExtensibleIntEnum`` type underlying ``ContentFormat`` and
</tr></table>
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 commands and options
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps aiocoap from 0.4.7 to 0.4.9.
Changelog
Sourced from aiocoap's changelog.
... (truncated)
Commits
7343485
Prepare 0.4.9 release9cc5b31
enum: Fix repr_html workarounde89c742
contrib: Port widgets to pygobject's asyncio60b6195
numbers: Don't export "_code"531494f
Bump version to .post0 to indicate developmente1cbbde
Prepare 0.4.8 release65bbac4
Update NEWS file7c7860f
error: Generate exception classes for all error codesfdeba08
socketnumbers: Update status, reference issue8950da3
Add support for mypyDependabot 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 commands and options
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