From c73294c4762e9dd9c74a2c75bec10a1e350f0048 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:22:51 +0000 Subject: [PATCH 1/3] fix: restore backwards compat (#306) the previous deprecation warning was never reached when ovos-bus-client was available, so downstream never migrated and there are still imports in the wild --- ovos_utils/messagebus.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ovos_utils/messagebus.py diff --git a/ovos_utils/messagebus.py b/ovos_utils/messagebus.py new file mode 100644 index 0000000..91a199b --- /dev/null +++ b/ovos_utils/messagebus.py @@ -0,0 +1,12 @@ +from ovos_utils.fakebus import dig_for_message, FakeMessage, FakeBus +from ovos_utils.log import log_deprecation + + +log_deprecation("ovos_utils.messagebus has been deprecated since version 0.1.0!! " + "please import from ovos_utils.fakebus or ovos_bus_client directly", "1.0.0") + + +class Message(FakeMessage): + """just for compat, stuff in the wild importing from here even with deprecation warnings...""" + + From 5aab003c565264473da6a26032ccb002c72ae3aa Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 21 Nov 2024 17:23:07 +0000 Subject: [PATCH 2/3] Increment Version to 0.5.2a1 --- ovos_utils/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_utils/version.py b/ovos_utils/version.py index ac04700..d493ef4 100644 --- a/ovos_utils/version.py +++ b/ovos_utils/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 0 VERSION_MINOR = 5 -VERSION_BUILD = 1 -VERSION_ALPHA = 0 +VERSION_BUILD = 2 +VERSION_ALPHA = 1 # END_VERSION_BLOCK From 587464d6712982106a4edc7442716c2a1ac8b85e Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Thu, 21 Nov 2024 17:23:34 +0000 Subject: [PATCH 3/3] Update Changelog --- CHANGELOG.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 406fe8e..fab328f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,12 @@ # Changelog -## [0.5.1a1](https://github.com/OpenVoiceOS/ovos-utils/tree/0.5.1a1) (2024-11-21) +## [0.5.2a1](https://github.com/OpenVoiceOS/ovos-utils/tree/0.5.2a1) (2024-11-21) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/0.5.0...0.5.1a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/0.5.1...0.5.2a1) **Merged pull requests:** -- fix: remove mycroft-bus-client compat [\#304](https://github.com/OpenVoiceOS/ovos-utils/pull/304) ([JarbasAl](https://github.com/JarbasAl)) -- chore: support newer pyee [\#303](https://github.com/OpenVoiceOS/ovos-utils/pull/303) ([mikejgray](https://github.com/mikejgray)) +- fix: restore backwards compat [\#306](https://github.com/OpenVoiceOS/ovos-utils/pull/306) ([JarbasAl](https://github.com/JarbasAl))