From 51361adf52d83e7fe5c2546decb351b50da282d3 Mon Sep 17 00:00:00 2001 From: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:06:39 -0700 Subject: [PATCH] Update dependencies to allow latest OVOS packages (#201) # Description Update OVOS dependencies to allow 0.1+ # Issues Related to https://github.com/NeonGeckoCom/NeonCore/pull/708 # Other Notes --------- Co-authored-by: Daniel McKnight --- .github/workflows/unit_tests.yml | 8 ++++---- requirements/requirements.txt | 6 +++--- tests/unit_tests.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 7e21e5d..b7f5bf7 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -40,15 +40,15 @@ jobs: run: | pytest tests/unit_tests.py --doctest-modules --junitxml=tests/unit-test-results.xml - name: Upload Unit test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: unit-test-results + name: unit-test-results-${{ matrix.python-version }} path: tests/unit-test-results.xml - name: Test API Methods run: | pytest tests/api_method_tests.py --doctest-modules --junitxml=tests/api-method-test-results.xml - name: Upload API Method test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: api-method-test-results + name: api-method-test-results-${{ matrix.python-version }} path: tests/api-method-test-results.xml diff --git a/requirements/requirements.txt b/requirements/requirements.txt index affceff..2ad8517 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -1,11 +1,11 @@ ovos-dinkum-listener==0.0.3a16 -ovos-bus-client~=0.0.3 +ovos-bus-client~=0.0,>=0.0.3 ovos-utils~=0.0,>=0.0.30 -ovos-plugin-manager~=0.0.23 +ovos-plugin-manager~=0.0,>=0.0.23 click~=8.0 click-default-group~=1.2 neon-utils[network,audio]~=1.9 -ovos-config~=0.0.7 +ovos-config~=0.0,>=0.0.7 ovos-vad-plugin-webrtcvad~=0.0.1 ovos-ww-plugin-vosk~=0.1 diff --git a/tests/unit_tests.py b/tests/unit_tests.py index 1fac667..d6b8b32 100644 --- a/tests/unit_tests.py +++ b/tests/unit_tests.py @@ -176,7 +176,7 @@ def test_ovos_plugin_compat(self): "ovos-stt-plugin-server": {"url": "https://0.0.0.0:8080/stt"}} ) self.assertIsInstance(non_streaming, STT) - self.assertEqual(non_streaming.url, "https://0.0.0.0:8080/stt") + self.assertEqual(non_streaming.config['url'], "https://0.0.0.0:8080/stt") class ServiceTests(unittest.TestCase):