From 3b279abe80144e4a93d2e4d2b6536a49ef7b2e90 Mon Sep 17 00:00:00 2001 From: yanghua Date: Fri, 6 Sep 2024 23:25:52 +0800 Subject: [PATCH 1/2] Infra: Verify fsspec version compatibility --- .github/workflows/unittest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 9ae4ecb..f37737b 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -8,6 +8,7 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12"] + fsspec-version: ["2023.5.0", "2024.9.0"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -19,7 +20,9 @@ jobs: set -x python -m pip install --upgrade pip pip install --user poetry - make install + poetry lock + poetry install --with dev + poetry add fsspec==${{ matrix.fsspec-version }} - name: Prepare Env run: | echo "Preparing environment variables" From 6bbb788e15c5b977eaad5006a58d3e1dfa166c10 Mon Sep 17 00:00:00 2001 From: yanghua Date: Fri, 6 Sep 2024 23:37:50 +0800 Subject: [PATCH 2/2] Display the final applied fsspec version --- .github/workflows/unittest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index f37737b..cfb75da 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -23,6 +23,7 @@ jobs: poetry lock poetry install --with dev poetry add fsspec==${{ matrix.fsspec-version }} + poetry show fsspec - name: Prepare Env run: | echo "Preparing environment variables"