Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ecoji for windows support #787

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading