Skip to content

Commit

Permalink
Remove mycroft extra dependency and conditionalize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Sep 20, 2024
1 parent 971dd01 commit 0941264
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions neon_core/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ def patch_config(config: dict = None):
local_config.update(config)
local_config.store()
Configuration().reload()
import mycroft.configuration
mycroft.configuration.Configuration().reload()
try:
import mycroft.configuration
mycroft.configuration.Configuration().reload()
except ImportError:
pass
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ovos-core version pinned for compat. with patches in NeonCore
ovos-core[mycroft,lgpl]>=0.0.8a95,<=0.0.8a100
ovos-core[lgpl]>=0.0.8a95,<=0.0.8a100
# padacioso==0.1.3a2

neon-utils[network,audio]~=1.11,>=1.11.1a3
Expand Down

0 comments on commit 0941264

Please sign in to comment.