From f83c49a5001452daf718861d87ec95ef1707a1ed Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 15 Sep 2024 09:12:32 +0100 Subject: [PATCH 1/3] Test on Python 3.13 Add python-rc Try label Try again --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3c4aca34..78808556 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13.0rc2"] # macos-12 is an intel runner, macos-14 is a arm64 runner platform: [ubuntu-latest, windows-latest, macos-12, macos-14] @@ -25,7 +25,7 @@ jobs: - name: Set up Conda uses: conda-incubator/setup-miniconda@v3.0.4 with: - channels: conda-forge + channels: conda-forge, conda-forge/label/python_rc miniforge-version: latest python-version: ${{ matrix.python-version }} From 2296190fcf29701fd0749c150ad7f0fd85a3d440 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 15 Sep 2024 20:53:32 +0100 Subject: [PATCH 2/3] Only install pcodec on <3.13 --- .github/workflows/ci.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 78808556..cfeac508 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -61,7 +61,15 @@ jobs: conda activate env export DISABLE_NUMCODECS_AVX2="" # TODO: put back zfpy import when it supports numpy 2.0 - python -m pip install -v -e .[test,test_extras,msgpack,pcodec] + python -m pip install -v -e .[test,test_extras,msgpack] + + - name: Install pcodec + if: matrix.python-version != '3.13.0rc2' + shell: "bash -l {0}" + run: | + conda activate env + python -m pip install -v pcodec + # This is used to test with zfpy, which does not yet support numpy 2.0 - name: Install older numpy and zfpy From 6ddb41c5701a70678bb3998c08a5747740f7df08 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Wed, 9 Oct 2024 09:44:07 +0100 Subject: [PATCH 3/3] Update Python 3.13.0 to release version Co-authored-by: jakirkham --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cfeac508..0b5ecb5c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12", "3.13.0rc2"] + python-version: ["3.10", "3.11", "3.12", "3.13.0"] # macos-12 is an intel runner, macos-14 is a arm64 runner platform: [ubuntu-latest, windows-latest, macos-12, macos-14] @@ -25,7 +25,7 @@ jobs: - name: Set up Conda uses: conda-incubator/setup-miniconda@v3.0.4 with: - channels: conda-forge, conda-forge/label/python_rc + channels: conda-forge miniforge-version: latest python-version: ${{ matrix.python-version }} @@ -64,7 +64,7 @@ jobs: python -m pip install -v -e .[test,test_extras,msgpack] - name: Install pcodec - if: matrix.python-version != '3.13.0rc2' + if: matrix.python-version != '3.13.0' shell: "bash -l {0}" run: | conda activate env