From 76fa7795d2a9d76ab9c25e5b434beabb06dc4e8f Mon Sep 17 00:00:00 2001 From: Petr Andriushchenko Date: Mon, 27 Mar 2023 14:25:21 +0200 Subject: [PATCH] fixing dependencies --- .github/workflows/ci.yml | 2 +- pyproject.toml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 116962b..56f24e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - name: Run pytest run: | cd misinformation - python -m pytest -m "not gcv" --cov=. --cov-report=xml + python -m pytest -m "not gcv" -svv --cov=. --cov-report=xml - name: Upload coverage if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9' uses: codecov/codecov-action@v3 diff --git a/pyproject.toml b/pyproject.toml index 440ee43..fb15c17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,12 +24,12 @@ classifiers = [ dependencies = [ "bertopic", "cvlib", - "deepface @ git+https://github.com/iulusoy/deepface.git", + "deepface<=0.0.75", "googletrans==3.1.0a0", "grpcio", "importlib_metadata", "ipython", - "ipywidgets", + "ipywidgets<8.0.5", "ipykernel", "matplotlib", "numpy<=1.23.4", @@ -39,9 +39,10 @@ dependencies = [ "protobuf", "pytest", "pytest-cov", + "pytest-xdist", "requests", - "retina_face @ git+https://github.com/iulusoy/retinaface.git", - "salesforce-lavis @ git+https://github.com/iulusoy/LAVIS.git", + "retina_face", + "salesforce-lavis", "spacy", "spacytextblob", "tensorflow",