Skip to content

Commit

Permalink
update ecoji for windows support
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Martin <[email protected]>
  • Loading branch information
jmartin-tech committed Jul 15, 2024
1 parent 5bc4d86 commit d89aa14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ jobs:
with:
path: garak

- name: Checkout ecoji for modified windows install
uses: actions/checkout@v3
with:
repository: mecforlove/ecoji-py
path: ecoji-py

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -27,11 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd ecoji-py
echo "mitigate" > README.md
pip install setuptools
python setup.py install
cd ../garak
cd garak
pip install -r requirements.txt
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dependencies = [
"markdown>=3.4.3",
"numpy>=1.26.1",
"zalgolib>=0.2.2",
"ecoji>=0.1.0",
"ecoji>=0.1.1",
"deepl==1.17.0",
"fschat>=0.2.36",
"litellm>=1.33.8",
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sentencepiece>=0.1.99
markdown>=3.4.3
numpy>=1.26.1
zalgolib>=0.2.2
ecoji>=0.1.0
ecoji>=0.1.1
deepl==1.17.0
fschat>=0.2.36
litellm>=1.33.8
Expand All @@ -34,4 +34,4 @@ requests-mock==1.12.1
respx>=0.21.1
# lint
black==24.4.2
pylint>=3.1.0
pylint>=3.1.0

0 comments on commit d89aa14

Please sign in to comment.