2
0
Daniel Gatis 9 сар өмнө
parent
commit
bd512b08cb

+ 1 - 1
.github/workflows/lint_python.yml

@@ -9,7 +9,7 @@ jobs:
             - uses: actions/checkout@v4
             - uses: actions/checkout@v4
             - uses: actions/setup-python@v5
             - uses: actions/setup-python@v5
             - name: Install dependencies
             - name: Install dependencies
-              run: pip install .[cli,dev]
+              run: pip install .[cpu,cli,dev]
             - run: mypy --install-types --non-interactive --ignore-missing-imports ./rembg
             - run: mypy --install-types --non-interactive --ignore-missing-imports ./rembg
             - run: bandit --recursive --skip B101,B104,B310,B311,B303,B110 --exclude ./rembg/_version.py ./rembg
             - run: bandit --recursive --skip B101,B104,B310,B311,B303,B110 --exclude ./rembg/_version.py ./rembg
             - run: black --force-exclude rembg/_version.py --check --diff ./rembg
             - run: black --force-exclude rembg/_version.py --check --diff ./rembg

+ 1 - 1
.github/workflows/publish_pypi.yml

@@ -12,7 +12,7 @@ jobs:
             - uses: actions/checkout@v4
             - uses: actions/checkout@v4
             - uses: actions/setup-python@v5
             - uses: actions/setup-python@v5
             - name: Install dependencies
             - name: Install dependencies
-              run: pip install .[cli,dev]
+              run: pip install .[cpu,cli,dev]
             - name: Builds and uploads to PyPI
             - name: Builds and uploads to PyPI
               run: |
               run: |
                   python3 setup.py sdist bdist_wheel
                   python3 setup.py sdist bdist_wheel

+ 1 - 1
.github/workflows/test_install.yml

@@ -16,7 +16,7 @@ jobs:
               with:
               with:
                   python-version: ${{ matrix.python-version }}
                   python-version: ${{ matrix.python-version }}
             - name: Install dependencies
             - name: Install dependencies
-              run: pip install .[cli,dev]
+              run: pip install .[cpu,cli,dev]
             - name: Test installation with pytest
             - name: Test installation with pytest
               run: |
               run: |
                   attempt=0
                   attempt=0