diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index e6206ae..907a238 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -43,7 +43,7 @@ jobs: python -m pip install --upgrade -e file://$PWD#egg=ipython[test] # we must install IPython after ipykernel to get the right versions. python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel - python -m pip install --upgrade 'pytest<7' + python -m pip install --upgrade 'pytest<7' 'pytest_asyncio<0.21' - name: pytest env: COLUMNS: 120 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..b3c170f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,11 +58,18 @@ jobs: - name: Install latex if: runner.os == 'Linux' && matrix.deps == 'test_extra' 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 + - name: Install and update Python dependencies (binary only) + if: ${{ ! contains( matrix.python-version, 'dev' ) }} 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: Install and update Python dependencies (dev?) + if: ${{ contains( matrix.python-version, 'dev' ) }} + run: | + python -m pip install --pre --upgrade pip setuptools wheel build + python -m pip install --pre --no-binary curio --upgrade -e .[${{ matrix.deps }}] + python -m pip install --pre --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: |