Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Sep 11, 2024
1 parent 45e0c13 commit 5d84547
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ jobs:
- name: Install tox
run: |
python -m pip install --no-cache-dir tox-gh-actions uv Django djangorestframework django-extensions drf_spectacular
- name: Remove compiled requirements
run: rm examples/requirements/ml.txt
# - name: Remove compiled requirements
# run: rm examples/requirements/ml.txt
- name: Compile requirements
run: uv pip compile examples/requirements/ml.in --no-strip-extras -o examples/requirements/ml.txt
# - name: Install package
Expand Down
1 change: 1 addition & 0 deletions examples/requirements/ml.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tika
# Data augmentation
nlpaug
nltk
scipy<=1.12.0
textaugment
textblob>=0.17,<0.18
torch
Expand Down
21 changes: 6 additions & 15 deletions examples/requirements/ml.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# This file was autogenerated by uv via the following command:
# uv pip compile examples/requirements/ml.in --no-strip-extras -o examples/requirements/ml.txt
# uv pip compile --no-strip-extras examples/requirements/ml.in -o examples/requirements/ml.txt
aiohappyeyeballs==2.4.0
# via aiohttp
aiohttp==3.10.5
# via edge-tts
aiosignal==1.3.1
# via aiohttp
async-timeout==4.0.3
# via aiohttp
asyncssh==2.17.0
# via -r examples/requirements/test.in
attrs==24.2.0
Expand Down Expand Up @@ -79,8 +77,6 @@ edge-tts==6.1.12
# via -r examples/requirements/common.in
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.2.2
# via pytest
factory-boy==3.3.1
# via -r examples/requirements/test.in
faker==28.4.1
Expand Down Expand Up @@ -196,7 +192,7 @@ nltk==3.9.1
# -r examples/requirements/ml.in
# textaugment
# textblob
numpy==2.1.1
numpy==1.26.4
# via
# gensim
# nlpaug
Expand Down Expand Up @@ -385,8 +381,10 @@ s3transfer==0.10.2
# via boto3
safetensors==0.4.5
# via transformers
scipy==1.14.1
# via gensim
scipy==1.12.0
# via
# -r examples/requirements/ml.in
# gensim
setuptools==74.1.2
# via tika
shellingham==1.5.4
Expand Down Expand Up @@ -425,12 +423,6 @@ tinycss2==1.3.0
# weasyprint
tokenizers==0.19.1
# via transformers
tomli==2.0.1
# via
# coverage
# pyproject-api
# pytest
# tox
torch==2.4.1
# via -r examples/requirements/ml.in
tox==4.18.1
Expand All @@ -457,7 +449,6 @@ typing-extensions==4.12.2
# azure-core
# azure-storage-blob
# huggingface-hub
# multidict
# python-docx
# python-pptx
# torch
Expand Down

0 comments on commit 5d84547

Please sign in to comment.