Skip to content

Commit 40a09f7

Browse files
committed
Replace deprecation warning and explicitly require newer ovos-utils so patching of old installations isn't broken
1 parent 33ef6b9 commit 40a09f7

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

neon_utils/signal_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ def init_signal_handlers():
141141
import os
142142
import tempfile
143143
from ovos_utils.file_utils import ensure_directory_exists
144+
log_deprecation("Import patching will be deprecated. Disable in "
145+
"configuration by setting `signal`.`patch_imports` "
146+
"to `False`", "2.0.0")
144147

145148
def get_ipc_directory(domain=None, config=None):
146149
"""Get the directory used for Inter Process Communication

requirements/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ timezonefinder~=5.2
55
nltk~=3.5
66
pyyaml>=5.4,<7.0
77
ovos-lingua-franca~=0.4
8-
ovos-utils~=0.0,>=0.0.35
8+
ovos-utils~=0.8,>=0.8.5
99
geopy~=2.1
1010
ovos-config~=0.1
1111
ovos-workshop~=0.0,>=0.0.15

0 commit comments

Comments
 (0)