Skip to content

Commit

Permalink
Merge pull request #150 from OpenVoiceOS/release-0.1.1a1
Browse files Browse the repository at this point in the history
Release 0.1.1a1
  • Loading branch information
JarbasAl authored Sep 10, 2024
2 parents 2dc1eef + 3f0296a commit f7a41ff
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Changelog

## [0.1.0a1](https://github.com/OpenVoiceOS/ovos-config/tree/0.1.0a1) (2024-09-10)
## [0.1.1a1](https://github.com/OpenVoiceOS/ovos-config/tree/0.1.1a1) (2024-09-10)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-config/compare/V0.1.0...0.1.0a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-config/compare/0.1.0...0.1.1a1)

**Merged pull requests:**

- chore:semver\_automations [\#147](https://github.com/OpenVoiceOS/ovos-config/pull/147) ([JarbasAl](https://github.com/JarbasAl))
- chore:semver\_versioning [\#149](https://github.com/OpenVoiceOS/ovos-config/pull/149) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
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
6 changes: 3 additions & 3 deletions ovos_config/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 1
VERSION_BUILD = 0
VERSION_ALPHA = 0
# END_VERSION_BLOCK
VERSION_BUILD = 1
VERSION_ALPHA = 1
# END_VERSION_BLOCK
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

0 comments on commit f7a41ff

Please sign in to comment.