diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 607a116..029e2ae 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/docs/changelog.rst b/docs/changelog.rst index 82a2a87..8aba664 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,8 +5,9 @@ Changelog ----------------- * removed hbmqtt compatibility, importing amqtt is now mandatory * removed loop parameter from all functions - * Python 3.10 compatibility + * Python 3.8 to 3.10 compatibility * Fixed a major bug in plugin api, see https://github.com/Yakifo/amqtt/pull/92 + * Fixed a major bug due to CancelledError semantics changed in Python 3.8, see https://github.com/Yakifo/amqtt/pull/134 0.10.0 - 2021-08-04 ------------------- diff --git a/readme.rst b/readme.rst index d3ddd5a..33f1f8a 100644 --- a/readme.rst +++ b/readme.rst @@ -66,13 +66,19 @@ From there the goal is to fix outstanding known issues and clean up the code. +----------+---------------------------+----------------------------+--------------+ | Version | hbmqtt compatibility | Supported Python Versions | PyPi Release | +----------+---------------------------+----------------------------+--------------+ -| 0.10.x | YES - Drop-in Replacement | 3.7 - 3.9 | 0.10.1 | +| 0.10.x | YES - Drop-in Replacement | 3.7* | 0.10.1 | +----------+---------------------------+----------------------------+--------------+ -| 0.11.x | NO - Module renamed | 3.7 - 3.10 | No release | +| 0.11.x | NO - Module renamed | 3.8 - 3.10 | No release | | | and small API differences | | yet | +----------+---------------------------+----------------------------+--------------+ +* Due to a change in Python 3.8 where the semantics of asyncio.CancelledError was changed + to be a subclass of BaseException instead of Exception, old versions of hbmqtt and aMQTT + will break, see https://github.com/Yakifo/amqtt/issues/133. + Therefore only 3.7 is mentioned as supported version for 0.10.x. + + Getting started ---------------