From e5a60fa8cdf1ea392cb017639915786e199bc80a Mon Sep 17 00:00:00 2001 From: Moritz-Alexander-Kern Date: Fri, 15 Dec 2023 10:33:03 +0100 Subject: [PATCH 1/4] add python 3.12 to CI workflow --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5f1517744..76679cf71 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -57,8 +57,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - # python versions for elephant: [3.8, 3.9, "3.10", 3.11] - python-version: [3.8, 3.9, "3.10", 3.11] + # python versions for elephant: [3.8, 3.9, "3.10", 3.11, 3.12] + python-version: [3.9, "3.10", 3.11, 3.12] # OS [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest] # do not cancel all in-progress jobs if any matrix job fails From 9b421d23a9228807279d66d32ead5b1c1c9a621f Mon Sep 17 00:00:00 2001 From: Moritz-Alexander-Kern Date: Fri, 15 Dec 2023 10:41:51 +0100 Subject: [PATCH 2/4] add python 3.12 to installation guide --- doc/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install.rst b/doc/install.rst index 6a85b2331..e663b0932 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -14,7 +14,7 @@ Below is the explanation of how to proceed with these two steps. Prerequisites ************* -Elephant requires `Python `_ 3.8, 3.9, 3.10 or 3.11. +Elephant requires `Python `_ 3.8, 3.9, 3.10, 3.11 or 3.12. .. tabs:: From 1ece164fca30b62b1613775c82734b17d28088ac Mon Sep 17 00:00:00 2001 From: Moritz-Alexander-Kern Date: Fri, 15 Dec 2023 10:48:07 +0100 Subject: [PATCH 3/4] update cibuildwheel action to get python 3.12 wheels --- .github/workflows/build_wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 2e8926dbf..813d2325d 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -26,7 +26,7 @@ jobs: - name: Install cibuildwheel run: | python -m pip install --upgrade pip - python -m pip install cibuildwheel==2.13.1 + python -m pip install cibuildwheel==2.16.2 - name: Install libomp if: runner.os == 'macOS' From 75e705e839310def7cb6608bf2293967ca8f6e33 Mon Sep 17 00:00:00 2001 From: Moritz-Alexander-Kern Date: Fri, 15 Dec 2023 10:53:54 +0100 Subject: [PATCH 4/4] update setup python and checkout action --- .github/workflows/build_wheels.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 813d2325d..b5dbea1f9 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -18,10 +18,12 @@ jobs: os: [ubuntu-20.04, windows-2019] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Used to host cibuildwheel - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.10' - name: Install cibuildwheel run: |