Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:semver_versioning #149

Merged
merged 2 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions ovos_config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ def set_config_update_handlers(bus):
Setup websocket handlers to update config on emitted changes.
@param bus: Message bus client instance
"""
from ovos_utils.network_utils import is_connected

# remove any old event listeners
Configuration.deregister_bus()

Expand All @@ -264,9 +262,14 @@ def set_config_update_handlers(bus):

Configuration.set_config_watcher()

# do the initial remote fetch
if is_connected():
Configuration.remote.reload()
try:
# TODO - investigate why this import fails sometimes
from ovos_utils.network_utils import is_connected
if is_connected():
# do the initial remote fetch
Configuration.remote.reload()
except:
pass

@staticmethod
def set_config_watcher(callback: Optional[callable] = None):
Expand Down
2 changes: 1 addition & 1 deletion requirements/extras.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ovos_backend_client < 0.2.0
ovos-backend-client>=0.1.0,<1.0.0
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PyYAML>=5.4.0,<7.0.0
combo_lock~=0.2
python-dateutil~=2.9
ovos-utils >= 0.0.37
ovos-utils>=0.0.37,<1.0.0
rich-click ~=1.6
Loading