diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 373f0a2..60a307c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,27 +33,10 @@ jobs: pip install -e . # python -m pip install uv # uv pip install --system -e . - - name: Run pytest test_colors + - name: Run pytest run: | cd ammico - python -m pytest test/test_colors.py -svv --cov=. --cov-report=xml --cov-append - - name: Run pytest test_display - run: | - cd ammico - python -m pytest test/test_display.py -svv --cov=. --cov-report=xml --cov-append - - name: Run pytest test_faces - run: | - cd ammico - python -m pytest test/test_faces.py -svv --cov=. --cov-report=xml --cov-append - - name: Run pytest test_text - run: | - cd ammico - python -m pytest test/test_text.py -m "not gcv" -svv --cov=. --cov-report=xml --cov-append - - name: Run pytest test_utils - run: | - cd ammico - python -m pytest test/test_utils.py -svv --cov=. --cov-report=xml --cov-append - + python -m pytest -svv --cov=. --cov-report=xml - name: Upload coverage if: matrix.os == 'ubuntu-24.04' && matrix.python-version == '3.11' uses: codecov/codecov-action@v3 diff --git a/pyproject.toml b/pyproject.toml index cdbfa00..996e3d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,10 +20,10 @@ classifiers = [ ] dependencies = [ - "dash>=2.11.0", + "dash", "dash-bootstrap-components", "datasets", - "deepface<=0.0.93", + "deepface", "googletrans==4.0.0rc1", "google-cloud-vision", "grpcio", @@ -34,7 +34,7 @@ dependencies = [ "jupyter_dash", "matplotlib", "nbval", - "numpy<=1.23.4", + "numpy", "opencv-python", "pandas", "Pillow", @@ -42,13 +42,13 @@ dependencies = [ "pytest", "pytest-cov", "retina_face", - "huggingface-hub<=0.25.2", + "huggingface-hub", "setuptools", - "spacy<=3.7.5", + "spacy", "tensorflow", "google-cloud-vision", "colorgram.py", - "webcolors>1.13", + "webcolors", "colour-science", "tqdm" ]