Skip to content

Commit

Permalink
Update dependency for compatibility (#17)
Browse files Browse the repository at this point in the history
* Update ovos-plugin-manager dependency to support latest version

* Update upload-artifact actions with fix for breaking change

* Update neon-transformers dependency for compat.
Normalize dependency names in `requirements.txt`

---------

Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored Sep 12, 2024
1 parent 592287f commit e72e409
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ jobs:
run: |
pytest tests/lang_detect_tests.py --doctest-modules --junitxml=tests/lang-detect-test-results.xml
- name: Upload language detector test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lang-detect-test-results
name: lang-detect-test-results-${{ matrix.python-version }}
path: tests/lang-detect-test-results.xml
- name: Test Language Translator
run: |
pytest tests/lang_translate_tests.py --doctest-modules --junitxml=tests/lang-translate-test-results.xml
- name: Upload language translator test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lang-translate-test-results
name: lang-translate-test-results-${{ matrix.python-version }}
path: tests/lang-translate-test-results.xml
- name: Test Language Transform
run: |
pytest tests/lang_transform_tests.py --doctest-modules --junitxml=tests/lang-transform-test-results.xml
- name: Upload language transformation test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lang-transform-test-results
name: lang-transform-test-results-${{ matrix.python-version }}
path: tests/lang-transform-test-results.xml
8 changes: 4 additions & 4 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
neon_transformers~=0.1
ovos_plugin_manager~=0.0.17
ovos_utils~=0.0,>=0.0.22
neon_utils~=1.0
neon-transformers~=0.1,>=0.2.1a3
ovos-plugin_manager~=0.0,>=0.0.17
ovos-utils~=0.0,>=0.0.22
neon-utils~=1.0

0 comments on commit e72e409

Please sign in to comment.