From 671fd9e1fb1a2b515de231b19a59fea6ac031c23 2023-03-21 16:38:13 From: Matthias Bussonnier Date: 2023-03-21 16:38:13 Subject: [PATCH] try to install only binaries --- diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index fc1f19e..6629b62 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,7 +28,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install darker==1.5.1 black==22.10.0 + pip install --only-binary ':all:' darker==1.5.1 black==22.10.0 - name: Lint with darker run: | darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . || ( diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62cdea4..43e8d6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,9 +60,9 @@ jobs: run: echo "disable latex for now, issues in mirros" #sudo apt-get -yq -o Acquire::Retries=3 --no-install-suggests --no-install-recommends install texlive dvipng - name: Install and update Python dependencies run: | - python -m pip install --upgrade pip setuptools wheel build - python -m pip install --upgrade -e .[${{ matrix.deps }}] - python -m pip install --upgrade check-manifest pytest-cov pytest-json-report + python -m pip install --only-binary ':all:' --upgrade pip setuptools wheel build + python -m pip install --only-binary ':all:' --no-binary curio --upgrade -e .[${{ matrix.deps }}] + python -m pip install --only-binary ':all:' --upgrade check-manifest pytest-cov pytest-json-report - name: Try building with Python build if: runner.os != 'Windows' # setup.py does not support sdist on Windows run: |