From 89d4696dfa58eed2a45ccbf2af0d3b817bec6cbd Mon Sep 17 00:00:00 2001 From: David Brochart Date: Tue, 25 Jun 2024 10:55:58 +0200 Subject: [PATCH] Install anyio and trio in publish workflow (#126) --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a0f199f..120922d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: - name: Test built wheel - universal2 run: | pip install pycrdt --no-index --find-links dist --force-reinstall - pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" + pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" pytest - name: Upload wheels uses: actions/upload-artifact@v2 @@ -61,7 +61,7 @@ jobs: - name: Test built wheel run: | pip install pycrdt --no-index --find-links dist --force-reinstall - pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" + pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" pytest - name: Upload wheels uses: actions/upload-artifact@v2 @@ -97,7 +97,7 @@ jobs: if: matrix.target == 'x86_64' run: | pip install pycrdt --no-index --find-links dist --force-reinstall - pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" + pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" pytest - name: Upload wheels uses: actions/upload-artifact@v2 @@ -133,7 +133,7 @@ jobs: install: | apt-get update apt-get install -y --no-install-recommends python3 python3-pip - pip3 install -U pip pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" + pip3 install -U pip pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" run: | pip3 install pycrdt --no-index --find-links dist/ --force-reinstall pytest