From 86565d60a54aedf3bb11194c70041c49fe25b08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gustavo=20A=2E=20Amorim?= Date: Sun, 23 Jun 2024 08:43:04 -0300 Subject: [PATCH] chore: pin numpy < 2 and bump workflows --- .github/workflows/build.yml | 6 +++--- .github/workflows/deploy.yml | 2 +- requirements.txt | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d8f043..f5edc8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: matrix: kornia-ref: ['main'] # TODO: coverage check through multiple versions: , 'v0.7.1', 'v0.7.0'] - uses: kornia/workflows/.github/workflows/tutorials.yml@v1.8.1 + uses: kornia/workflows/.github/workflows/tutorials.yml@v1.10.1 with: ref: ${{ matrix.kornia-ref }} @@ -33,10 +33,10 @@ jobs: kornia-ref: ['main'] steps: - - uses: kornia/workflows/.github/actions/env@v1.8.1 + - uses: kornia/workflows/.github/actions/env@v1.10.1 with: ref: ${{ matrix.kornia-ref }} - extra-deps: torchvision==0.17.2+cpu + extra-deps: torchvision==0.18.1+cpu - uses: actions/checkout@v4 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5bcd2cf..cd0212c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: kornia-ref: ['main'] steps: - - uses: kornia/workflows/.github/actions/env@v1.4.1 + - uses: kornia/workflows/.github/actions/env@v1.10.1 with: ref: ${{ matrix.kornia-ref }} diff --git a/requirements.txt b/requirements.txt index 3b9c884..5d82e44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,7 @@ kornia kornia-rs kornia_moons>=0.2.9 matplotlib +numpy<=2.0.0 opencv-python pandas plotly