Skip to content

Commit

Permalink
fix: restore backwards compat
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JarbasAl authored Nov 21, 2024
1 parent 61c6165 commit 63701e5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ovos_utils/messagebus.py
Original file line number Diff line number Diff line change
@@ -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..."""


0 comments on commit 63701e5

Please sign in to comment.