diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae2d2c38..63a9a7c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,9 +75,9 @@ jobs: python -m pip install --upgrade pip - name: Install tox run: | - python -m pip install --no-cache-dir tox-gh-actions pip-tools Django djangorestframework django-extensions drf_spectacular + python -m pip install --no-cache-dir tox-gh-actions uv Django djangorestframework django-extensions drf_spectacular - name: Compile requirements - run: pip-compile examples/requirements/flask.in + run: uv pip compile examples/requirements/flask.in --no-strip-extras - name: Install requirements run: pip install --no-cache-dir -r examples/requirements/flask.txt - name: Run test suite @@ -121,9 +121,9 @@ jobs: python -m pip install --upgrade pip - name: Install tox run: | - python -m pip install --no-cache-dir tox-gh-actions pip-tools Django djangorestframework django-extensions drf_spectacular + python -m pip install --no-cache-dir tox-gh-actions uv Django djangorestframework django-extensions drf_spectacular - name: Compile requirements - run: pip-compile examples/requirements/ml.in + run: uv pip compile examples/requirements/ml.in --no-strip-extras - name: Install requirements run: pip install --no-cache-dir -r examples/requirements/ml.txt - name: Run test suite diff --git a/setup.py b/setup.py index 9cd12123..de7ddb44 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ def clean_readme(text: str) -> str: "nlpaug", # data-augmentation "nltk", # data-augmentation "textaugment", # data-augmentation + "textblob>=0.17,<0.18", "tika", # data-augmentation "torch", # data-augmentation "transformers", # data-augmentation