From 1027851cf28667325a99397a8ffde7c18c774dd0 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Wed, 10 Jul 2024 16:45:52 +0200 Subject: [PATCH 1/2] CI: Add test job for Python 3.13 Python 3.13 is now in beta, thus is might be useful to start testing what works and what doesn't. This PR adds a Python 3.13 jobs for the conda and regular Ubuntu pip jobs. --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae829090..cf42e8b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: fail-fast: true matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] # test oldesst and newest libspatialindex versions sidx-version: ['1.8.5', '2.0.0'] exclude: @@ -63,14 +63,15 @@ jobs: strategy: fail-fast: true matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.11' + python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Setup run: | sudo apt install libspatialindex-c6 python3-pip From 53e8f3e4b4c60a8ba147f19d80c7744893404588 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Wed, 10 Jul 2024 16:48:25 +0200 Subject: [PATCH 2/2] CI: Remove Python 3.13 conda job Python 3.13 not yet available on regular conda channels. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf42e8b1..13cd3b10 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: fail-fast: true matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12'] # test oldesst and newest libspatialindex versions sidx-version: ['1.8.5', '2.0.0'] exclude: